Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24633] Cannot Build apk file due to "Socket hang up"

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionWon't Fix
Resolution Date2019-06-25T22:40:41.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsandroid
ReporterKevin Stentz
AssigneeUnknown
Created2017-04-20T12:39:31.000+0000
Updated2019-06-25T22:40:41.000+0000

Description

When attempting to build production version of an App the process fails while executing "C:\ProgramData\Titanium\mobilesdk\win32\5.5.0.GA\android\titanium_prep.win32.exe" command. An uncaught exception is thrown and "socket hang up" message is displayed. See attached Cintas-APPC-JobLog.txt file for details of the issue.

Attachments

FileDateSize
Cintas-APPC-JobLog.txt2017-04-20T12:36:59.000+0000330423

Comments

  1. Sharif AbuDarda 2017-04-20

    Yes, Usually socket hang up is causing by network problem. Here is some suggestion: Reboot the studio. Change to a better network, or reset your connection. Also, Try the below command in terminal/command prompt appc logout -D appc login If that's doesn't help, uninstall node, and reinstalled Node and CLI. Thanks.
  2. Kevin Stentz 2017-04-21

    I tried the appc logout -D, uninstall node and reinstalled node and CLI. Getting the same issue. I'm going to work with our Network team. Can you provide me with Appcelerator IP addresses that your command utilities would be trying to get to?
  3. Eric Merriman 2017-04-26

    Hello [~stentzk@cintas.com] Here are a couple of things that should help: If you are behind a proxy, you must set the proxy server. In some cases, you must also whitelist URLs. Since you are using only the CLI from what I can tell, you can set the proxy server like so: appc config set proxyServer http://yourProxyServerHere If you need to whitelist, and can't whitelist *.appcelerator.com then you can refer to the list of URLs on http://docs.appcelerator.com/platform/latest/#!/guide/Using_Studio_From_Behind_a_Proxy To find out exactly what is happening, and any calls to URLs that are occurring, you can set the log to trace output with something like appc run -l trace
  4. Alan Hutton 2019-06-25

    Closing as there was no response from reporter. Assuming proxy issues were addressed.

JSON Source