[OPEN-ILS-DEV] EG client login error

Dan Scott denials at gmail.com
Wed Feb 13 21:11:06 EST 2008


On 13/02/2008, Mark Ellis <mark.ellis at yourlibrary.ca> wrote:
> Jason,
>
> I've made a little headway on this after looking at the srfsh log, but
> I'm not quite there yet.
>
> On the clients I'm getting a dialog that says "Reference Error: au is
> not defined" after using the admin/open-ils login.
>
> The login via srfsh is apparently successful:
>
> srfsh# login admin open-ils staff
>
> Received Data: "473d71044596f01bc27c6fd0da6350bf"
>
> ------------------------------------
> Request Completed Successfully
> Request Time in seconds: 0.084222
> ------------------------------------
>
> Received Data: {
>    "ilsevent":0,
>    "textcode":"SUCCESS",
>    "desc":" ",
>    "pid":18581,
>    "stacktrace":"oils_auth.c:305",
>    "payload":{
>       "authtoken":"6216a5e960be2806542e7a400629dff5",
>       "authtime":7200
>    }
>
> }
>
>
> ------------------------------------
> Request Completed Successfully
> Request Time in seconds: 0.418546
> ------------------------------------
> Login Session: 6216a5e960be2806542e7a400629dff5.  Session timeout:
> 7200.000000
> srfsh#
>
>
> I'm not being prompted to login in the my account section of the
> catalogue.
>
> Mark
>
>
> -----Original Message-----
> From: open-ils-dev-bounces at list.georgialibraries.org
> [mailto:open-ils-dev-bounces at list.georgialibraries.org] On Behalf Of
> Jason Etheridge
> Sent: Monday, February 04, 2008 3:02 PM
> To: open-ils-dev at list.georgialibraries.org
> Subject: Re: [OPEN-ILS-DEV] EG client login error
>
> On Feb 4, 2008 5:48 PM, Mark Ellis <mark.ellis at yourlibrary.ca> wrote:
> > I'm attempting to login using the staff client both from the machine
> > on which the server's installed and another machine.  The server
> > status and version are coming back OK on both, but authentication is
> > failing using the default admin account.  Is what follows sufficient
> > to identify the problem?
>
> Mark, let's see if we can narrow this down some.  Are you able to log
> in with admin from the My Account section in the online catalog?   How
> about from srfsh?
>
> Srfsh is a command-line program that requires a .srfsh.xml file in your
> home directory.  You can model it from this example:
> http://www.open-ils.org/dokuwiki/doku.php?id=osrf-devel:srfsh_--_.srfsh.
> xml
>
> Once in srfsh, try: login admin open-ils staff A good response will
> include a field labeled authtoken.
>
> --
> Jason Etheridge
>  | VP, Community Support and Advocacy
>  | Equinox Software, Inc. / The Evergreen Experts  | phone:
> 1-877-OPEN-ILS (673-6457)  | email:  jason at esilibrary.com  | web:
> http://www.esilibrary.com
>
>

Rereading the original email, the following leaps out at me:

"""setting network_failure_status_string: TypeError:
obj.NETWORK_FAILURE has no properties"""

It sounds to me like the problem is occurring at the gateway (the
staff client and catalogue connect to the Evergreen server via the
Apache gateway, while srfsh connects directly to the Evergreen server
via XMPP). Can you check your Apache error logs to see if there are
any errors turning up there? If the normal catalogue functions work
fine, but logging into My Account fails, perhaps it's the SSL portion
of your Apache config that's the problem.

Also, make sure that you start the Apache server _after_ the OpenSRF
router / perl / c services are already running. If the Apache server
is running before the OpenSRF services start up, then you will have to
stop the Apache server and start it again to make any successful
connections.

More info would also be helpful (sorry if this info is in a different
thread, but my memory is limited) - are you running OpenSRF 0.9 with
Evergreen 1.2.1.2, and on which Linux distribution?

-- 
Dan Scott
Laurentian University


More information about the Open-ils-dev mailing list