health
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Health] GNU Health 3.2 - Could not connect server


From: Mario Puntin
Subject: Re: [Health] GNU Health 3.2 - Could not connect server
Date: Fri, 14 Jul 2017 12:17:26 -0300

Hi!

2017-07-14 12:04 GMT-03:00 Khurram Shahzad <address@hidden>:


On Fri, Jul 14, 2017 at 3:56 PM, Luis Falcon <address@hidden> wrote:
Dear Khurram

On Fri, 14 Jul 2017 10:30:07 +0500
Khurram Shahzad <address@hidden> wrote:

> Dear All,
>
> After installing GNU Health 3.2 in virtual environment, I am able to
> start trytond and can see the following last line in the log:
>
> *23324 139852617877248 [2017-07-14 03:50:30,892] INFO werkzeug  *
> Running on http://localhost:8000/ <http://localhost:8000/> (Press
> CTRL+C to quit)*
>
> However, when I connect when I connect from Tryton 4.2 client, client
> shows error 'Could not connect to the server'. The log shows the
> following line:
>
>
>
> *'23324 139852519048960 [2017-07-14 03:51:14,490] INFO werkzeug
> 172.29.2.217 - - [14/Jul/2017 03:51:14] "POST / HTTP/1.1" 200 -*
> I don't see anything else to troubleshoot. As per installation guide
> from Wikibooks, I am also unable to find the following line in log:
>
Some possible reasons :

* Make sure that you have the right settings on the postgreSQL server
  authentication. More info:
  https://en.wikibooks.org/wiki/GNU_Health/Installation#Verify_PostgreSQL_authentication_method
  )
 
******* From pg_hba.conf of Postgresql:
local   all             all                                    trust


* Make sure you have the correct settings for the JSONRPC protocol.
  More info in :
  https://en.wikibooks.org/w/index.php?title=GNU_Health/Installation&stable=1#Activate_Network_Devices_for_the_JSON-RPC_Protocol

******* From tryton.conf:
[database]
uri = postgresql://localhost:5432
path = /home/gnuhealth/attach

[web]
listen = *:8000

[webdav]
listen = *:8080
ssl_webdav = False


Let us know if that worked.

PS: When dealing with issues, please specify client and server version,
postgres and python version, as well as Operating system / distro specs,
so we have a better picture.

Client: Tryton 4.2.5 on windows (also tried using Tryton 4.2 from Ubuntu)
Server:  trytond-4.2.5
DB Server: Postgresql 9.6
Operating System: Ubuntu 17.04
Python: 3.5.3

I haven't tried yet, but the official doc says GNU Health 3.2 needs Python >= 3.6

https://en.wikibooks.org/wiki/GNU_Health/Installation#Requirements

 

Thank you for the reply. It looks like werkzeug is not further connecting to tryton server / database.


--
 
Regards,
Khurram.

Bests,
Mario Puntin


reply via email to

[Prev in Thread] Current Thread [Next in Thread]