IRC logs of #tryton for Friday, 2012-04-13

chat.freenode.net #tryton log beginning Fri Apr 13 00:00:02 CEST 2012
2012-04-13 01:21 -!- X-tonic(~bha1@115.248.130.148) has left #tryton
2012-04-13 04:32 -!- Mayank1(~mayank@122.162.7.168) has left #tryton
2012-04-13 04:55 -!- rhubner(~rhubner@177.16.101.123) has left #tryton
2012-04-13 10:12 <MarKsaitis> ;]
2012-04-13 10:16 <MarKsaitis> I am using tryton 2.2, all deps installed, ubuntu 12.04. self signed certs created by the guide, ssl enabled in config, srv restarted. tryton still doesnt want to listen to ssl port, no errors in the logs. why?
2012-04-13 10:16 <MarKsaitis> pls help
2012-04-13 10:32 <MarKsaitis> I swear the god, it doesnt work lol
2012-04-13 10:35 <udono> MarKsaitis: Hi, if you are on a new install, maybe it helps to remove ~/.config/tryton/2.2/known_hosts
2012-04-13 10:36 <MarKsaitis> udono, it listens on jsonrcp, but it doesnt listen on ssl_jsonrpc! which is the important bit! most important
2012-04-13 10:36 <MarKsaitis> ~/.config - where is that?
2012-04-13 10:36 <MarKsaitis> I know I did a good install
2012-04-13 10:37 <udono> MarKsaitis: then you need to edit the trytond.conf file usually found in /etc/
2012-04-13 10:38 <MarKsaitis> udono, its configured well. All deps installed and met =)
2012-04-13 10:38 <udono> MarKsaitis: when you say it doesnt listen on ssl_jsonrpc, it sounds not configured well to me ;-)
2012-04-13 10:39 <MarKsaitis> udono, http://pastebin.com/3KknAEjB - it is all right
2012-04-13 10:39 <MarKsaitis> look at my config, checked 10 times
2012-04-13 10:40 <MarKsaitis> var tryton logs dont display an error. netstat -pant doesnt say anything listens on 8001 at all
2012-04-13 10:41 <udono> does ssl_jsonrpc = True work? and using localhost:8000?
2012-04-13 10:41 <yangoon> MarKsaitis: ssl_jsonrpc is a boolean setting
2012-04-13 10:41 <yangoon> it will then listen on the jsonrpc port, but with ssl
2012-04-13 10:43 <MarKsaitis> yangoon, oh will it
2012-04-13 10:43 <MarKsaitis> lol =)
2012-04-13 10:44 <MarKsaitis> yangoon, so if I do True for it, how do I know whether my port 8000 is encrypted? Will it be unencrypted and encrypted for some connections?
2012-04-13 10:45 <yangoon> MarKsaitis: it will always be encrypted
2012-04-13 10:46 <MarKsaitis> yangoon, how do I verify?
2012-04-13 10:47 <udono> MarKsaitis: you will see a small yellow lock in the statusbar of the tryton client.
2012-04-13 10:49 <MarKsaitis> thank you udono , it seems it decided to listen now on ipv6 ... how do I make it ipv4
2012-04-13 10:49 <MarKsaitis> # Activate the json-rpc protocol
2012-04-13 10:49 <MarKsaitis> jsonrpc = *:8000
2012-04-13 10:49 <MarKsaitis> ssl_jsonrpc = True
2012-04-13 10:49 <MarKsaitis> netstat says it listens on ipv6 only, however is that strange
2012-04-13 10:50 <MarKsaitis> tcp6 0 0 :::8000
2012-04-13 10:50 <udono> MarKsaitis: Try with localhost:8000 or 0.0.0.0:8000
2012-04-13 10:50 <MarKsaitis> but log does now say its jsonrpc SSL :)
2012-04-13 10:51 <MarKsaitis> tcp 0 0 0.0.0.0:8000 and I cant connect
2012-04-13 10:51 <MarKsaitis> from remote host. The thing is that with no ssl it was fine
2012-04-13 10:51 <MarKsaitis> with ssl true it listens to ipv6 only
2012-04-13 10:51 <MarKsaitis> what is that supposed to mean =)
2012-04-13 10:53 <MarKsaitis> I can remotelly telnet to 8000 port, but it doesnt give any chars
2012-04-13 10:53 <MarKsaitis> tryton client says cant connect to the serv
2012-04-13 10:57 <udono> MarKsaitis: so try to remove ~/.config/tryton/2.2/known_hosts
2012-04-13 10:57 <MarKsaitis> udono, where is ~/.config ?
2012-04-13 10:58 <udono> ~/ is the home folder of the system user which starts tryton.
2012-04-13 10:58 <MarKsaitis> does client not need a certificate?
2012-04-13 10:58 <udono> like /home/marksaitis
2012-04-13 10:59 <MarKsaitis> udono, it's started under tryton user I believe, bu there is no /home/tryton
2012-04-13 10:59 <udono> MarKsaitis: no, it stores the fingerprint of the server. Once the fingerprint changes, it will no longer connect to the server. This happens when changing the connection from ssl to non ssl or vice versa.
2012-04-13 11:00 <MarKsaitis> and anyways, it's listening on port 8000, log says its jsonrcp SSL, but I cant connect using the client. If I remove ssl support, the it all works fine
2012-04-13 11:00 <udono> MarKsaitis: I talk about the user who starts the client, not the server.
2012-04-13 11:00 <MarKsaitis> udono, ok, then how do I tell my tryton client to just go and connect? bcs I tried connecting using 8000 no ssl, and then enabled ssl
2012-04-13 11:01 <MarKsaitis> oh! My client is on windows
2012-04-13 11:02 <MarKsaitis> do I delete that file?
2012-04-13 11:02 <MarKsaitis> or clear it?
2012-04-13 11:03 <MarKsaitis> works fine now!
2012-04-13 11:03 <MarKsaitis> Finally!
2012-04-13 11:03 <MarKsaitis> Things like that should be on the first page of quickstart guide!
2012-04-13 11:03 <MarKsaitis> thank you a MILLION
2012-04-13 11:04 <udono> MarKsaitis: Welcome.
2012-04-13 11:04 <MarKsaitis> udono, is there a web frontend too?
2012-04-13 11:05 <udono> MarKsaitis: Feel free to contriibute some documentation.
2012-04-13 11:05 <udono> MarKsaitis: No webfrontend.
2012-04-13 11:05 <MarKsaitis> ok
2012-04-13 14:08 -!- Mayank(~mayank@122.162.62.18) has left #tryton
2012-04-13 14:13 -!- Mayank(~mayank@122.162.62.18) has left #tryton
2012-04-13 19:53 -!- Mayank(~mayank@122.162.62.18) has left #tryton

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