Skip to content

Upload faild socket hang up

I was trying to deploy a site on commons host and received following error.

Also I did not find any information for domain naming conventions, whats available, whats not acceptable etc. It would be helpful to include that info as well. Let me know if you need help in writing content, if you can provide me with data I can come up with merege request for it. :)

Thanks for making this great tool.

Deploying:
   Directory: 	/home/travis/build/openshift-docs-preview-bot/openshift-docs/_preview
   File count:	1,919
   Total size:	320 MB
   Options:	default
   URL:		https://8741.commons.host

[13:27:06] Uploading [started]
[13:27:06] →  1% index.html
[13:27:07] →  1% atomic-registry/rl_day2_feedback/_images/asciibinder_web_logo.svg

...

[13:28:37] → 100% openshift-origin/rl_day2_feedback/using_images/other_images/index.html
[13:28:37] → 🚀
[13:30:38] Uploading [failed]
[13:30:38] → request to https://api.commons.host:8888/v2/sites/8741.commons.host failed, reason: socket hang up
FetchError: request to https://api.commons.host:8888/v2/sites/8741.commons.host failed, reason: socket hang up
    at ClientRequest.<anonymous> (/home/travis/.nvm/versions/node/v8.9.1/lib/node_modules/@commonshost/cli/node_modules/node-fetch/lib/index.js:1393:11)
    at emitOne (events.js:116:13)
    at ClientRequest.emit (events.js:211:7)
    at TLSSocket.socketOnEnd (_http_client.js:423:9)
    at emitNone (events.js:111:20)
    at TLSSocket.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1056:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)