socket hung up when building for iOS

Hi there
I’ve built for android successfully, but when building for iOS I get socket hung up

$ EXPO_DEBUG=true expo bi
Checking if there is a build in progress...

Warning: Your project may contain unoptimized image assets. Smaller image sizes can improve app performance.
To compress the images in your project, abort publishing and run expo optimize.
Unable to find an existing Expo CLI instance for this directory, starting a new one...
Starting Metro Bundler on port 19001.
Tunnel ready.
Publishing to channel 'default'...
Building iOS bundle
Finished building JavaScript bundle in 6176ms.
Building Android bundle
Analyzing assets
Building JavaScript bundle [==============================================] 100Finished building JavaScript bundle in 5940ms.
Finished building JavaScript bundle in 9721ms.
Finished building JavaScript bundle in 9744ms.
Uploading assets
socket hang up
Error: socket hang up
    at connResetException (internal/errors.js:559:14)
    at TLSSocket.socketOnEnd (_http_client.js:433:23)
    at TLSSocket.emit (events.js:208:15)
    at endReadableNT (_stream_readable.js:1168:12)
    at processTicksAndRejections (internal/process/task_queues.js:77:11)

Any ideas what is causing this?

How much time passes between:

and:

Also, does this happen every time? From the error it looks like the TCP connection was reset, so could be an intermittent problem?

It happened a couple of times and there wasn’t much of a delay.
I’ve tried again today and it’s working fine now; might have been related to the maintenance window yesterday…

1 Like

We are getting similar error on our CI

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