AnsweredAssumed Answered

Login with PAM Client is slow in closed environment

Question asked by huaso01 Employee on Jan 18, 2018
Latest reply on Jan 19, 2018 by mulan04

Customer has closed environment. (i.e has no connection to external internet). When login to PAM with PAM Client, there is significant delay in login process. Login process is much faster from station that have internet connection.

 

In client log, noticed following information.

2018-01-12 17:44:46 INFO  - java.net.UnknownHostException: checkip.amazonaws.com     syserr [Thread-12] 2018-01-12 17:44:46 INFO  -      syserr [Thread-12] 2018-01-12 17:44:46 INFO  -      at java.net.AbstractPlainSocketImpl.connect(Unknown Source)     syserr [Thread-12] 2018-01-12 17:44:46 INFO  -      syserr [Thread-12] 2018-01-12 17:44:46 INFO  -      at java.net.PlainSocketImpl.connect(Unknown Source)     syserr [Thread-12] 2018-01-12 17:44:46 INFO  -      syserr [Thread-12] 2018-01-12 17:44:46 INFO  -      at java.net.Socket.connect(Unknown Source)     syserr [Thread-12] 2018-01-12 17:44:46 INFO  -      syserr [Thread-12] 2018-01-12 17:44:46 INFO  -      at com.ca.xsuite.launcher.K.c(Unknown Source)     syserr [Thread-12] 2018-01-12 17:44:46 INFO  -      syserr [Thread-12] 2018-01-12 17:44:46 INFO  -      at com.ca.xsuite.launcher.d.i.a(Unknown Source)     syserr [Thread-12] 2018-01-12 17:44:46 INFO  -      syserr [Thread-12] 2018-01-12 17:44:46 INFO  -      at com.ca.xsuite.launcher.D.q(Unknown Source)     syserr [Thread-12] 2018-01-12 17:44:46 INFO  -      syserr [Thread-12] 2018-01-12 17:44:46 INFO  -      at com.ca.xsuite.launcher.D.p(Unknown Source)     syserr [Thread-12] 2018-01-12 17:44:46 INFO  -      syserr [Thread-12] 2018-01-12 17:44:46 INFO  -      at com.ca.xsuite.launcher.D.o(Unknown Source)     syserr [Thread-12] 2018-01-12 17:44:46 INFO  -      syserr [Thread-12] 2018-01-12 17:44:46 INFO  -      at com.ca.xsuite.launcher.D.a(Unknown Source)     syserr [Thread-12] 2018-01-12 17:44:46 INFO  -      syserr [Thread-12] 2018-01-12 17:44:46 INFO  -      at com.ca.xsuite.client.XsuiteClientBrowser$8.run(Unknown Source)     syserr [Thread-12] 2018-01-12 17:44:46 INFO  -      syserr [Thread-12] 2018-01-12 17:44:46 INFO  -      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)     syserr [Thread-12] 2018-01-12 17:44:46 INFO  -      syserr [Thread-12] 2018-01-12 17:44:46 INFO  -      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)     syserr [Thread-12] 2018-01-12 17:44:46 INFO  -      syserr [Thread-12] 2018-01-12 17:44:46 INFO  -      at java.lang.Thread.run(Unknown Source)     syserr [Thread-12] 2018-01-12 17:44:46 INFO  -      syserr [Thread-12]

From what i found so far. It seems when login with PAM Client, it will retrieve basic information which include user`s network information(private IP and public gateway IP). private IP can be retrieved locally while public gateway IP is retrieved via external service(I guess PAM Client contact checkip.amazonaws.com).

Because it is closed environment, client cannot connect to external resource till timeout. I believe that is where delay come from. 

 

Is my understanding correct or there is other cause that i have missed?

And more important how do we mitigate this delay? any workaround?

 

 

Any input is appreciated.

 

 

Best Regards

Jerry

Outcomes