#721 nhaydtack auth only allowed once

darrin minnard Fri 19 Jul 2019

I used the Niagara nhaystack network to login to a SkySpark instance from my pc workbench without a problem (for testing purposes). Then I wanted to setup a JACE to login to the same SkySpark instance with fail. All configuration is exactly the same tried to create a different user in SkySpark but still failure. tried it again on my pc and it logged in fine. Seem like there is a different token key that for each nhaystack module and SkySpark sees it as the auth but different keys. Is there a way to reset this key or start the auth over? Once there is a connection to SkySpark through nhaystack is that the only one allowed? N4.7.109.20.2 SkySpark 3.0.18 (i think)

javax.baja.sys.BajaRuntimeException

at nhaystack.driver.BNHaystackServer.doPing(BNHaystackServer.java:540) at javax.baja.driver.ping.BPingMonitor.checkPing(BPingMonitor.java:365) at javax.baja.driver.ping.BPingMonitor.run(BPingMonitor.java:346) at java.lang.Thread.run(Thread.java:748) Caused by: org.projecthaystack.auth.AuthException: authenticate failed at org.projecthaystack.auth.AuthClientContext.open(AuthClientContext.java:96) at org.projecthaystack.client.HClient.open(HClient.java:109) at org.projecthaystack.client.HClient.open(HClient.java:35) at nhaystack.driver.BNHaystackServer.getHaystackClient(BNHaystackServer.java:631) at nhaystack.driver.BNHaystackServer.doPing(BNHaystackServer.java:532) ... 3 more Caused by: java.net.SocketTimeoutException: connect timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.tryConnect(AbstractPlainSocketImpl.java:357) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:393) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:222) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:204) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at sun.net.NetworkClient.doConnect(NetworkClient.java:175) at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) at sun.net.www.http.HttpClient.New(HttpClient.java:339) at sun.net.www.http.HttpClient.New(HttpClient.java:357) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1220) at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1156) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1050) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:984) at org.projecthaystack.auth.AuthClientContext.get(AuthClientContext.java:251) at org.projecthaystack.auth.AuthClientContext.getAuth(AuthClientContext.java:222) at org.projecthaystack.auth.AuthClientContext.sendHello(AuthClientContext.java:111) at org.projecthaystack.auth.AuthClientContext.open(AuthClientContext.java:70) ... 7 more

Amir Aslam Thu 8 Jun 2023

Hi Darrin, Old post but i am trying the same, however it seems not be working at all. Did you get any success with it?

Login or Signup to reply.