firewall - Answers - Salesforce Trailblazer Community
Trailblazer Community
Ask Search:
Karsten OhmeKarsten Ohme 

firewall

Hi,

I use the Force.com IDE behind a firewall. I have massive problems to reach the server. While saving or refeshing in the majority of the cases I get a connection timeout. I'm connected directly now and a network administrator opened the firewall for all HTTPS connection. The strange thing is: Somethimes it does work. Are you using different servers during the save operation?

What settings must be used to get through the firewall?

Thanks,
Karsten 

Here is the IDE log while saving:


!ENTRY com.salesforce.ide.core 4 0 2012-11-28 14:50:06.363
!MESSAGE ERROR [2012-11-28 14:50:06,361] (BuilderController.java:handleException:143) - Unable to perform save on all files.
 
!STACK 0
com.salesforce.ide.core.project.BuilderException: Unable to perform conflict check
at com.salesforce.ide.core.project.BuilderPayload.loadPayload(BuilderPayload.java:201)
at com.salesforce.ide.core.project.BuilderController.build(BuilderController.java:95)
at com.salesforce.ide.core.project.BuilderController.build(BuilderController.java:76)
at com.salesforce.ide.core.project.OnlineBuilder.incrementalBuild(OnlineBuilder.java:79)
at com.salesforce.ide.core.project.OnlineBuilder.build(OnlineBuilder.java:49)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:627)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:253)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:309)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:341)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:140)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:238)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: com.salesforce.ide.core.services.RetrieveException: java.net.ConnectException: Connection timed out: connect
at com.salesforce.ide.core.services.PackageRetrieveService.retrieveWork(PackageRetrieveService.java:1066)
at com.salesforce.ide.core.services.PackageRetrieveService.retrieveSelective(PackageRetrieveService.java:608)
at com.salesforce.ide.core.services.PackageRetrieveService.retrieveSelective(PackageRetrieveService.java:525)
at com.salesforce.ide.core.project.BuilderPayload.filterComponentsInConflict(BuilderPayload.java:247)
at com.salesforce.ide.core.project.BuilderPayload.loadPayload(BuilderPayload.java:198)
... 16 more
Caused by: java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
at com.sforce.ws.transport.JdkHttpTransport.connectRaw(JdkHttpTransport.java:135)
at com.sforce.ws.transport.JdkHttpTransport.connectLocal(JdkHttpTransport.java:99)
at com.sforce.ws.transport.JdkHttpTransport.connectLocal(JdkHttpTransport.java:94)
at com.sforce.ws.transport.JdkHttpTransport.connect(JdkHttpTransport.java:90)
at com.sforce.ws.transport.SoapConnection.send(SoapConnection.java:94)
at com.sforce.soap.metadata.MetadataConnection.retrieve(MetadataConnection.java:152)
at com.salesforce.ide.core.remote.MetadataStubExt.retrieve(MetadataStubExt.java:236)
at com.salesforce.ide.core.remote.MetadataStubExt$$FastClassByCGLIB$$9404e285.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:160)
at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:77)
at com.salesforce.ide.core.internal.aspects.MetadataOperationsRetryAspect.metadataOperationsRetry(MetadataOperationsRetryAspect.java:22)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:627)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:616)
at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:64)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
at com.salesforce.ide.core.remote.MetadataStubExt$$EnhancerByCGLIB$$25ab44e7.retrieve(<generated>)
at com.salesforce.ide.core.services.PackageRetrieveService.retrieveWork(PackageRetrieveService.java:1049)
... 20 more
 
Amber BoazAmber Boaz
I suggest posting this in the developer forums. You'll probably get more traction there: http://boards.developerforce.com/sforce/?category.id=developers
Best of luck!