-
-
Notifications
You must be signed in to change notification settings - Fork 392
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
Weird issue since v4 #301
Comments
Hi David, Apologies but I don't think i can help with networking level issues. There's nothing in the lib that would call localhost, unless being told to by configured/discovered (hint) endpoints. |
Hi again, I'm currently tracking down the problem to the got library that you're using. In v4 you bumped it to v11 and got v10 indeed caused similar troubles to people, with unexpected requests to localhost... See https://github.com/sindresorhus/got/issues?q=127.0.0.1 Apparently this is caused by a messy dependency in my tree that is patching a core node.js function, which still wouldn't explain the randomness of the issue.. I'll keep you, and other users of the library posted. David |
Gotcha
See TooTallNate/node-agent-base#35 and puppeteer/puppeteer#5230 for some context. Hope this helps someone in the future ! |
Hi @panva
I have a strange issue since v4. I can't guarantee 100% that it started with v4 but timings match.
We have random errors happening and looking at the stackstrace I can't even narrow where the problem comes from... Random like in:
Stacktrace
I understand what the error is about. Some code is doing a request on https://localhost, gets our certificate back during TLS handshake (*.storcloud.org) and fails validating it because the cert isn't valid for localhost.
I don't understand how it can happen, though... No code is targeting localhost on our side, not even redirect uris or the likes...
Any chance you can help us understand what happens by looking at the stacktrace? If not, anything else I can provide to help you troubleshoot the issue?
For now I'll revert the library to the latest v3 and monitor our production instances. I'll let you know if the issue disappears.
Thanks in advance,
Regards,
David
The text was updated successfully, but these errors were encountered: