[FOLIO-868] Can't Log Into FOLIO-Testing With diku_admin Created: 29/Sep/17  Updated: 12/Nov/18  Resolved: 29/Sep/17

Status: Closed
Project: FOLIO
Components: None
Affects versions: None
Fix versions: None

Type: Story Priority: P1
Reporter: Cate Boerema (Inactive) Assignee: Wayne Schneider
Resolution: Done Votes: 0
Labels: sprint23
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Attachments: PNG File screenshot-1.png    
Issue links:
Blocks
blocks FOLIO-867 Clicking Checkout in Folio-Testing Br... Closed
Relates
relates to MODPERMS-19 mod-permissions hangs intermittently ... Closed
Sprint:

 Description   

Steps to Repro:

  1. Go to http://folio-testing.aws.indexdata.com/
  2. Try to log in as diku_admin (regular password)

Expected: Can log in

Actual: Get the "Sorry, the information entered does not match our records!" message.

Additional Info: I tried in Chrome and FF



 Comments   
Comment by Mike Taylor [ 29/Sep/17 ]

This is due to an internal server error (500), diagnosed as

Unable to retrieve permissions for user with id'1ad737b0-d847-11e6-bf26-cec0c932ce01': Expected return code 200, got 500 : proxyRequestResponse failure: http://10.36.1.165:9132: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /10.36.1.165:9132 Connection refused: /10.36.1.165:9132

I guess this is one for the Okapi people.

Comment by Mike Taylor [ 29/Sep/17 ]

Here's the full transcript.

Request:

POST /bl-users/login?expandPermissions=true&fullPermissions=true HTTP/1.1
Host: folio-testing-backend01.aws.indexdata.com:9130
Connection: keep-alive
Content-Length: 44
Origin: http://folio-testing.aws.indexdata.com
X-Okapi-Tenant: diku
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36
Content-Type: application/json
Accept: */*
Referer: http://folio-testing.aws.indexdata.com/
Accept-Encoding: gzip, deflate
Accept-Language: en-GB,en-US;q=0.8,en;q=0.6

{"username":"diku_admin","password":"admin"}

Response:

HTTP/1.1 500 Internal Server Error
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: Location,X-Okapi-Trace,X-Okapi-Token,Authorization,X-Okapi-Request-Id
X-Okapi-Trace: POST mod-authtoken-1.0.1-SNAPSHOT.2 http://10.36.1.165:9131/bl-users/login.. : 202
Content-Type: text/plain
host: folio-testing-backend01.aws.indexdata.com:9130
connection: keep-alive
origin: http://folio-testing.aws.indexdata.com
x-okapi-tenant: diku
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36
accept: */*
referer: http://folio-testing.aws.indexdata.com/
accept-encoding: gzip, deflate
accept-language: en-GB,en-US;q=0.8,en;q=0.6
x-okapi-request-id: 511641/bl-users
x-okapi-url: http://10.36.1.165:9130
x-okapi-module-permissions: {"mod-authtoken-1.0.1-SNAPSHOT.2":["perms.users.get"],"mod-users-bl-2.1.1-SNAPSHOT.2":["users.item.get","users.collection.get","perms.users.item.get","perms.users.get","usergroups.item.get"]}
x-okapi-permissions: []
x-okapi-token: eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJVTkRFRklORURfVVNFUl9fMTAuMzYuMS4xNjU6NTkyOTJfXzIwMTctMDktMjlUMTA6MTY6NTUuMTYwKzAwMDAiLCJ0ZW5hbnQiOiJkaWt1IiwibW9kdWxlIjoibW9kLXVzZXJzLWJsLTIuMS4xLVNOQVBTSE9ULjIiLCJleHRyYV9wZXJtaXNzaW9ucyI6WyJ1c2Vycy5pdGVtLmdldCIsInVzZXJzLmNvbGxlY3Rpb24uZ2V0IiwicGVybXMudXNlcnMuaXRlbS5nZXQiLCJwZXJtcy51c2Vycy5nZXQiLCJ1c2VyZ3JvdXBzLml0ZW0uZ2V0Il0sInJlcXVlc3RfaWQiOiI1MTE2NDEvYmwtdXNlcnMiLCJ1c2VyX2lkIjpudWxsfQ.vvs6rT8Ey8GMwx1pbH-uy6bZ_JE9umIf-s8p-dKnAYQEBE0H4Z0NrytpI7dnM-xeY20H2lOAP-qRclBzwaUnsg
X-Okapi-Trace: POST mod-users-bl-2.1.1-SNAPSHOT.2 http://10.36.1.165:9136/bl-users/login.. : 500 70869us
Transfer-Encoding: chunked

{
  "endpoint" : "/perms/users?query=userId==1ad737b0-d847-11e6-bf26-cec0c932ce01",
  "statusCode" : 500,
  "errorMessage" : "proxyRequestResponse failure: http://10.36.1.165:9132: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /10.36.1.165:9132 Connection refused: /10.36.1.165:9132"
}
Comment by Wayne Schneider [ 29/Sep/17 ]

The issue appears to be that mod-permissions hung. See MODPERMS-19 Closed .

Comment by Wayne Schneider [ 29/Sep/17 ]

I believe this is resolved for the moment by the rebuild of the backend.

Comment by Cate Boerema (Inactive) [ 29/Sep/17 ]

This is what I'm seeing. Are you seeing something different?

Comment by Wayne Schneider [ 29/Sep/17 ]

In the interim, folio-testing is down again, see STCOR-83 Closed

Comment by Wayne Schneider [ 29/Sep/17 ]

folio-testing is back up

Comment by Cate Boerema (Inactive) [ 29/Sep/17 ]

Hooray! Thanks Wayne Schneider

Generated at Thu Feb 08 23:08:55 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.