Mailing List Archive

ZPsycopgDA looses db connection
Hi,

I have a very strange error. From time to time ZPsycopgDA will loose the
connection to the database (used as authentication source). Subsequently
Zope does still answer requests, but no authentication is possible and
all requests are answered with an error 403 (forbidden).

I have a ZpsycopgDA connection in another directory (not used frquently)
and that connection does still work when the other fails.

When I restart Zope everything works fine again.

Any ideas or suggestions?

TIA

Ulrich
_______________________________________________
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db
Re: ZPsycopgDA looses db connection [ In reply to ]
Ulrich Wisser wrote at 2005-11-22 13:25 +0100:
>I have a very strange error. From time to time ZPsycopgDA will loose the
>connection to the database (used as authentication source). Subsequently
>Zope does still answer requests, but no authentication is possible and
>all requests are answered with an error 403 (forbidden).

In earlier times, "ZPsycopgDA" automatically reconnected after
an operational error. Then, this feature was lost.
Rumours say, that it has been reintroduced in newer versions.

Maybe, you have an unfortunate version?

--
Dieter
_______________________________________________
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db
Re: ZPsycopgDA looses db connection [ In reply to ]
Ulrich Wisser wrote:
> I have a very strange error. From time to time ZPsycopgDA will loose the
> connection to the database (used as authentication source). Subsequently
> Zope does still answer requests, but no authentication is possible and
> all requests are answered with an error 403 (forbidden).

403? I've only ever seen Zoep answer with a 401...

cheers,

Chris

--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk

_______________________________________________
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db