-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Renovatebot logs continuously shows 'external-host-error' #12576
Comments
As you can see in the logs, it appears to be because of a 60s timeout on an angular package. Is it the same package timing out every run? |
No, it differs. Some examples:
|
This repo has a very heavy request load when I ran against a fork locally, mainly to maven central:
npmjs is not so bad, but the angular packages are probably "big". Here's the repo's job history, from most recent to oldest: https://gist.github.com/rarkins/93b640c79af31d6243b09e071a76668a In general, it went from |
@zharinov this touches a couple of areas you've worked on before, e.g. it's a 200 OK:
But also timed out |
It's definitely a really big project. I can totally understand if it's too big for a non-commercial version. I mainly wanted to flag it to you in case you were unaware and/or if it causes undesirable side-effects on your end. |
It runs OK for me locally but in production it looks like it's tripping a bug due to too many concurrent large requests, probably in the |
Got doesn't alter any logic (nor it does implement its own) in terms of concurrency. Either it doesn't receive the last chunk or it's a Node.js bug. Please use Wireshark or a similar tool to see if the response is received in full. |
@szmarczak is any of the above logs of use for your question? It looks like the response is missing the start. FYI we're running on Node 14, which I'd hope is pretty stable by now. |
Seems like a flashback from sindresorhus/got#1062 (comment) will investigate this. |
Yeah, it reminds me of that too. Both times it was triggered by repos with multiple concurrent GETs of npm libraries with 10s of MB each. |
I ran locally 100k+ requests to npm and all were successful 🤔 Does it happen only with npm? |
Yes, nothing in the logs outside of NPM |
From the logs, it skipped the first 114688 bytes, saved the next 4726 bytes, and paused before the next 1212171 bytes (total: 1331585). Having in mind no there's no Can you try setting |
@szmarczak Can I do that in the Github hosted app? I can't find that option in the documentation at https://docs.renovatebot.com/configuration-options/ ? |
Yes. I guess this could be an experimental env option, right? |
We've greatly reduced the Maven Central request load but still seeing the npmjs timeouts in this repo, so they seem related. @szmarczak are there any code snippets for converting from decompress=true to decompress=false? e.g. receiving a compressed Buffer. |
Well, you can set the |
And then also call a function like gzip too? |
Correct. I'd try getting uncompressed data though, then when it happens I'm pretty sure that would be a Node.js bug. |
Related: nodejs/node#10358 |
How are you running Renovate?
WhiteSource Renovate hosted app on github.com
If you're self-hosting Renovate, tell us what version of Renovate you run.
No response
Please select which platform you are using if self-hosting.
github.com
If you're self-hosting Renovate, tell us what version of the platform you run.
No response
Describe the bug
Since a couple of weeks, the Renovatebot has stopped generating new PRs with available dependency updates. When checking the Renovate Dashboard, all the displayed logs show as a result 'external-host-error'. I'll paste the logs in the debug logs. The repo can be found at https://github.com/MartijnVisser/flink/
Relevant debug logs
Logs
Have you created a minimal reproduction repository?
I have linked to a minimal reproduction repository in the bug description
The text was updated successfully, but these errors were encountered: