Re: [tryton] Client connection problem

2013-07-20 Thread Axel Braun
Am Freitag, 19. Juli 2013, 21:00:15 schrieb Cédric Krier: File /usr/lib64/python2.7/httplib.py, line 371, in _read_status raise BadStatusLine(line) Is this a bug, or a follow-up on the connection problem? The known_hosts file must be fixed

Re: [tryton] Client connection problem

2013-07-20 Thread Dr. Axel Braun
Hello, Am Freitag, 19. Juli 2013, 12:55:39 schrieb Mark Hayden: So to summarize - db user name is not required if user und which trytond runs and db-owner are the same. in this case the user is 'tryton' This is what I understand now as well. If no user name is present then the user

[tryton] Client connection problem

2013-07-19 Thread Axel Braun
Hi, I have a similar probem as reported recently on the list (unfortunately without result) I have set up a new server (2.8.1) and configured it accordingly. The server is listening on 8000: de-dd-srv-1325:~ # netstat -tupan | grep python tcp0 0 0.0.0.0:80000.0.0.0:*

Re: [tryton] Client connection problem

2013-07-19 Thread Jesús Martín Jiménez
2013/7/19 Axel Braun axel.br...@gmx.de Hi, I have a similar probem as reported recently on the list (unfortunately without result) I have set up a new server (2.8.1) and configured it accordingly. The server is listening on 8000: de-dd-srv-1325:~ # netstat -tupan | grep python tcp

Re: [tryton] Client connection problem

2013-07-19 Thread Jean C
...I was looking for this mysterious pg_hba.conf file but could not spot it. Any idea if this is the reason, or what to try? Depends on your OS. On Mint (and ubunu I guess), it is in /etc/postgresql/9.1/main Jean CAVALLO Coopengo

Re: [tryton] Client connection problem

2013-07-19 Thread Tejas
Hello, Please manage your database parameters in tryton config file. On Fri, Jul 19, 2013 at 5:11 PM, Axel Braun axel.br...@gmx.de wrote: Hi, I have a similar probem as reported recently on the list (unfortunately without result) I have set up a new server (2.8.1) and configured it

Re: [tryton] Client connection problem

2013-07-19 Thread Axel Braun
Am Freitag, 19. Juli 2013, 14:16:28 schrieb Jesús Martín Jiménez: ...and the role for user tryton was changed with a new password: srv-1325:~ # su postgres postgres@de-dd-srv-1325:/root psql -c ALTER ROLE tryton WITH PASSWORD 'DBAdminPasswort'; do you mean the password ends with

Re: [tryton] Client connection problem

2013-07-19 Thread Jesús Martín Jiménez
2013/7/19 Axel Braun axel.br...@gmx.de Hi, I have a similar probem as reported recently on the list (unfortunately without result) I have set up a new server (2.8.1) and configured it accordingly. The server is listening on 8000: de-dd-srv-1325:~ # netstat -tupan | grep python tcp

Re: [tryton] Client connection problem

2013-07-19 Thread Axel Braun
Am Freitag, 19. Juli 2013, 14:43:03 schrieb Jesús Martín Jiménez: Could you give us your tryton.config and your /etc/postgresql/9.1/main/pg_hba.conf files? Sure. In openSUSE, I found the pg_hba.conf file in between in /var/lib/pgsql/data # Put your actual configuration here #

Re: [tryton] Client connection problem

2013-07-19 Thread Cédric Krier
On 19/07/13 14:54 +0200, Axel Braun wrote: Am Freitag, 19. Juli 2013, 14:43:03 schrieb Jesús Martín Jiménez: # Configure the database connection ## Note: Only databases owned by db_user will be displayed in the connection dialog ## of the Tryton client. db_user must have create permission

Re: [tryton] Client connection problem

2013-07-19 Thread Mark Hayden (local)
On Fri, 2013-07-19 at 14:54 +0200, Axel Braun wrote: Am Freitag, 19. Juli 2013, 14:43:03 schrieb Jesús Martín Jiménez: Could you give us your tryton.config and your /etc/postgresql/9.1/main/pg_hba.conf files? Sure. In openSUSE, I found the pg_hba.conf file in between in

Re: [tryton] Client connection problem

2013-07-19 Thread Axel Braun
Am Freitag, 19. Juli 2013, 15:44:02 schrieb Cédric Krier: On 19/07/13 14:54 +0200, Axel Braun wrote: Am Freitag, 19. Juli 2013, 14:43:03 schrieb Jesús Martín Jiménez: # Configure the database connection ## Note: Only databases owned by db_user will be displayed in the connection dialog

Re: [tryton] Client connection problem

2013-07-19 Thread Mark Hayden (local)
On Fri, 2013-07-19 at 17:33 +0200, Cédric Krier wrote: On 19/07/13 09:27 -0600, Mark Hayden (local) wrote: On Fri, 2013-07-19 at 14:54 +0200, Axel Braun wrote: There is more to it than pg_hba however. If you notice in the comments of this file it subtly reminds you of this. Besides the

Re: [tryton] Client connection problem

2013-07-19 Thread Cédric Krier
On 19/07/13 15:56 +0200, Axel Braun wrote: Am Freitag, 19. Juli 2013, 15:44:02 schrieb Cédric Krier: On 19/07/13 14:54 +0200, Axel Braun wrote: Am Freitag, 19. Juli 2013, 14:43:03 schrieb Jesús Martín Jiménez: # Configure the database connection ## Note: Only databases owned by db_user

Re: [tryton] Client connection problem

2013-07-19 Thread Cédric Krier
On 19/07/13 10:13 -0600, Mark Hayden (local) wrote: On Fri, 2013-07-19 at 17:33 +0200, Cédric Krier wrote: # Configure the database connection ## Note: Only databases owned by db_user will be displayed in the connection dialog ## of the Tryton client. db_user must have

Re: [tryton] Client connection problem

2013-07-19 Thread Axel Braun
Am Freitag, 19. Juli 2013, 18:34:22 schrieb Cédric Krier: Only if you want to use TCP socket. That makes sense. How about username and password? Axel's file had peer for auth method in pg_hba for local (unix socket) connections which would get the user name from the

Re: [tryton] Client connection problem

2013-07-19 Thread Mark Hayden (local)
On Fri, 2013-07-19 at 19:20 +0200, Axel Braun wrote: Am Freitag, 19. Juli 2013, 18:34:22 schrieb Cédric Krier: Only if you want to use TCP socket. That makes sense. How about username and password? Axel's file had peer for auth method in pg_hba for local (unix socket)

Re: [tryton] Client connection problem

2013-07-19 Thread Cédric Krier
On 19/07/13 19:20 +0200, Axel Braun wrote: Am Freitag, 19. Juli 2013, 18:34:22 schrieb Cédric Krier: So I tried to create a db via the client, and get a dump after entering the server-IP: File /usr/lib/python2.7/site-packages/tryton/gui/window/dbcreate.py, line 70, in server_change