Project

General

Profile

Actions

Bug #5140

closed

Ecogrid Authentication Error at Kepler trunk on windows 7.

Added by jianwu jianwu over 14 years ago. Updated over 14 years ago.

Status:
Resolved
Priority:
Normal
Category:
build system
Target version:
Start date:
08/11/2010
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5140

Description

From 'Tools->Ecogrid Authentication' menu item, I chose 'DEV' domain and tried a fake username and password. The connection time out exception is as followed. One suspicious point is it shows that '{http://xml.apache.org/axis/}hostname:jianwu-PC'.

When I tried it on released Kepler 2.0 on Windows or Kepler trunk on Mac, I got authentication error message which seems correct since my account is fake. It took about three minutes to get the error message though. I'll also put the error message blow for reference.

----------------Exception message on Kepler trunk on windows-------------
[run] creating gui
[run] OK - disposing
[run] ldap authenticating...
[run] creating gui
[run] disposing
[run] DONE disposing
[run] d: DEV username: a password: org: KU
[run] EcogridUtils: The time to create instance is =========== 0
[run] Authenticating with user: uid=a,o=KU,dc=ecoinformatics,dc=org and password:
**
[run] AxisFault
[run] faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
[run] faultSubcode:
[run] faultString: java.net.ConnectException: Connection timed out: connect
[run] faultActor:
[run] faultNode:
[run] faultDetail:
[run] {http://xml.apache.org/axis/}stackTrace:java.net.ConnectException: Connection timed out: connect
[run] at java.net.PlainSocketImpl.socketConnect(Native Method)
[run] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
[run] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
[run] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
[run] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
[run] at java.net.Socket.connect(Socket.java:529)
[run] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[run] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[run] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[run] at java.lang.reflect.Method.invoke(Method.java:597)
[run] at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:153)
[run] at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:125)
[run] at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
[run] at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
[run] at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
[run] at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
[run] at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
[run] at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
[run] at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
[run] at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
[run] at org.apache.axis.client.Call.invoke(Call.java:2767)
[run] at org.apache.axis.client.Call.invoke(Call.java:2443)
[run] at org.apache.axis.client.Call.invoke(Call.java:2366)
[run] at org.apache.axis.client.Call.invoke(Call.java:1812)
[run] at org.ecoinformatics.ecogrid.auth.stub.AuthenticationServiceStub.login(Unknown Source)
[run] at org.ecoinformatics.ecogrid.client.AuthenticationServiceClient.login_action(Unknown Source)
[run] at org.kepler.authentication.LDAPAuthenticationService.authenticate(LDAPAuthenticationService.java:129)
[run] at org.kepler.authentication.LDAPAuthenticationService.authenticate(LDAPAuthenticationService.java:157)
[run] at org.kepler.authentication.LDAPAuthenticationService.authenticate(LDAPAuthenticationService.java:88)
[run] at org.kepler.authentication.AuthenticationManager.getProxy(AuthenticationManager.java:152)
[run] at org.kepler.gui.AuthenticateAction.login(AuthenticateAction.java:228)
[run] at org.kepler.gui.AuthenticateAction.access$300(AuthenticateAction.java:60)
[run] at org.kepler.gui.AuthenticateAction$AuthSwingWorker.construct(AuthenticateAction.java:266)
[run] at util.SwingWorker$2.run(SwingWorker.java:158)
[run] at java.lang.Thread.run(Thread.java:619)
[run]
[run] {http://xml.apache.org/axis/}hostname:jianwu-PC
[run]
[run] java.net.ConnectException: Connection timed out: connect
[run] at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
[run] at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154)
[run] at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
[run] at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
[run] at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
[run] at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
[run] at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
[run] at org.apache.axis.client.Call.invoke(Call.java:2767)
[run] at org.apache.axis.client.Call.invoke(Call.java:2443)
[run] at org.apache.axis.client.Call.invoke(Call.java:2366)
[run] at org.apache.axis.client.Call.invoke(Call.java:1812)
[run] at org.ecoinformatics.ecogrid.auth.stub.AuthenticationServiceStub.login(Unknown Source)
[run] at org.ecoinformatics.ecogrid.client.AuthenticationServiceClient.login_action(Unknown Source)
[run] at org.kepler.authentication.LDAPAuthenticationService.authenticate(LDAPAuthenticationService.java:129)
[run] at org.kepler.authentication.LDAPAuthenticationService.authenticate(LDAPAuthenticationService.java:157)
[run] at org.kepler.authentication.LDAPAuthenticationService.authenticate(LDAPAuthenticationService.java:88)
[run] at org.kepler.authentication.AuthenticationManager.getProxy(AuthenticationManager.java:152)
[run] at org.kepler.gui.AuthenticateAction.login(AuthenticateAction.java:228)
[run] at org.kepler.gui.AuthenticateAction.access$300(AuthenticateAction.java:60)
[run] at org.kepler.gui.AuthenticateAction$AuthSwingWorker.construct(AuthenticateAction.java:266)
[run] at util.SwingWorker$2.run(SwingWorker.java:158)
[run] at java.lang.Thread.run(Thread.java:619)
[run] Caused by: java.net.ConnectException: Connection timed out: connect
[run] at java.net.PlainSocketImpl.socketConnect(Native Method)
[run] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
[run] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
[run] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
[run] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
[run] at java.net.Socket.connect(Socket.java:529)
[run] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[run] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[run] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[run] at java.lang.reflect.Method.invoke(Method.java:597)
[run] at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:153)
[run] at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:125)
[run] at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
[run] at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
[run] at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
[run] ... 20 more
[run] org.kepler.authentication.AuthenticationException: Error authenticating: ; nested exception is:
[run] java.net.ConnectException: Connection timed out: connect
[run] at org.kepler.authentication.LDAPAuthenticationService.authenticate(LDAPAuthenticationService.java:136)
[run] at org.kepler.authentication.LDAPAuthenticationService.authenticate(LDAPAuthenticationService.java:157)
[run] at org.kepler.authentication.LDAPAuthenticationService.authenticate(LDAPAuthenticationService.java:88)
[run] at org.kepler.authentication.AuthenticationManager.getProxy(AuthenticationManager.java:152)
[run] at org.kepler.gui.AuthenticateAction.login(AuthenticateAction.java:228)
[run] at org.kepler.gui.AuthenticateAction.access$300(AuthenticateAction.java:60)
[run] at org.kepler.gui.AuthenticateAction$AuthSwingWorker.construct(AuthenticateAction.java:266)
[run] at util.SwingWorker$2.run(SwingWorker.java:158)
[run] at java.lang.Thread.run(Thread.java:619)
[run] MC 14:08:39,200: [ERROR]: The authentication exception is [org.kepler.gui.AuthenticateAction]
[run] org.kepler.authentication.AuthenticationException: Error authenticating: Error authenticating: ; nested exception is:
[run] java.net.ConnectException: Connection timed out: connect
[run] at org.kepler.authentication.LDAPAuthenticationService.authenticate(LDAPAuthenticationService.java:93)
[run] at org.kepler.authentication.AuthenticationManager.getProxy(AuthenticationManager.java:152)
[run] at org.kepler.gui.AuthenticateAction.login(AuthenticateAction.java:228)
[run] at org.kepler.gui.AuthenticateAction.access$300(AuthenticateAction.java:60)
[run] at org.kepler.gui.AuthenticateAction$AuthSwingWorker.construct(AuthenticateAction.java:266)
[run] at util.SwingWorker$2.run(SwingWorker.java:158)
[run] at java.lang.Thread.run(Thread.java:619)
[run] org.kepler.authentication.AuthenticationException: Error authenticating: Error authenticating: ; nested exception is:
[run] java.net.ConnectException: Connection timed out: connect
[run] at org.kepler.authentication.LDAPAuthenticationService.authenticate(LDAPAuthenticationService.java:93)
[run] at org.kepler.authentication.AuthenticationManager.getProxy(AuthenticationManager.java:152)
[run] at org.kepler.gui.AuthenticateAction.login(AuthenticateAction.java:228)
[run] at org.kepler.gui.AuthenticateAction.access$300(AuthenticateAction.java:60)
[run] at org.kepler.gui.AuthenticateAction$AuthSwingWorker.construct(AuthenticateAction.java:266)
[run] at util.SwingWorker$2.run(SwingWorker.java:158)
[run] at java.lang.Thread.run(Thread.java:619)

-------------------------------------------------------------------------
----------------Exception message on Kepler 2.0 on windows-------------
[null] creating gui
[null] OK - disposing
[null] ldap authenticating...
[null] creating gui
[null] disposing
[null] DONE disposing
[null] d: DEV username: a password: org: KU
[null] auth with dn: uid=a,o=KU,dc=ecoinformatics,dc=org
[null] ==============authenticating with url: http://dev.nceas.ucsb.edu/knb/services/AuthenticationService
[null] Authenticating with user: uid=a,o=KU,dc=ecoinformatics,dc=org and password:
**
[null] using AuthenticationServiceClient to authenticate...
[null] EcogridUtils: The time to create instance is =========== 0
[null] Time authenticating: 197 seconds.
[null] org.kepler.authentication.AuthenticationException: Error authenticating: java.rmi.RemoteException:
[null] <unauth_login>
[null] <message>Authentication failed for user: uid=a,o=KU,dc=ecoinformatics,dc=org</message>
[null] </unauth_login>
[null]
[null] at org.kepler.authentication.LDAPAuthenticationService.authenticate(LDAPAuthenticationService.java:149)
[null] at org.kepler.authentication.LDAPAuthenticationService.authenticate(LDAPAuthenticationService.java:171)
[null] at org.kepler.authentication.LDAPAuthenticationService.authenticate(LDAPAuthenticationService.java:90)
[null] at org.kepler.authentication.AuthenticationManager.getProxy(AuthenticationManager.java:152)
[null] at org.kepler.gui.AuthenticateAction.login(AuthenticateAction.java:228)
[null] at org.kepler.gui.AuthenticateAction.access$300(AuthenticateAction.java:60)
[null] at org.kepler.gui.AuthenticateAction$AuthSwingWorker.construct(AuthenticateAction.java:266)
[null] at util.SwingWorker$2.run(SwingWorker.java:158)
[null] at java.lang.Thread.run(Thread.java:619)
[null] ERROR (org.kepler.gui.AuthenticateAction:login:238) The authentication exception is
[null] org.kepler.authentication.AuthenticationException: Error authenticating: Error authenticating: java.rmi.RemoteException:
[null] <unauth_login>
[null] org.kepler.authentication.AuthenticationException: Error authenticating: Error authenticating: java.rmi.RemoteException:
[null] <message>Authentication failed for user: uid=a,o=KU,dc=ecoinformatics,dc=org</message>
[null] <unauth_login>
[null] </unauth_login>
[null] <message>Authentication failed for user: uid=a,o=KU,dc=ecoinformatics,dc=org</message>
[null]
[null] at org.kepler.authentication.LDAPAuthenticationService.authenticate(LDAPAuthenticationService.java:95)
[null] at org.kepler.authentication.AuthenticationManager.getProxy(AuthenticationManager.java:152)
[null] at org.kepler.gui.AuthenticateAction.login(AuthenticateAction.java:228)
[null] at org.kepler.gui.AuthenticateAction.access$300(AuthenticateAction.java:60)
[null] </unauth_login>
[null] at org.kepler.gui.AuthenticateAction$AuthSwingWorker.construct(AuthenticateAction.java:266)
[null]
[null] at util.SwingWorker$2.run(SwingWorker.java:158)
[null] at org.kepler.authentication.LDAPAuthenticationService.authenticate(LDAPAuthenticationService.java:95)
[null] at java.lang.Thread.run(Thread.java:619)
[null] at org.kepler.authentication.AuthenticationManager.getProxy(AuthenticationManager.java:152)
[null] at org.kepler.gui.AuthenticateAction.login(AuthenticateAction.java:228)
[null] at org.kepler.gui.AuthenticateAction.access$300(AuthenticateAction.java:60)
[null] at org.kepler.gui.AuthenticateAction$AuthSwingWorker.construct(AuthenticateAction.java:266)
[null] at util.SwingWorker$2.run(SwingWorker.java:158)
[null] at java.lang.Thread.run(Thread.java:619)
[null] creating gui
[null] user cancelled action - disposing
[null] creating gui
[null] user cancelled action - disposing


Related issues

Blocked by Kepler - Bug #4801: out of memoryIn Progressjianwu jianwu02/17/2010

Actions
Actions

Also available in: Atom PDF