IRC logs of #tryton for Monday, 2012-06-18

chat.freenode.net #tryton log beginning Mon Jun 18 00:00:01 CEST 2012
2012-06-18 15:39 <kernel> hi all
2012-06-18 15:41 <chun> I have tryton setup on box A, which seemed to be running fine. I am now trying to use box B in the same local network to connect to trytond, but i am getting stuck:(
2012-06-18 15:42 <chun> i can connect to the database on box A from box B with psql
2012-06-18 15:42 <chun> and i can telnet into port 8070 of box A from box B
2012-06-18 15:43 <chun> hope this make sense... would love to know where i am missing..:(
2012-06-18 15:44 <chun> when i fire up tryton client, next to the database field, it just says "could not connect to the server"
2012-06-18 15:44 <chun> i am not sure if that means the psql part, or trytond part..
2012-06-18 15:46 <cedk> chun: tryton can not connect to trytond
2012-06-18 15:50 <chun> cedk: and tryton-client?
2012-06-18 15:50 <chun> they are the same, i just found..
2012-06-18 15:51 <chun> cedk: so what should i be using to connect to trytond running on box A?
2012-06-18 15:51 <cedk> chun: tryton
2012-06-18 16:00 <cedk> chun: by the way, recent trytond listen on 8000
2012-06-18 16:08 <chun> cedk: thanks, tho i am a bit confused
2012-06-18 16:09 <chun> 14:46 < cedk> chun: tryton can not connect to trytond
2012-06-18 16:09 <chun> cedk: and i should still use tryton on box B for connecting to box A?
2012-06-18 16:11 <chun> cedk: is there a option on trytond.conf that i need to enable for accepting connection from outside?
2012-06-18 16:12 <cedk> chun: by default trytond listen on localhost, you must change to 0.0.0.0
2012-06-18 16:12 <chun> cedk: ok, let me have a look
2012-06-18 16:13 <chun> cedk: is it the netrpc setting?
2012-06-18 16:17 <cedk> chun: yes if you have an old version
2012-06-18 16:18 <chun> cedk: i have 1.6.1
2012-06-18 16:21 <chun> given current version is 2.4, i guess mine is *old*
2012-06-18 16:29 <chun> cedk: in the netrpc section of the conf file, i don't see where i could put 0.0.0.0
2012-06-18 16:29 <chun> cedk: or should it just be *:8070?
2012-06-18 16:32 <cedk> chun: with *:8070, it will listen on ipv6 if actives
2012-06-18 16:32 <cedk> chun: or 0.0.0.0:8070, it will listen on ipv4
2012-06-18 16:33 <chun> cedk: ok, thx, let me give it a try
2012-06-18 16:36 <chun> cedk: ok, so, with *: and 0.0.0.0, i can't connect within box A anymore, and connecting from box B doesn't work either:(
2012-06-18 16:51 <chun> cedk: what is jsonrpc?
2012-06-18 16:53 <cedk> chun: https://en.wikipedia.org/wiki/Jsonrpc
2012-06-18 16:54 <chun> cedk: oops, ok, thx;)
2012-06-18 17:15 <chun> cedk: aha....
2012-06-18 17:15 <chun> cedk: so i was trying to connect tryton 2.2.1 to 1.6.1
2012-06-18 17:15 <chun> cedk: now that i have made both of them the same version, all works now
2012-06-18 17:16 <chun> cedk: thanks for your help in any case
2012-06-18 19:50 -!- Mayank(~mayank@unaffiliated/mayank) has left #tryton

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!