[OPEN-ILS-DEV] Client authentication fails

Heymans, Wolfgang Wolfgang.Heymans at bsz-bw.de
Fri May 11 09:26:05 EDT 2007


Hi Don,

I got one step further:
open-ils.cstore missed libdbi.so.0, adding /usr/local/lib to
/etc/ld.so.conf fixed my cstore problem.

The server does process my attempt to login now:
--- osrfsys.log ---
open-ils.auth 2007-05-11 16:55:03
[ACT:4177:oils_auth.c:291:117889139934241] successful login:
username=admin, authtoken=5bfed381b43779ef26a4fa81b3c862da, workstation=
---

But the client responds with a 'Network Failure' screen. If I click on
[Ignore Errors], it displays a popup saying
 "TypeError: g.user.home.ou is not a function" ???

Underneath the screen area 'Workstation' shows the registration form,
but the register button is disabled.

I feel like getting closer, but again I need some help.

Regards
Wolfgang



> -----Original Message-----
> From: open-ils-dev-bounces at list.georgialibraries.org 
> [mailto:open-ils-dev-bounces at list.georgialibraries.org] On 
> Behalf Of Don McMorris
> Sent: Thursday, May 10, 2007 8:44 PM
> To: open-ils-dev at list.georgialibraries.org
> Subject: Re: [OPEN-ILS-DEV] Client authentication fails
> 
> Hi Wolfgang:
> 
> I'm going to focus on the log entries similar to "We have no 
> connection for router at localhost/open-ils.cstore".  To me, 
> this suggests a configuration error in the opensrf.xml 
> configuration file.
> A very likely cause of this is the section near the end that 
> defines what host loads what modules.  It's common for the 
> hostname to change, and thus cause the configuration to not 
> load the proper workers.
> 
> The following command will give you the hostname that OpenSRF 
> is trying to use:
> perl -MNet::Domain=hostfqdn -e "print hostfqdn();"
> 
> Hope this gets you started!
> --Don
> 
> On 5/10/07, Heymans, Wolfgang <Wolfgang.Heymans at bsz-bw.de> wrote:
> > Using Release 1.1.5 on Debian I reached the point where the opac is 
> > running but the downloaded client reports an 'network 
> error' if I try 
> > to login to my installation (it connects successfully to 
> > demo.gapines.org and Dan's VMware image).
> >
> > I did build the server dir for the downloaded client (buildId
> > sc_v100_rc2):
> > > cd /usr/local/software/Evergreen-ILS-1.1.5
> > > cd Open-ILS/xul/staff_client
> > > make STAFF_CLIENT_BUILD_ID='sc_v100_rc2'
> > > mkdir /openils/var/web/xul/sc_v100_rc2/ cd build/ cp -R server/ 
> > > /openils/var/web/xul/sc_v100_rc2/
> >
> > osrfsys.log says "We have no connection for
> > router at localhost/open-ils.cstore":
> > --- osrfsys.log ---
> > chopchop 2007-05-10 18:38:23 [INFO:3816:osrf_chat.c:278:] Sending 
> > message on local connection
> > from: router at localhost/open-ils.auth
> > to: jabber at localhost/open-ils.auth_listener__1178815006.601551_8468
> > open-ils.auth 2007-05-10 18:38:23
> > [INFO:8480:oils_auth.c:350:117881328581531] CALL:     open-ils.auth
> > open-ils.auth.authenticate.complete -
> > 
> [{"username":"demo","password":"723fc82bf0aad2b6eb91f7ea38ff71
> 2b","type"
> > :"temp"}]
> > open-ils.auth 2007-05-10 18:38:23
> > [INFO:8480:osrf_app_session.c:522:117881328581531] 
> [open-ils.cstore] 
> > sent 214 bytes of data to router at localhost/open-ils.cstore chopchop 
> > 2007-05-10 18:38:23 [INFO:3816:osrf_chat.c:278:] Sending message on 
> > local connection
> > from: jabber at localhost/open-ils.auth_drone__1178815006.604143_8480
> > to: router at localhost/open-ils.cstore
> > chopchop 2007-05-10 18:38:23 [INFO:3816:osrf_chat.c:304:] 
> We have no 
> > connection for router at localhost/open-ils.cstore open-ils.auth 
> > 2007-05-10 18:38:23 
> > [INFO:8480:transport_session.c:406:117881328581531] 
> Received <error> 
> > message with type cancel and code 404 open-ils.auth 2007-05-10 
> > 18:39:23 [INFO:8480:osrf_app_session.c:142:]
> > Returning NULL from app_request_recv after timeout open-ils.auth 
> > 2007-05-10 18:39:23 [INFO:8480:oils_event.c:11:] Creating 
> new event: 
> > LOGIN_FAILED
> > --- end of excerpt ---
> >
> > What did I miss ?
> >
> > Regards
> > Wolfgang
> >
> >
> >
> 
> 
> 




More information about the Open-ils-dev mailing list