Project

General

Profile

Actions

action #69487

open

Handle temporary javascript cache download errors "Unable to download https://use.fontawesome.com/.*.ttf: Premature connection close"

Added by okurz over 4 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Regressions/Crashes
Target version:
Start date:
2020-07-31
Due date:
% Done:

0%

Estimated time:

Description

Observation

The openQA-in-openQA test failed in https://openqa.opensuse.org/tests/1348694 with details from https://openqa.opensuse.org/tests/1348694/file/openqa_webui-openqa_nohup_out.txt :

[info] Caching "https://cdn.datatables.net/1.10.16/css/dataTables.bootstrap4.css" to "/root/openQA/script/../assets/cache/cdn.datatables.net/1.10.16/css/dataTables.bootstrap4.css".
[info] Caching "https://use.fontawesome.com/releases/v5.0.10/css/all.css" to "/root/openQA/script/../assets/cache/use.fontawesome.com/releases/v5.0.10/css/all.css".
[info] Caching "https://use.fontawesome.com/releases/v5.0.10/webfonts/fa-brands-400.eot" to "/root/openQA/script/../assets/cache/use.fontawesome.com/releases/v5.0.10/webfonts/fa-brands-400.eot".
[info] Caching "https://use.fontawesome.com/releases/v5.0.10/webfonts/fa-brands-400.woff2" to "/root/openQA/script/../assets/cache/use.fontawesome.com/releases/v5.0.10/webfonts/fa-brands-400.woff2".
[warn] [AssetPack] Unable to download https://use.fontawesome.com/releases/v5.0.10/webfonts/fa-brands-400.ttf: Premature connection close
Could not find input asset "https://use.fontawesome.com/releases/v5.0.10/webfonts/fa-brands-400.ttf". at /usr/lib/perl5/vendor_perl/5.30.1/Mojolicious/Plugin/AssetPack.pm line 172.

I assume this is using lib/OpenQA/WebAPI/AssetPipe.pm which also mentions meanwhile fixed issue https://github.com/jhthorsen/mojolicious-plugin-assetpack/issues/94

Acceptance criteria

  • AC1: Retry is attempted on temporary asset download errors when starting the openQA webui service the first time

Suggestions

No data to display

Actions

Also available in: Atom PDF