Titanium JIRA Archive
Appcelerator Community (AC)

[AC-3311] Cannot Launch Studio behind a proxy

GitHub Issuen/a
TypeStory
Priorityn/a
StatusClosed
ResolutionNot Our Bug
Resolution Date2014-08-14T07:56:05.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsStudio
Labelsstudio
ReporterBrian Crouthamel
AssigneeMauro Parra-Miranda
Created2014-07-25T18:17:31.000+0000
Updated2016-03-08T07:57:44.000+0000

Description

We have been unable to login to studio from behind our corporate proxy. We can login when not behind the proxy. We are setting up the proxy correctly in the dialog window. What else can I try to either get past this, or find out that I've got something not configured correctly, or maybe we can go back to the security team with something they can do. The message I get back in the terminal when launching Titanium from the command line is this: 2014-07-24 14:41:29.850 TitaniumStudio[6072:362b] Unable to load realm info from SCDynamicStore java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authentication Required" at sun.net.www.protocol.http.HttpURLConnection.doTunneling(HttpURLConnection.java:1674) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:164) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1031) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:230) at com.appcelerator.titanium.core.user.TitaniumUserManager.signIn(TitaniumUserManager.java:160) at com.appcelerator.titanium.rcp.handlers.TitaniumSplashHandler$16.run(TitaniumSplashHandler.java:994)

Comments

  1. Mauro Parra-Miranda 2014-08-04

    Hello! Can you please get this code and check if the ports are open? YOu will get an output with the information of what is failing. https://github.com/appcelerator/titanium-connection-test Best Regards!
  2. Brian Crouthamel 2014-08-11

    Hello, It appears that all the attempted connections failed. The raw HTTP module failed. Error: connect ECONNREFUSED The tunnel module failed. Error: tunneling socket could not be established, cause=connect ECONNREFUSED The request module failed. Error: tunneling socket could not be established, cause=connect ECONNREFUSED
  3. Mauro Parra-Miranda 2014-08-14

    Hello Brian, you will need to contact your IT department and request them to modify your proxy to be able to communicate with some servers/ports. You can get the whitelist of services that you need from: http://docs.appcelerator.com/titanium/3.0/#!/guide/Using_Studio_From_Behind_a_Proxy Once they notify you about the add of those, please test again with the titaniun connection test. This issue has more to do with your network configuration than with the product. Best Regards!

JSON Source