[OPEN-ILS-DEV] Can't connect with client
Don McMorris
don.mcmorris at gmail.com
Thu Mar 15 22:10:21 EDT 2007
Correction Bill. I mis-understood Bill. Bill says that Bill should
make sure open-ils.auth is running.
At the end of opensrf.xml configuration is the configuration that
loads the modules. Make sure it's encapsulated inside a tag that
matches the output of `hostname -f`. Inside there should be an
<appname> for open-ils.auth. An example:
<hosts>
<localhost> <!-- must match "hostname -f" of the hosting machine -->
<activeapps>
<!-- services hosted on this machine -->
<appname>opensrf.settings</appname>
<appname>opensrf.math</appname>
<appname>opensrf.dbmath</appname>
<appname>open-ils.cat</appname>
<appname>open-ils.supercat</appname>
<appname>open-ils.search</appname>
<appname>open-ils.circ</appname>
<appname>open-ils.actor</appname>
<appname>open-ils.auth</appname>
<appname>open-ils.storage</appname>
<appname>open-ils.penalty</appname>
<appname>open-ils.cstore</appname>
<appname>open-ils.collections</appname>
<appname>open-ils.ingest</appname>
<appname>open-ils.reporter</appname>
<appname>open-ils.reporter-store</appname>
</activeapps>
</localhost>
</hosts>
</opensrf>
This is the default based on the package.
Hope this helps.
--Don
On 3/15/07, Don McMorris <don.mcmorris at gmail.com> wrote:
> Hey Bill:
>
> Bill says that the cancel code 404 means the router is not logged into
> the jabberd. How's router.log looking?
> --Don
>
> On 3/15/07, Bill Ott <bott at grpl.org> wrote:
> > We've gotten everything installed and now have everything starting up
> > (thanks for the tip Bill, you put us in the right direction). Now, if
> > only I could login from the client.
> >
> > When trying to login from the client, we receive a "Network/server
> > failure", with the following information:
> >
> > method=open-ils.auth.authenticate.init
> > params=["admin"]
> > THROWN:
> > Network Failure: status=200
> >
> > service=open-ils.auth&method=open-ils.auth.authenticate.init¶m=%22admin%22
> > STATUS:
> > 200
> >
> > I find this in the log files.
> >
> > gateway.log
> > osrf_json_gw 2007-03-15 21:03:32 [INFO:25907:osrf_app_session.c:515:]
> > [open-ils.auth] sent 194 bytes of data to
> > router at openils.grpl.org/open-ils.auth
> > osrf_json_gw 2007-03-15 21:03:32 [ACT:25907:osrf_json_gateway.c:190:]
> > [192.168.10.25] [] open-ils.auth open-ils.auth.authenticate.init "admin"
> > osrf_json_gw 2007-03-15 21:03:32
> > [INFO:25907:osrf_json_gateway.c:190:] [192.168.10.25] [] open-ils.auth
> > open-ils.auth.authenticate.init "admin"
> > osrf_json_gw 2007-03-15 21:03:32
> > [INFO:25907:transport_session.c:406:] Received <error> message with type
> > cancel and code 404
> > osrf_json_gw 2007-03-15 21:03:27 [INFO:25907:osrf_app_session.c:142:]
> > Returning NULL from app_request_recv after timeout
> > osrf_json_gw 2007-03-15 21:03:27
> > [INFO:25907:osrf_json_gateway.c:297:] Completed processing
> > service=open-ils.auth, method=open-ils.auth.authenticate.init
> >
> >
> > osrfsys.log
> > chopchop 2007-03-15 21:03:32 [INFO:25820:osrf_chat.c:278:] Sending
> > message on local connection
> > from:
> > gateway at openils.grpl.org/1174006144_openils.grpl.org_1174006144.235463_25907
> > to: router at openils.grpl.org/open-ils.auth
> > chopchop 2007-03-15 21:03:32 [INFO:25820:osrf_chat.c:304:] We have no
> > connection for router at openils.grpl.org/open-ils.auth
> >
> >
> >
> >
>
More information about the Open-ils-dev
mailing list