Build fails when requesting to content management api

Hi,

Starting yesterday (December 12th), our builds constantly failed. We could only make 1 successful build out of 10 or 15 attempts. The error messages were either

request to https://site-api.datocms.com/docs/site-api-hyperschema.json failed, reason: Client network socket disconnected before secure TLS connection was established

FetchError:request to https://site-api.datocms.com/docs/site-api-hyperschema.json failed, reason: Client network socket disconnected before secure TLS connection was established

or

request to https://site-api.datocms.com/site?include=item_types%2Citem_types.fields failed, reason: Client network socket disconnected before secure TLS connection was established


FetchError:request to https://site-api.datocms.com/site?include=item_types%2C  item_types.fields failed, reason: Client network socket disconnected before secure TLS connection was established

We tried to revert all code changes since the last stable builds, but new builds still failed with the above error messages. Any idea what could cause it?

Thank you

Hello @wsheng

I wasn’t able to reproduce the issue unfortunately, but this seems like it could be related to a firewall/network issue: Could you attempt the same build using a different network and see if the issue persists?

If it does, can you email us at support@datocms.com with the project link and the exact request that is failing to establish a TLS connection so we can try and take a closer look on our end?

Thank you!

Hi Marcelo,

Thank you again for the help. It was a dependency issue. We fixed it by updating the gatsby-source-datocms, but still not sure why it caused it.

1 Like