#763 Niagara Authentication Issue? AuthErr: 403 Authentication failed.

Ricky Villa Wed 27 Nov 2019

Hi, I'm getting the below error message every 10-15 minutes or so from the nhaystack connector. Using nhaystack v2.0.1 (happens with v2.1.0 too) with N4.7.110.32.

Do you know what would cause this?

[18:29:27 26-Nov-19] [debug] [haystackClient] > [0]
GET https://10.96.10.55/haystack/about
Authorization: hello username=SjJJbm4
Accept-Encoding: gzip
User-Agent: SkyArc/3.0.20

[18:29:30 26-Nov-19] [debug] [haystackClient] < [0]
401 Unauthorized
Set-Cookie: JSESSIONID=6fda4bcdbebecc537292bc758c29c69077e5e246de27f48428;Path=/;Secure;HttpOnly
Content-Length: 0
Expires: Thu, 01 Jan 1970 00:00:00 GMT
WWW-Authenticate: SCRAM hash=SHA-256, handshakeToken=6fda4bcdbebecc537292bc758c29c69077e5e246de27f48428

[18:29:30 26-Nov-19] [debug] [haystackClient] client-first-message: n,,n=J2Inn,r=76f8f88b00c248e65a9a7938
[18:29:30 26-Nov-19] [debug] [haystackClient] > [1]
GET https://10.96.10.55/haystack/about
Authorization: scram data=biwsbj1KMklubixyPTc2ZjhmODhiMDBjMjQ4ZTY1YTlhNzkzOA, handshakeToken=6fda4bcdbebecc537292bc758c29c69077e5e246de27f48428
Accept-Encoding: gzip
User-Agent: SkyArc/3.0.20

[18:29:33 26-Nov-19] [debug] [haystackClient] < [1]
401 Unauthorized
Content-Length: 0
WWW-Authenticate: SCRAM hash=SHA-256, data=cj03NmY4Zjg4YjAwYzI0OGU2NWE5YTc5MzhkQ3UwdGU1cHk5RVJmZUd2eFUvWGhBPT0scz1wdm84OGNGM2o3UFArSkNUK2lSTjVnPT0saT00MDk2, handshakeToken=6fda4bcdbebecc537292bc758c29c69077e5e246de27f48428

[18:29:33 26-Nov-19] [debug] [haystackClient] auth-msg: n=J2Inn,r=76f8f88b00c248e65a9a7938,r=76f8f88b00c248e65a9a7938dCu0te5py9ERfeGvxU/XhA==,s=pvo88cF3j7PP+JCT+iRN5g==,i=4096,c=biws,r=76f8f88b00c248e65a9a7938dCu0te5py9ERfeGvxU/XhA==
[18:29:33 26-Nov-19] [debug] [haystackClient] client-final-message: c=biws,r=76f8f88b00c248e65a9a7938dCu0te5py9ERfeGvxU/XhA==,p=LtupuK8MOGOLacQD7nwjq1tOu3ma9SghfqrlYxg52VE=
[18:29:33 26-Nov-19] [debug] [haystackClient] > [2]
GET https://10.96.10.55/haystack/about
Authorization: scram data=Yz1iaXdzLHI9NzZmOGY4OGIwMGMyNDhlNjVhOWE3OTM4ZEN1MHRlNXB5OUVSZmVHdnhVL1hoQT09LHA9THR1cHVLOE1PR09MYWNRRDdud2pxMXRPdTNtYTlTZ2hmcXJsWXhnNTJWRT0, handshakeToken=6fda4bcdbebecc537292bc758c29c69077e5e246de27f48428
Accept-Encoding: gzip
User-Agent: SkyArc/3.0.20

[18:29:35 26-Nov-19] [debug] [haystackClient] < [2]
403 Authentication failed.
Set-Cookie: JSESSIONID=edff7e67de774a51629663f751dd64251c981f885b15519a4e;Path=/;Secure;HttpOnly
Content-Length: 264
Content-Type: text/html;charset=iso-8859-1
Cache-Control: must-revalidate,no-cache,no-store
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 403 </title>
</head>
<body>
<h2>HTTP ERROR: 403</h2>
<p>Problem accessing /haystack/about. Reason:
<pre>    Authentication failed.</pre></p>
<hr />
</body>
</html>

auth::AuthErr: 403 Authentication failed.
  auth::AuthClientContext.err (AuthClientContext.fan:109)
  auth::AuthClientContext.openStd (AuthClientContext.fan:167)
  auth::AuthClientContext.open (AuthClientContext.fan:78)
  skyarcd::Client.open (Client.fan:44)
  skyarcd::Client.main (Client.fan:305)
  java.lang.reflect.Method.invoke (Unknown)
  fan.sys.Method.invoke (Method.java:573)
  fan.sys.Method$MethodFunc.callList (Method.java:212)
  fan.sys.Method.callList (Method.java:138)
  fanx.tools.Fan.callMain (Fan.java:183)
  fanx.tools.Fan.executeType (Fan.java:147)
  fanx.tools.Fan.execute (Fan.java:41)
  fanx.tools.Fan.run (Fan.java:308)
  fanx.tools.Fan.main (Fan.java:346)

Ricky Villa Wed 18 Dec 2019

It was due to the new auto-logoff property on the user in N4 being enabled. After disabling, have not seen it fault.

Login or Signup to reply.