[OPEN-ILS-DEV] Client authentication fails

Don McMorris don.mcmorris at gmail.com
Thu May 10 14:44:27 EDT 2007


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":"723fc82bf0aad2b6eb91f7ea38ff712b","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