[OPEN-ILS-DEV] Can't connect with client

Dan Scott denials at gmail.com
Fri Mar 16 16:09:47 EDT 2007


On 16/03/07, Bill Erickson <billserickson at gmail.com> wrote:
>
>
> On 3/16/07, Bill Ott <bott at grpl.org> wrote:
> > Mike Rylander said the following on 03/16/2007 12:54 PM:
> > > On 3/16/07, Bill Ott <bott at grpl.org> wrote:
> > >> It seems like I'm making progress, unfortunately, now I'm not getting
> > >> anything useful in the log files.  I just see this on the client end,
> > >> again with a "Network/server failure".
> > >>
> > >>
> > >> method=open-ils.auth.authenticate.complete
> > >>
> params=[{"username":"admin","password":"dfc59320b4b4436cd549c01ce87793d1","type":"temp"}]
> > >>
> > >> THROWN:
> > >> Network Failure: status = <unknown>
> > >>
> service=open-ils.auth&method=open-ils.auth.authenticate.complete&param=%7B%22username%22%3A%22admin%22%2C%22password%22%3A%22dfc59320b4b4436cd549c01ce87793d1%22%2C%22type%22%3A%22temp%22%7D
> > >>
> > >> STATUS:
> > >> <unknown>
> > >>
> > >
> > > This is one that I can help with!  :)
> > >
> > > The auth server stores intermediate authentication and authorization
> > > information in memcache, so you'll need to make sure that's running.
> > > See 2.IV.a here:
> > >
> > >
> http://open-ils.org/dokuwiki/doku.php?id=server_installation&s=memcached
> >
> >
> > Double checked memcached, ran it with -vv to verify it's doing
> > something, and still have the same results.
> >
> > I turned on debugging for everything.  Lots more in the logs now, but I
> > don't see anything that seems to report any problems.
> >
> >
> > Not at all sure if this is relevant, but I put the what's noted from the
> > client as the "Original request:", into the srfsh shell, and received
> > the following.  That's not a typo, it took 60 seconds.  The client on
> > the other hand returns immediately:
> >
> > Received Data: {
> >    "ilsevent":1000,
> >    "textcode":"LOGIN_FAILED",
> >    "desc":"User login failed",
> >    "pid":32028,
> >    "stacktrace":"oils_auth.c:376"
> > }
> >
> >
> > ------------------------------------
> > Request Completed Successfully
> > Request Time in seconds: 60.050582
> > ------------------------------------
> >
>
>
> I think the next place to look is the database.  open-ils.auth relies on
> open-ils.cstore for retrieving data.  In srfsh, try something like:
>
> srfsh# request open-ils.cstore
> open-ils.cstore.direct.actor.user.retrieve 1
>
> "1" is the ID of the user object to retrieve and the supplied "admin" user
> will usually have a default ID of 1.   If you like, you can verify that in
> the database with "select id from actor.usr where usrname = 'admin';"
>
> Let us know if this srfsh request works.

Yeah, this looks a lot like what happened to me when the database
schema was not getting created.

Did your make targets include openils-all? (trying to work from memory here)

Dan


More information about the Open-ils-dev mailing list