Retry if some request fails for ui5.framework
shahzeb79 opened this issue · 1 comments
Hey colleagues, we have seen quite frequently now that while running karma, we get error:
[ui5.framework]: Failed to proxy /resources/sap/ui/qunit/qunit-redirect.js (ECONNRESET: Client network socket disconnected before secure TLS connection was established)
And than tests fails because of timeout.
Can we have logic in karma-ui5 to retry itself if due to some temporary issue CDN don't respond?
Usually this error is gone if you run again after 1 min.
Thanks
Shahzeb
As discussed via chat: this is most likely an infrastructure problem with runners in Azure.
Sure we could implement a retry mechanism to mitigate this in karma-ui5. But that won't solve the actual root cause of a seemingly broken network stack in your Azure setup. This issue could pop up again anytime and with any other component that does web requests.
I would like to ask you to escalate this to Azure support first.