Cannot connect with Sao

159 views
Skip to first unread message

PhiJ

unread,
Apr 18, 2016, 10:50:34 AM4/18/16
to tryton
Hello everybody,

I am new to Tryton and I have been working till now with GTK Client, but when I installed Sao and after I configured the config file, I can access to the login page but it doesn't show any database to select and if I write it, it doesn't connect. I have been trying all I could and reading each document that I found, but I couldn't find why this is happening. Anybody can help me?

(All the configuration is local for development, so there is no any connection to other machine)

This is my trytond.config:

[jsonrpc]
listen = *:8000
data = /home/user/.virtualenvs/tryton/sao

[database]
uri = postgresql://tryton:tryton@localhost:5432/
path = /home/user/.virtualenvs/tryton/trytond

auto_reload = True

Thank you in advance, best regards!

Cédric Krier

unread,
Apr 18, 2016, 11:35:31 AM4/18/16
to tryton
On 2016-04-18 07:42, PhiJ wrote:
> Hello everybody,
>
> I am new to Tryton and I have been working till now with GTK Client, but
> when I installed Sao and after I configured the config file, I can access
> to the login page but it doesn't show any database to select and if I write
> it, it doesn't connect. I have been trying all I could and reading each
> document that I found, but I couldn't find why this is happening. Anybody
> can help me?
>
> (All the configuration is local for development, so there is no any
> connection to other machine)

Did you followed the sao README?
Are you using the same series for sao and trytond?
Is there any error in the browser javascript console?

--
Cédric Krier - B2CK SPRL
Email/Jabber: cedric...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

PhiJ

unread,
Apr 18, 2016, 12:20:37 PM4/18/16
to tryton
 
Hello Cédric!
Thank you for your answer! I finally could find the problem thanks to one mate who helped me.
I needed to repleace the line: listen = *:8000 with: listen = 0.0.0.0:8000
After that, the databases appeared and I could connect.

So you can close this topic, and thank you again! Tryton is a great product :)
Best regards!

Cédric Krier

unread,
Apr 18, 2016, 12:50:31 PM4/18/16
to tryton
On 2016-04-18 09:11, PhiJ wrote:
> I needed to repleace the line: listen = *:8000 with: listen = 0.0.0.0:8000

'*' will make it listen on IPv6 if enable when '0.0.0.0' will force to
listen on IPv4.

PhiJ

unread,
Apr 19, 2016, 5:07:41 AM4/19/16
to tryton

Understood! Thank you so much to clarify me this topic!

Best regards.

Ray

unread,
Oct 13, 2016, 2:52:53 PM10/13/16
to tryton
Hi I have a similar problem.

Trytond is running (3.8). 
Tryton client can connect successfully, so everything with trytond and db seems ok. 

I have SAO 3.8 installed according to readme (same version series).

When opening SAO in browser, i get the login splash, but no database is displayed and i can do nothing. 

Any hints?

Cédric Krier

unread,
Oct 13, 2016, 4:55:05 PM10/13/16
to tryton
On 2016-10-10 13:40, Ray wrote:
> Hi I have a similar problem.
>
> Trytond is running (3.8).
> Tryton client can connect successfully, so everything with trytond and db
> seems ok.
>
> I have SAO 3.8 installed according to readme (same version series).
>
> When opening SAO in browser, i get the login splash, but no database is
> displayed and i can do nothing.
>
> Any hints?

You must check the browser console for any error message.

Dominique Chabord

unread,
Oct 14, 2016, 8:32:54 AM10/14/16
to try...@googlegroups.com
PhiJ and Ray :
if you want to learn how to install, secure and maintain a Tryton
server, then you're on track.

If you want to discover or use a already instance and benefit of some
security and backups, then we've put a self-service at
http://sisalp.com
There you get your own free instance with only a mail address.

regards
Reply all
Reply to author
Forward
0 new messages