Comment 8 for bug 1271559

Revision history for this message
Josh Stompro (u-launchpad-stompro-org) wrote :

I'm still seeing something similar to this in EG 3.11.1.

One strange thing is that it seems to happen pre authentication. I'm seeing every other call fail to open-ils.search.z3950.search_class, even with an invalid auth key. Although sometimes it is a few in a row.

srfsh# request open-ils.search open-ils.search.z3950.search_class "invalidauthkey",{ "service_array": [ "oclc" ] , "username_array": [ "" ] , "password_array": [ "" ] , "limit":10, "offset":0, "search": { "isbn":"9781639731930x" } , "service": [ "oclc" ] , "username": [ "" ] , "password": [ "" ]}

Received no data from server

------------------------------------
Request Completed Successfully
Request Time in seconds: 0.007930
------------------------------------
srfsh# request open-ils.search open-ils.search.z3950.search_class "invalidauthkey",{ "service_array": [ "oclc" ] , "username_array": [ "" ] , "password_array": [ "" ] , "limit":10, "offset":0, "search": { "isbn":"9781639731930x" } , "service": [ "oclc" ] , "username": [ "" ] , "password": [ "" ]}

Received Data: {
  "textcode":"NO_SESSION",
  "ilsevent":1001,
  "desc":"User login session has either timed out or does not exist",
  "pid":50146,
  "stacktrace":"oils_auth.c:1169"
}

------------------------------------
Request Completed Successfully
Request Time in seconds: 0.010717
------------------------------------

With a valid auth key.

srfsh# request open-ils.search open-ils.search.z3950.search_class "validauthkey",{ "service_array": [ "oclc" ] , "username_array": [ "" ] , "password_array": [ "" ] , "limit":10, "offset":0, "search": { "isbn":"9781639731930x" } , "service": [ "oclc" ] , "username": [ "" ] , "password": [ "" ]}

Received Data: {
  "count":0,
  "service":"oclc",
  "records":[

  ]
}

------------------------------------
Request Completed Successfully
Request Time in seconds: 0.234018
------------------------------------
srfsh# request open-ils.search open-ils.search.z3950.search_class "validauthkey",{ "service_array": [ "oclc" ] , "username_array": [ "" ] , "password_array": [ "" ] , "limit":10, "offset":0, "search": { "isbn":"9781639731930x" } , "service": [ "oclc" ] , "username": [ "" ] , "password": [ "" ]}

Received no data from server

------------------------------------
Request Completed Successfully
Request Time in seconds: 0.006879
------------------------------------