I think there are problems with the pg8000 driver -- you should switch to
psycopg2.
Anthony
On Tuesday, May 10, 2016 at 9:29:30 AM UTC-4, Laer Cius wrote:
>
> Nonw apache logs show this :
>
> [Tue May 10 14:35:29.351466 2016] [wsgi:error] [pid 12826] return
> self.driver.connect(**driver_args)
> [Tue May 10 14:35:29.351470 2016] [wsgi:error] [pid 12826] File
> "/home/user/public_html/machina/gluon/contrib/pg8000/__init__.py", line
> 336, in connect
> [Tue May 10 14:35:29.351474 2016] [wsgi:error] [pid 12826] user,
> host, unix_sock, port, database, password, ssl)
> [Tue May 10 14:35:29.351477 2016] [wsgi:error] [pid 12826] File
> "/home/user/public_html/machina/gluon/contrib/pg8000/core.py", line 969,
> in __init__
> [Tue May 10 14:35:29.351480 2016] [wsgi:error] [pid 12826] raise
> InterfaceError("communication error", exc_info()[1])
> [Tue May 10 14:35:29.351484 2016] [wsgi:error] [pid 12826]
> InterfaceError: ('communication error', error(13, 'Permission denied'))
> [Tue May 10 14:35:29.351487 2016] [wsgi:error] [pid 12826]
> [Tue May 10 14:35:29.351490 2016] [wsgi:error] [pid 12826]
>
> It brought me down to the gluon/contrib/pg8000/core.py line 943 :
> If I replace host and port in the socket self._usock.connect function, it
> leads to a "gateway timeout".. Which means an apache misconfig doesn't it ?
>
>
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.