-
Notifications
You must be signed in to change notification settings - Fork 60
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
hs fetch "Error: ESOCKETTIMEDOUT" / UPDATE: [ERROR] A RequestError has occurred. Error: ESOCKETTIMEDOUT #746
Comments
I am still having this issue, current iteration is [ERROR] A RequestError has occurred. Error: ESOCKETTIMEDOUT Detailed debug-output: (portalid+access-token has been replaced with *) /usr/local/bin/hs --debug fetch --overwrite / ./hubspot/ Debugging infoCLI version: 4.1.6 [DEBUG] Loading config from undefined |
I have found a fix for my company: |
@newton730ia you're a genius, that works!! Should send in a pull request. For reference on windows, the requestOptions.js file is under |
Thanks for the workaround @newton730ia! Anyone else landing here and able to update your
|
Description and Context
I am syncing files to and from a private GIT-repository in a script and fetching about 1000 files. Since a few days ago I am getting regular "Error: ESOCKETTIMEDOUT" messages(worked for about 6 months, # of files fluctuates between 300 and 1500 files). 1-10 files get this error. Sometimes retryin 2 minutes later works, sometimes not. Runtime for the sync is 8-20 seconds
hs-cli is updated to 4.0.1 (prev. 3.0.6)
Steps to reproduce
Issued call is:
hs fetch --overwrite / ./hubspot/ --use-env
Expected behavior
hs fetch finisheing successful
Screenshots
Output with -d for debug:
Could this be a server sided rate-limit problem (~100/s)? If so, how can I change used client-rate limit in the call - I was not able to find anything in source regarding hs fetch rate limiting at all.
The text was updated successfully, but these errors were encountered: