Client network socket disconnected before secure TLS connection

Since July 21st, our deployments in CI through Github Actions have been failing intermittently but frequently on an error running `vercel link`. Prior to that date, we had been running `vercel link` in Github Actions as part of our deployment process for years without issue.

Running command:

vercel link --project=*** --yes --scope=*** --token=***

Results in frequent intermittent errors like this one:

Error: Not able to load user because of unexpected error: request to https://api.vercel.com/v2/user failed, reason: Client network socket disconnected before secure TLS connection was established

It feels like a rate limit. We updated our deployment script to try 5 times with an exponential backoff and still run into the error. Now deployment is blocked intermittently on this step. Just now, I’ve been waiting over an hour for my deploy to our dev environment to succeed, only because of this failing step.

Appears to be the same issue as the open Github issue here: FetchError: Client network socket disconnected before secure TLS connection was established · Issue #13587 · vercel/vercel · GitHub.

Please advise!

Thanks

Hi @diana-1356, welcome to the Vercel Community!

Thanks for posting this issue with the GitHub issue here. Can you confirm the same script works from your local machine? Are you using the latest CLI version? Can you also share the project ID you are trying this for?

Hi,

Thanks for reporting. We are investigating now!

We noticed that GitHub has started using a new range of IP addresses that were being blocked by our Firewall. These new IPs are now whitelisted.

Please try again and let us know if you continue to experience this issue.

Thank you for the quick resolution!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.