Hi, Aliaksandr.
Sorry for the delay. Our user reported that the issue went away on its own yesterday morning. However, yesterday afternoon, I began to experience the same behavior in Chrome. So, I've been able to gather a bit more information.
I am redirected to the error page when I, ultimately, attempt to access /oxauth/login (via the primary FQDN - in other words, I know I can't navigate directly to /oxauth/login and expect it to work).
I have noticed something bizarre in the attempts that yield this error: it appears the browser is sending duplicate cookies - 2 for session_id and 2 for session_state. The request headers are below, with FQDN removed:
```
GET /oxauth/login HTTP/1.1
Host: <GLUU-HOST-FQDN>
Connection: keep-alive
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Referer: https://<GLUU-HOST-FQDN>/identity/
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9
Cookie: org.gluu.i18n.Locale=en; session_id=ac717541-4d84-43d7-b68a-42d5e2179dfd; session_state=f7867b3b-c320-48b7-99da-c81e46a30ebb; csfcfc=%2BxLXY6YhfQ%3D%3D; org.gluu.i18n.Locale=en; session_id=b5c4d6dd-6291-4e7d-bec3-4e8e80e6a15e; session_state=cf495ddc-b0fa-47b9-bb56-16c663cda278
```
When I examine the cookies in my Chrome browser, I see that I have a session_id with a path of "/" and another with a path of "/oxauth," which I believe is why the browser is sending both. I have three cookies for session_state, with different paths: "/", "/oxauth", and "/oxauth/restv1". Here is what I find for both in my browser's cookie list:
```
session_id
Name
session_id
Content
f487ad86-bc94-4140-99e1-77d5be69b4a6
Domain
<GLUU-HOST-FQDN>
Path
/
Send for
Secure connections only
Accessible to script
No (HttpOnly)
Created
Thursday, April 19, 2018 at 5:32:17 PM
Expires
Friday, April 20, 2018 at 5:32:18 PM
session_id
Name
session_id
Content
ac717541-4d84-43d7-b68a-42d5e2179dfd
Domain
<GLUU-HOST-FQDN>
Path
/oxauth
Send for
Any kind of connection
Accessible to script
Yes
Created
Wednesday, April 18, 2018 at 5:13:31 PM
Expires
When the browsing session ends
session_state
Name
session_state
Content
cb3af992-a735-4e9d-a50f-e2125b266ce9
Domain
<GLUU-HOST-FQDN>
Path
/
Send for
Secure connections only
Accessible to script
Yes
Created
Thursday, April 19, 2018 at 5:32:17 PM
Expires
Friday, April 20, 2018 at 5:32:18 PM
session_state
Name
session_state
Content
f7867b3b-c320-48b7-99da-c81e46a30ebb
Domain
<GLUU-HOST-FQDN>
Path
/oxauth
Send for
Any kind of connection
Accessible to script
Yes
Created
Wednesday, April 18, 2018 at 5:13:31 PM
Expires
When the browsing session ends
session_state
Name
session_state
Content
3c54aa44-c829-4d52-9788-596389d68aad
Domain
<GLUU-HOST-FQDN>
Path
/oxauth/restv1
Send for
Any kind of connection
Accessible to script
Yes
Created
Wednesday, April 18, 2018 at 5:13:16 PM
Expires
When the browsing session ends
```
From looking through the Gluu source code a bit, it seems that the shortest path to the error in the oxauth logs ("Failed to get attributes from session" in org.xdi.oxauth.auth.Authenticator) would be some kind of an issue getting the session ID from a cookie.
So, I am thinking that the issue may be due to cookies not being disposed of by browsers when they should, then sending two when oxAuth expects only one. The odd thing, though, is, when I previously experienced this behavior with Firefox and Safari, I certainly did clear my cookies, history, etc., and the problem remained.
I'll continue investigating. I'll clear my cookies on this browser and see if the issue goes away. But, I wanted to document what I've found in case you have any thoughts, as well as to maybe point others in a direction if they encounter this as well.
Thanks.