Bug #525
Feature #1022: RCP: X.X, proxy settings in TXM and its components
RCP: 0.7.5, Fix timeout error at start-up when user is using a proxy
Statut: | Closed | Début: | 17/01/2014 | |
---|---|---|---|---|
Priorité: | Normal | Echéance: | ||
Assigné à: | - | % réalisé: | 100% |
|
Catégorie: | Network | Temps passé: | - | |
Version cible: | TXM 0.7.7 |
Description
During TXM startup, the splash screen is frozen for X minutes.
See attached log file for stacktraces.
Solution1: Change the timeout length.¶
The timeout parameter is stored in a HttpParams and read with
PlainSocketFactory.connectSocket :
int timeout = HttpConnectionParams.getConnectionTimeout(params);
Using pref name :
public static final String CONNECTION_TIMEOUT = "http.connection.timeout";
To change the behavior, ones need to modify this global variable
org.apache.http.params.CoreConnectionPNames
Solution 2: set native mode¶
We also need to try to define the default "Network connection" preference to "Native". A link : http://eclipsesource.com/blogs/2012/06/01/eclipse-proxy-and-p2/
Or to it programmaticaly:
/** * Activates the proxy service and sets the network connection active provider as native. */ private void activateProxyService() { Bundle bundle = Platform.getBundle("org.eclipse.ui.ide"); //$NON-NLS-1$ IProxyService proxyService = null; if (bundle != null) { ServiceReference ref = bundle.getBundleContext().getServiceReference(IProxyService.class.getName()); if (ref != null) proxyService = bundle.getBundleContext().getService(ref); } if (proxyService == null) { Log.warning("Proxy service could not be found."); //$NON-NLS-1$ } // Set the network connection active provider as native else { proxyService.setSystemProxiesEnabled(true); proxyService.setProxiesEnabled(true); } }
The native OS proxy detection may be done by adding some native packages linked to org.eclipse.core.net for each target platform (eg. org.eclipse.core.net.win32.x86_64)
Solution 3:¶
- something is trying to use the network before the proxy is set
- like the automatic update: #1036
- something else ?? not found yet
Solution 4¶
Add the following run arguments to the product configuration:
-Dorg.eclipse.ecf.provider.filetransfer.retrieve.connectTimeout=1000 -Dorg.eclipse.ecf.provider.filetransfer.browse.connectTimeout=2000 -Dorg.eclipse.ecf.provider.filetransfer.browse.readTimeout=1000 -Dorg.eclipse.ecf.provider.filetransfer.retrieve.closeTimeout=2000 -Dorg.eclipse.ecf.provider.filetransfer.retrieve.readTimeout=2000 -Dorg.eclipse.ecf.provider.filetransfer.retrieve.retryAttempts=2
Demandes liées
Historique
#1 Mis à jour par Matthieu Decorde il y a plus de 11 ans
- Sujet changé de RCP: 0.7.5, Fix timeout errorat start-up when user is using a proxy à RCP: 0.7.5, Fix timeout error at start-up when user is using a proxy
#2 Mis à jour par Sebastien Jacquot il y a plus de 11 ans
We also need to try to define the default "Network connection" preference to "Native". A link : http://eclipsesource.com/blogs/2012/06/01/eclipse-proxy-and-p2/
#3 Mis à jour par Sebastien Jacquot il y a plus de 11 ans
This method appears to work on my Windows 7 + proxy :
/**
* Activates the proxy service and sets the network connection active provider as native.
*/
private void activateProxyService() {
Bundle bundle = Platform.getBundle("org.eclipse.ui.ide"); //$NON-NLS-1$
IProxyService proxyService = null;
if (bundle != null) {
ServiceReference ref = bundle.getBundleContext().getServiceReference(IProxyService.class.getName());
if (ref != null)
proxyService = bundle.getBundleContext().getService(ref);
}
if (proxyService == null) {
Log.warning("Proxy service could not be found."); //$NON-NLS-1$
}
// Set the network connection active provider as native
else {
proxyService.setSystemProxiesEnabled(true);
proxyService.setProxiesEnabled(true);
}
}
#4 Mis à jour par Matthieu Decorde il y a plus de 11 ans
Test to do : On Linux, set an open proxy service and run TXM
#5 Mis à jour par Sebastien Jacquot il y a plus de 11 ans
For the tests on Linux we should test without proxy too, I don't know if calling these methods keeps the 'direct' provider when necessary, I can't test.
And there's still a problem with this method, as you said Matthieu, the user network connection preferences will be overridden each time TXM start, we may add a test at first TXM run or only call :
proxyService.setSystemProxiesEnabled(true);
proxyService.setProxiesEnabled(true);
if the linked preferences are not defined but at the moment I don't see how to know if the user has changed the preferences or not.
Notes :
- these preferences are saved in the file org.eclipse.core.net.prefs.
- we can get the proxies data with :
IProxyData[] proxyData = proxyService.getProxyData();
#6 Mis à jour par Matthieu Decorde il y a plus de 11 ans
- Version cible changé de TXM 0.7.5 à 5
#7 Mis à jour par Sebastien Jacquot il y a plus de 11 ans
- Version cible changé de 5 à TXM 0.7.5
Here is the stack trace in "Roaming\.txm\.metadata\.log" when launching TXM 0.7.5 final for the first time, in OS connection by proxy environment :
!ENTRY org.eclipse.equinox.p2.transport.ecf 2 0 2014-02-13 15:28:17.121
!MESSAGE Connection to http://txm.textometrie.org/updates/TXM/p2.index failed on Connection to http://txm.textometrie.org refused. Retry attempt 0 started
!STACK 0
org.apache.http.conn.HttpHostConnectException: Connection to http://txm.textometrie.org refused
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:158)
at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:150)
at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:575)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:425)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer.performConnect(HttpClientRetrieveFileTransfer.java:1074)
at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer.openStreams(HttpClientRetrieveFileTransfer.java:621)
at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.java:879)
at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.java:570)
at org.eclipse.ecf.provider.filetransfer.retrieve.MultiProtocolRetrieveAdapter.sendRetrieveRequest(MultiProtocolRetrieveAdapter.java:106)
at org.eclipse.equinox.internal.p2.transport.ecf.FileReader.sendRetrieveRequest(FileReader.java:422)
at org.eclipse.equinox.internal.p2.transport.ecf.FileReader.readInto(FileReader.java:355)
at org.eclipse.equinox.internal.p2.transport.ecf.RepositoryTransport.download(RepositoryTransport.java:101)
at org.eclipse.equinox.internal.p2.transport.ecf.RepositoryTransport.download(RepositoryTransport.java:156)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadIndexFile(AbstractRepositoryManager.java:735)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:657)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92)
at org.txm.rcpapplication.p2.plugins.TXMUpdateHandler.addURL(TXMUpdateHandler.java:196)
at org.txm.rcpapplication.p2.plugins.TXMUpdateHandler.addDefaultUpdateSite(TXMUpdateHandler.java:174)
at org.txm.rcpapplication.p2.plugins.FixUpdateHandler.run(FixUpdateHandler.java:67)
at org.txm.rcpapplication.ApplicationWorkbenchAdvisor.postStartup(ApplicationWorkbenchAdvisor.java:371)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2708)
at org.eclipse.ui.internal.Workbench.access$7(Workbench.java:2591)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:608)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.txm.rcpapplication.Application.run(Application.java:128)
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.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
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.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
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 org.eclipse.ecf.internal.provider.filetransfer.httpclient4.ECFHttpClientProtocolSocketFactory.connectSocket(ECFHttpClientProtocolSocketFactory.java:84)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148)
... 48 more
!ENTRY org.eclipse.equinox.p2.updatechecker 4 0 2014-02-13 15:47:06.527
!MESSAGE Exception in update check thread
!STACK 0
java.lang.NullPointerException
at org.eclipse.equinox.p2.engine.ProvisioningContext.loadMetadataRepository(ProvisioningContext.java:220)
at org.eclipse.equinox.p2.engine.ProvisioningContext.getLoadedMetadataRepositories(ProvisioningContext.java:194)
at org.eclipse.equinox.p2.engine.ProvisioningContext.getMetadata(ProvisioningContext.java:275)
at org.eclipse.equinox.internal.p2.director.SimplePlanner.updatesFor(SimplePlanner.java:784)
at org.eclipse.equinox.internal.p2.updatechecker.UpdateChecker.checkForUpdates(UpdateChecker.java:134)
at org.eclipse.equinox.internal.p2.updatechecker.UpdateChecker$UpdateCheckThread.run(UpdateChecker.java:72)
.
.
.
And the stack trace in TXM console after waiting 7-8 minutes when TXM is launched :
.
.
.
---------------------------------------------------------------------------------------------------------------------------------
No repo - create a newmetadata repo
No repo - create a new artifact repo
Error while adding artifact repo: http://txm.textometrie.org/updates/TXM
org.eclipse.equinox.p2.core.ProvisionException: Unable to connect to repository http://txm.textometrie.org/updates/TXM/artifacts.xml
at org.eclipse.equinox.internal.p2.repository.CacheManager.createCache(CacheManager.java:192)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepositoryFactory.getLocalFile(SimpleArtifactRepositoryFactory.java:65)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepositoryFactory.load(SimpleArtifactRepositoryFactory.java:88)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepositoryFactory.load(SimpleArtifactRepositoryFactory.java:76)
at org.eclipse.equinox.internal.p2.artifact.repository.ArtifactRepositoryManager.factoryLoad(ArtifactRepositoryManager.java:73)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:768)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:668)
at org.eclipse.equinox.internal.p2.artifact.repository.ArtifactRepositoryManager.loadRepository(ArtifactRepositoryManager.java:104)
at org.eclipse.equinox.internal.p2.artifact.repository.ArtifactRepositoryManager.loadRepository(ArtifactRepositoryManager.java:100)
at org.txm.rcpapplication.p2.plugins.TXMUpdateHandler.addURL(TXMUpdateHandler.java:212)
at org.txm.rcpapplication.p2.plugins.TXMUpdateHandler.addDefaultUpdateSite(TXMUpdateHandler.java:174)
at org.txm.rcpapplication.p2.plugins.FixUpdateHandler.run(FixUpdateHandler.java:67)
at org.txm.rcpapplication.ApplicationWorkbenchAdvisor.postStartup(ApplicationWorkbenchAdvisor.java:371)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2708)
at org.eclipse.ui.internal.Workbench.access$7(Workbench.java:2591)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:608)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.txm.rcpapplication.Application.run(Application.java:128)
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.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
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.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
Caused by: org.apache.http.conn.HttpHostConnectException: Connection to http://txm.textometrie.org refused
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:158)
at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:150)
at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:575)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:425)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientFileSystemBrowser.runRequest(HttpClientFileSystemBrowser.java:263)
at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:69)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
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 org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:123)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148)
... 9 more
#8 Mis à jour par Sebastien Jacquot il y a plus de 11 ans
- Version cible changé de TXM 0.7.5 à 5
#9 Mis à jour par Matthieu Decorde il y a plus de 11 ans
FR : notes
Sous TXM depuis un setup je ne peux pas choisir 'Native' comme 'Active Provider', si je mets 'Native', il ne m'affiche pas les réglages de mon proxy system et si je sauvegarde il me repasse directement en 'Direct'.
Sous TXM lancé depuis Eclipse tout fonctionne, je peux choisir 'Native' et il m'affiche bien mes proxies system. Sous Eclipse aussi d'ailleurs, en fait la config d'Eclipse est donc transmise à TXM.
A priori je pense que mon Eclipse doit posséder un bundle supplémentaire permettant de détecter les proxies system au démarrage, il faudrait trouver lequel pour pouvoir l'ajouter à TXM je pense, je vais faire des recherches. Tout ce que j'ai comme infos pour l'instant c'est que la détection de proxy contient du code natif différent pour chaque plateforme.
#10 Mis à jour par Matthieu Decorde il y a plus de 11 ans
- Version cible changé de 5 à TXM 0.7.6
#11 Mis à jour par Sebastien Jacquot il y a plus de 11 ans
The native OS proxy detection may be done by adding some native packages linked to org.eclipse.core.net for each target platform (eg. org.eclipse.core.net.win32.x86_64)
#12 Mis à jour par Matthieu Decorde il y a plus de 11 ans
- % réalisé changé de 0 à 80
Add org.eclipse.core.net.win32.x86 and org.eclipse.core.net.win32.x86_64, solved the problem.
Tested on :
- Windows7 64bit (Besançon)
- WindowsXP? 32bit (Besançon)
- Virtual WindowsXP 32bit (Lyon)
#13 Mis à jour par Sebastien Jacquot il y a environ 11 ans
The fix is not easily available from the 0.7.5 setup because updating to 0.7.6 is only possible by waiting ~10 minutes at the splash screen, by unplugging the network wire or by disabling the Internet connection. We should provide a new setup for 0.7.6.
#14 Mis à jour par Matthieu Decorde il y a environ 11 ans
- Tracker changé de Task à Bug
#15 Mis à jour par Matthieu Decorde il y a environ 11 ans
- Catégorie mis à Démarrage
#16 Mis à jour par Sebastien Jacquot il y a environ 11 ans
- Version cible changé de TXM 0.7.6 à TXM 0.7.7
#17 Mis à jour par Sebastien Jacquot il y a environ 11 ans
TODO:
- test the next setup of 0.7.7 with proxy on Windows, Linux and Mac OS
- install TXM then run it and check in "Parameters\General\Network Connections" that the "Active Provider" is "Native"
- set the release channel to alpha or dev then update to a newer version
NOTE: the difficulty is that a hang on can also occur at start-up, after the GUI is launched, but related to the R check packages bug: #868
#18 Mis à jour par Matthieu Decorde il y a environ 11 ans
- Version cible changé de TXM 0.7.7 à TXM 0.7.6
#19 Mis à jour par Matthieu Decorde il y a environ 11 ans
- Tâche parente mis à #1022
#20 Mis à jour par Matthieu Decorde il y a presque 12 ans
- Fichier proxy_stacktrace.txt ajouté
- Description mis à jour (diff)
#21 Mis à jour par Matthieu Decorde il y a presque 12 ans
- Description mis à jour (diff)
#22 Mis à jour par Matthieu Decorde il y a presque 12 ans
- Description mis à jour (diff)
#23 Mis à jour par Matthieu Decorde il y a presque 12 ans
- Description mis à jour (diff)
#24 Mis à jour par Matthieu Decorde il y a presque 12 ans
- Fichier
proxy_stacktrace.txtsupprimé
#25 Mis à jour par Matthieu Decorde il y a presque 12 ans
- Fichier proxy_stacktrace.txt
ajouté
#26 Mis à jour par Matthieu Decorde il y a presque 11 ans
- Description mis à jour (diff)
#27 Mis à jour par Matthieu Decorde il y a presque 11 ans
- Description mis à jour (diff)
#28 Mis à jour par Sebastien Jacquot il y a presque 11 ans
- Version cible changé de TXM 0.7.6 à TXM 0.7.7
#29 Mis à jour par Matthieu Decorde il y a presque 11 ans
- Description mis à jour (diff)
#30 Mis à jour par Matthieu Decorde il y a presque 11 ans
- Statut changé de New à Feedback
#31 Mis à jour par Sebastien Jacquot il y a presque 11 ans
I'm doing complementary tests. Actually I think the solution 1 and 2 should be implemented. The time out should be reduced in any case. The time out value when doing "Check for update" is at this moment approximatively 5 minutes.
Note: the exception thrown after that is not a time out exception but a connection refused exception. We should aim to raise a time out exception before the connection refused exception. The involved classes are:
org.eclipse.equinox.p2.core.ProvisionException: Unable to connect to repository http://txm.textometrie.org/updates/TXM/artifacts.xml Caused by: org.apache.http.conn.HttpHostConnectException: Connection to http://txm.textometrie.org refused Caused by: java.net.ConnectException: Connection refused
Test #1, add:
-Dorg.eclipse.ecf.provider.filetransfer.retrieve.closeTimeout=30 -Dorg.eclipse.ecf.provider.filetransfer.retrieve.readTimeout=30
to TXM.ini => failed, time out value stays of 5 minutes.
Test #2, add:
org.eclipse.ecf.provider.filetransfer.retrieve.closeTimeout=30 org.eclipse.ecf.provider.filetransfer.retrieve.readTimeout=30
to TXM/configuration/config.ini => failed.
Test #3, add:
http.connection.timeout=1
to TXM/configuration/config.ini => failed.
#32 Mis à jour par Sebastien Jacquot il y a presque 11 ans
At first, could we ensure that there are some cancelable dialog boxes for the update at start and the update at "Check for updates" commands ?
The "Add an extension" dialog box provides a cancel button. The result is that user can cancel during the hang up when no proxies are defined or well defined, can't we do the same thing for the update command ?
#33 Mis à jour par Sebastien Jacquot il y a plus de 10 ans
- Catégorie changé de Démarrage à Network
#34 Mis à jour par Matthieu Decorde il y a plus de 10 ans
- Description mis à jour (diff)
#35 Mis à jour par Matthieu Decorde il y a plus de 10 ans
- Description mis à jour (diff)
#36 Mis à jour par Sebastien Jacquot il y a plus de 10 ans
Notes :
- solutions 2 and 4 are complementary
- please see https://forge.cbp.ens-lyon.fr/redmine/issues/1022#note-27 about the solution 4. Not all the preference values have to be reduced
#37 Mis à jour par Sebastien Jacquot il y a plus de 10 ans
Closed for redundancy, see #1022 for next steps.
Current TXM RCP behaviors are:
- we set the RCP network provider as native on Windows and Linux
- unknown current state on Mac OS X
- we have reduced the connection timeouts
- we now force the JRE-http based transport instead of the ECF httpclient provider
Therefore the solution 2 et 4 has been partially implemented.
#38 Mis à jour par Sebastien Jacquot il y a plus de 10 ans
- Statut changé de Feedback à Closed
- % réalisé changé de 80 à 100