directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Seelmann (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (DIRSTUDIO-499) SOCKS proxy settings not used on startup
Date Thu, 08 Oct 2009 08:03:31 GMT

     [ https://issues.apache.org/jira/browse/DIRSTUDIO-499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Stefan Seelmann resolved DIRSTUDIO-499.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.0
         Assignee: Stefan Seelmann

Fixed in trunk:
  http://svn.apache.org/viewvc?rev=823086&view=rev

The 'proxy service' is now activated on Studio startup, which enables the proxy settings.


> SOCKS proxy settings not used on startup
> ----------------------------------------
>
>                 Key: DIRSTUDIO-499
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-499
>             Project: Directory Studio
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>         Environment: rhel 5.3
> ApacheDirectoryStudio-linux-x86-1.4.0.v20090407
> Java(TM) SE Runtime Environment (build 1.6.0_12-b04)
>            Reporter: Jens Jensen
>            Assignee: Stefan Seelmann
>            Priority: Minor
>             Fix For: 1.5.0
>
>
> Background: LDAP servers that I am connecting to must be access through SOCKS proxy.
> Issue: Proxy settings are retained but not used after restarting DIRSTUDIO.
> Workaround: open Preferences, General, Network Connections, click OK. Able to connect
to LDAP server via SOCKS proxy.
> Reproduce: 
> - open Preferences, General, Network Connections.
> - check "manual proxy configuration", enter proxy server info in "SOCKS proxy", click
Apply, click OK
> - test that connections will now work thru proxy server
> - close, then reopen DIRSTUDIO
> - check that connections will timeout (not going thru proxy)
> - open Preferences, General, Network Connections, click OK
> - check that connections to LDAP servers will now work thru socks proxy
> Timeout error (may not be of any use):
> java.net.ConnectException: Connection timed out
>         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.directory.studio.connection.core.io.jndi.DummySSLSocketFactory.createSocket(DummySSLSocketFactory.java:152)
>         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 com.sun.jndi.ldap.Connection.createSocket(Unknown Source)
>         at com.sun.jndi.ldap.Connection.<init>(Unknown Source)
>         at com.sun.jndi.ldap.LdapClient.<init>(Unknown Source)
>         at com.sun.jndi.ldap.LdapClient.getInstance(Unknown Source)
>         at com.sun.jndi.ldap.LdapCtx.connect(Unknown Source)
>         at com.sun.jndi.ldap.LdapCtx.<init>(Unknown Source)
>         at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(Unknown Source)
>         at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(Unknown Source)
>         at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(Unknown Source)
>         at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(Unknown Source)
>         at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
>         at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
>         at javax.naming.InitialContext.init(Unknown Source)
>         at javax.naming.ldap.InitialLdapContext.<init>(Unknown Source)
>         at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper$6.run(JNDIConnectionWrapper.java:878)
>         at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.runAndMonitor(JNDIConnectionWrapper.java:1116)
>         at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.doConnect(JNDIConnectionWrapper.java:912)
>         at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.connect(JNDIConnectionWrapper.java:192)
>         at org.apache.directory.studio.connection.core.jobs.OpenConnectionsRunnable.run(OpenConnectionsRunnable.java:111)
>         at org.apache.directory.studio.connection.core.jobs.StudioConnectionJob.run(StudioConnectionJob.java:113)
>         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message