function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
scrabscrab 

Problems with Eclipse IDE timeouts

Hi, I've installed Newest Eclipse with the latest realease of Force.com IDE

The problem is i keep getting timeout exception, trying to deploy even sipliest class to the server (as well as in case of refreshing project from the server)

The timeout is set to 600 sec but the connection fail is occurring after 20-30 secs.

Hese is my IDE log dump:

 

 WARN [2011-01-25 22:00:12,909] (ProxyManager.java:init:49) - No proxy bundle found - default proxy service will be initialized
ERROR [2011-01-25 22:01:43,909] (MetadataOperationsRetryAspect.java:metadataOperationsRetry:24) - ForceRemoteException occurred while attempting to perform a metadata operation
 WARN [2011-01-25 22:01:43,957] (BaseRetryAspect.java:isExceptionRetryable:198) - General evaluation deemed exception not retry-able:
 ConnectException: Connection timed out: connect
ERROR [2011-01-25 22:01:43,962] (PackageRetrieveService.java:retrieveWork:1065) - Unable to retrieve components: ConnectException: Connection timed out: connect
ERROR [2011-01-25 22:01:44,288] (RefreshResourceAction.java:fetchRemoteComponents:94) - Unable to refresh resource(s)
java.net.ConnectException: Connection timed out: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(Unknown Source)
    at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.<init>(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(Unknown Source)
    at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:130)
    at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:157)
    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:114)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:180)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2564)
    at org.apache.axis.client.Call.invoke(Call.java:2553)
    at org.apache.axis.client.Call.invoke(Call.java:2248)
    at org.apache.axis.client.Call.invoke(Call.java:2171)
    at org.apache.axis.client.Call.invoke(Call.java:1691)
    at com.sforce.soap._2006._04.metadata.MetadataBindingStub.checkRetrieveStatus(MetadataBindingStub.java:1850)
    at com.salesforce.ide.core.remote.MetadataStubExt.checkRetrieveStatus(MetadataStubExt.java:261)
    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.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.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$$6c4872ef.checkRetrieveStatus(<generated>)
    at com.salesforce.ide.core.services.PackageRetrieveService.getRetrieveResult(PackageRetrieveService.java:948)
    at com.salesforce.ide.core.services.PackageRetrieveService.retrieveWork(PackageRetrieveService.java:1053)
    at com.salesforce.ide.core.services.PackageRetrieveService.retrieveWork(PackageRetrieveService.java:1006)
    at com.salesforce.ide.core.services.PackageRetrieveService.retrievePackage(PackageRetrieveService.java:319)
    at com.salesforce.ide.core.services.PackageRetrieveService.retrievePackage(PackageRetrieveService.java:290)
    at com.salesforce.ide.ui.actions.RefreshResourceActionController.refreshSourceFolder(RefreshResourceActionController.java:210)
    at com.salesforce.ide.ui.actions.RefreshResourceActionController.refreshResources(RefreshResourceActionController.java:137)
    at com.salesforce.ide.ui.actions.RefreshResourceAction$1.execute(RefreshResourceAction.java:67)
    at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
    at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
 WARN [2011-01-25 22:07:54,631] (Utils.java:loadDocument:790) - Unable to load document: C:\Users\krzewinski.DAX\workspace\.metadata\.plugins\org.eclipse.core.resources\.projects\InteliWiseTest1\com.salesforce.ide.core\packageCache.xml (Nie można odnaleźć określonego pliku)
 WARN [2011-01-25 22:19:01,328] (ConnectionFactory.java:clearCache:212) - Clearing the following cached connections
 WARN [2011-01-25 22:19:01,333] (DescribeObjectRegistry.java:clearCache:654) - No cached describes
 WARN [2011-01-25 22:19:01,336] (MetadataFactory.java:clearCache:134) - Clearing the following cached metadata stubs
 WARN [2011-01-25 22:19:32,828] (ProxyManager.java:init:49) - No proxy bundle found - default proxy service will be initialized
 WARN [2011-01-25 22:22:24,546] (BaseRetryAspect.java:isConnectionExceptionRetryable:130) - Connection evaluation deemed exception not retry-able:
 ConnectException: Connection timed out: connect
 WARN [2011-01-25 22:22:24,550] (BaseRetryAspect.java:isOperationsExceptionRetryable:159) - Operataions evaluation deemed exception not retry-able:
 ConnectException: Connection timed out: connect
 WARN [2011-01-25 22:22:24,612] (ApexCodeScanner.java:generateKeywordRule:139) - Unable to get describe object for type project 'InteliWiseTest1'

 

Any help would be preciated

RobertKafarskiRobertKafarski

I have the same issue after upgrading to the Winter'12 version of IDE. I get the 'Unable to refresh resource '...' connect timed out when I try to refresh any of the components.

I use a previously created project using previous version of IDE. Eclipse asked me to upgrade the project after installing Winter '12.

SaketSaket

I am facing the same issue. I am not able to refresh from any sandbox. Also not able to add any metadata components to existing project.

Does anyone have the solution on this ?

PainkillerPainkiller

I have the same issue.

 

OS: winxp sp2

 

eclipse version: Helios Service Release 2

 

java version      :  

java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)

 

can't refresh from server

 

WARN [2011-11-23 14:50:26,968] (Utils.java:loadDocument:823) - Unable to load document: Workspaces\.metadata\.plugins\org.eclipse.core.resources\.projects\MI_PhaseII\com.salesforce.ide.core\packageCache.xml (The system cannot find the file specified)
ERROR [2011-11-23 15:34:44,937] (MetadataOperationsRetryAspect.java:metadataOperationsRetry:24) - ForceRemoteException occurred while attempting to perform a metadata operation
WARN [2011-11-23 15:34:44,953] (BaseRetryAspect.java:isExceptionRetryable:199) - General evaluation deemed exception not retry-able:
UnknownHostException: cs6-api.salesforce.com
ERROR [2011-11-23 15:34:44,953] (PackageRetrieveService.java:retrieveWork:1065) - Unable to retrieve components: UnknownHostException: cs6-api.salesforce.com
ERROR [2011-11-23 15:34:44,968] (RefreshResourceAction.java:fetchRemoteComponents:94) - Unable to refresh resource(s)
java.net.UnknownHostException: cs6-api.salesforce.com

 

 

anyone can give some advice??

 

thanks in advance.

 

fuzzyslippahsfuzzyslippahs

...anyone on this thread ever find a resolution?

 

I am faced with the exact issue as everyone else here and am unable to find any information, save that others are having the same issue :)

If I find out anything, I'll be sure to post it here

 

Good luck everyone!

fuzzyslippahsfuzzyslippahs

Hey All,

 

I'm sure you all know already, but I found out that this is a known issue when using the latest version of the eclipse plugin [23.0.1] from behind a proxy. I was told that a newer version is set to be released in a few days, but that there were no guarantees...

 

Anyway, once that is released and I've had a chance to install and test, I will post the results.

 

*fs

BardziejBardziej

If anybody still needs help...

 

I thik that it would be a problem with the Java engine. I had the similar problems.

Just try to uninstall Java and install newest version.

Be carefull to take the proper (32/64 bit):  32-bit   64-bit

 

Good Luck 

davcondevdavcondev

Reinstalling java fixed it for me. I had the following errors:

 

- "no proxy bundle found"

- and the very weird "System property https.proxyHost is set to proxy.company.com but should be proxy.company.com"