-
Notifications
You must be signed in to change notification settings - Fork 186
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
ERR_INTERNAL_ASSERTION / hop sdk fetchConfigFromS3 error: Error: fetchJsonOrThrow #538
Comments
Hey @mindrunner what node version are you using? You can try running node with this option as suggested in this node issue: NODE_OPTIONS="--no-network-family-autoselection" or try upgrading to the latest version of node Seems like The internal error seems to be thrown by the native node |
I suspected a Node 20 issue as well, since we just recently made the upgrade. Will test the suggested fixes next week and report back! Thanks @miguelmota!! |
Btw, not directly related, but it would be nice to let the user chose the web requests library, similar to here: paraswap/paraswap-sdk#161 I prefer to not use fetch for multiple reasons and would like to use our own http client implementation. |
@mindrunner good suggestion! Definitely doable |
Cool, looking forward to that! :) Btw, we are on node |
@mindrunner thanks for reporting back on the node version. Curious, did the node option flag work? |
Not under heavy load currently, but also did not see one crash so far. I consider it solved for now :) Thanks for helping |
I see our backend process crashing wiht the following error message. This does not happen when
hop
integration is disabled.I suspect a bug in
hop
SDK. Happy to assist figuring out what's going on.Could not reproduce locally, only happens in high-load situations.
The text was updated successfully, but these errors were encountered: