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

Emmanuel Lecharny resolved DIRSTUDIO-1212.
------------------------------------------
    Resolution: Fixed

Yes, we have fixed the issue. It's caused by a stupid mistake: the connection 
timeout has been set to 30 milliseconds instead of 30 000ms (ie 30 seconds), 
which is way too short when the server is in a remote location, leading to a 
failure to connect.

 

The fix will be available in a coming release.

> Check Network Parameter button throws error
> -------------------------------------------
>
>                 Key: DIRSTUDIO-1212
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1212
>             Project: Directory Studio
>          Issue Type: Bug
>            Reporter: Ruchi Dhar
>            Priority: Major
>         Attachments: Screen Shot 2019-02-12 at 2.20.08 PM.png
>
>
> Once we create connection for LDAP server, the first step where we provide 
> ldap host and port and then try to "Check Network Parameter" by pressing this 
> button, it throws error:
>  
>  
> !STACK 0
> java.lang.Exception: Unable to connect
>         at 
> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper$1.run(DirectoryApiConnectionWrapper.java:251)
>         at 
> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.runAndMonitor(DirectoryApiConnectionWrapper.java:1312)
>         at 
> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.doConnect(DirectoryApiConnectionWrapper.java:281)
>         at 
> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.connect(DirectoryApiConnectionWrapper.java:172)
>         at 
> org.apache.directory.studio.connection.core.jobs.CheckNetworkParameterRunnable.run(CheckNetworkParameterRunnable.java:80)
>         at 
> org.apache.directory.studio.connection.ui.RunnableContextRunner$1.run(RunnableContextRunner.java:140)
>         at 
> org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
>  
>  
> Some how network connection to ldap host cannot be tested. 
> But next step where we provide, ldap user/password, we can check the 
> authentication successful.
>  
> Even ldap entries can be browsed in the studio.
>  
> Only problem is " Check Network Parameter" button throws above error to check 
> the network connection and gives false alarm.
>  
> Is there a quick fix that I can do in my local environment?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to