Hi Cédric,
Looks like an issue I've met a couple of times without being able to pinpoint or reproduce it in a controlled env, I'll check this more closely.
I'll look at the double ats run too. This one is new to me though.
Thanks,
-seb
--
You received this message because you are subscribed to the Google Groups "Testerman Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to testerman-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Cedric Legoux| Senior VOIP System Engineer |
Telcoinabox Operations Pty Limited | Level 10, 9 Hunter Street | Sydney, NSW 2000
--
You received this message because you are subscribed to a topic in the Google Groups "Testerman Users Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/testerman-users/4Yb2LsvZ19Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to testerman-use...@googlegroups.com.
Cedric Legoux| Senior VOIP System Engineer |
Telcoinabox Operations Pty Limited | Level 10, 9 Hunter Street | Sydney, NSW 2000
Cedric Legoux| Senior VOIP System Engineer |
Telcoinabox Operations Pty Limited | Level 10, 9 Hunter Street | Sydney, NSW 2000
Cedric Legoux| Senior VOIP System Engineer |
Telcoinabox Operations Pty Limited | Level 10, 9 Hunter Street | Sydney, NSW 2000
Hi Cédric,
Gald you found a workaround to the VE problem. However this looks like the same kind of problem as for the filewatcher probe not stopping correctly, because being stuck in glob.glob(): in both case we hang in a import in a thread. So we can expect other problems like this one.What's interesting is that it is possible to run the TE directly from the command like, from an unzipped TE egg, with:python ./main.py : the wrapper that import ats, repository deps and run ats/main_te.py : won't work (hangs in import)cd ats ; export PYTHONPATH=repository/... ; python main_te.py : will work correctly ! (no problem when importing modules, in the VE case an import when looking to decode the unicode address as a possible "idna" (international domain name)).There is something I don't understand about these imports for sure (yet it used to work with at least an unidentified python version).
2014-05-08 6:46 GMT+02:00 Cedric Legoux <ced...@telcoinabox.com>:
Hi Seb,I found the issue with the virtual endpoint. Somewhere down the road the ATS parameters are encoded in unicode and this value was given in unicode to the probe. It seems that the sendto method does not like unicode encoded ip address.I am now looking at the dual ATS issue. It seems that the xml message is send twice. One with the previous TCP connection and one with a new TCP connection. Server only answers on the new one but it seems that he handles both request of scheduling the ATS... I am still trying to understand why.I will let you know.Regards,Cedric
Cedric Legoux| Senior VOIP System Engineer |
<image001.jpg>
Telcoinabox Operations Pty Limited | Level 10, 9 Hunter Street | Sydney, NSW 2000
On 5 May 2014 14:22, Cedric Legoux <ced...@telcoinabox.com> wrote:
Hi Seb,From my tests it seems that socket.sendto() hangs in the context of the virtual endpoint.I still can't explain it though. I tried to reproduce with a simple ptc but without success.I still haven't found which difference leads to this issue.I will keep looking on my free time.Regards,Cedric
Cedric Legoux| Senior VOIP System Engineer |
<image001.jpg>
Telcoinabox Operations Pty Limited | Level 10, 9 Hunter Street | Sydney, NSW 2000
On 5 May 2014 09:00, Cedric Legoux <ced...@telcoinabox.com> wrote:
Thanks Seb,For the SIP VE PTC problem, I am just using the sample ats as present in GIT.even if in the log the probe "seems" sending the SIP packet if I make a tcpdum I can't see anything and the probe does not seems to receive it neither.I will have a deeper look today again. I am suspecting a similar problem as FileWatcher probe as it was working before...maybe something with Python 2.7 that I am also using today.To reproduce in my case:sample.atsTC_SIPVE_API_VE2VErun standard/default profile.I will let you know If I find something.Thanks again.Regards,Cedric
Cedric Legoux| Senior VOIP System Engineer |
<image001.jpg>
Telcoinabox Operations Pty Limited | Level 10, 9 Hunter Street | Sydney, NSW 2000
The testerman client is supposed to maintain a XMLRPC (HTTP) connection alive to the server for performance reason - this really improves things when running the Ws interface on a slow link (server on one site, client on another one).This is supposed to work flawlessly (of course :-) when both the client and server are running a Python 2.7 version, from which the XMLRPC default server/client implementation supports HTTP 1.1 keep-alive.Mixing a 2.7 client with a 2.6 server is indeed untested, though the client should detect that HTTP/1.1 KA is not supported by the server.FixedSimpleXMLRPCServer may be useless starting with a certain version of Python 2.6, not sure I've tested with 2.6.6 at the time. Can you test with the standard SimpleXMLRPCServer (TestermanServer.py:43 : make the condition always false so that we always use the python distrib's SimpleXMLRPCServer module) ?thanks,
-seb
2014-05-08 7:29 GMT+02:00 Cedric Legoux <ced...@telcoinabox.com>:
Hi seb,Found the issue for my double ATS. I am running python 2.6.6 on my server and it seems that it does not like FixedSimpleXMLRPCServer...not sure which version should use this file though.Regards,Cedric
Cedric Legoux| Senior VOIP System Engineer |
<image001.jpg>
Telcoinabox Operations Pty Limited | Level 10, 9 Hunter Street | Sydney, NSW 2000
On 8 May 2014 14:46, Cedric Legoux <ced...@telcoinabox.com> wrote:
Hi Seb,I found the issue with the virtual endpoint. Somewhere down the road the ATS parameters are encoded in unicode and this value was given in unicode to the probe. It seems that the sendto method does not like unicode encoded ip address.I am now looking at the dual ATS issue. It seems that the xml message is send twice. One with the previous TCP connection and one with a new TCP connection. Server only answers on the new one but it seems that he handles both request of scheduling the ATS... I am still trying to understand why.I will let you know.Regards,Cedric
Cedric Legoux| Senior VOIP System Engineer |
<image001.jpg>
Telcoinabox Operations Pty Limited | Level 10, 9 Hunter Street | Sydney, NSW 2000
On 5 May 2014 14:22, Cedric Legoux <ced...@telcoinabox.com> wrote:
Hi Seb,From my tests it seems that socket.sendto() hangs in the context of the virtual endpoint.I still can't explain it though. I tried to reproduce with a simple ptc but without success.I still haven't found which difference leads to this issue.I will keep looking on my free time.Regards,Cedric
Cedric Legoux| Senior VOIP System Engineer |
<image001.jpg>
Telcoinabox Operations Pty Limited | Level 10, 9 Hunter Street | Sydney, NSW 2000
On 5 May 2014 09:00, Cedric Legoux <ced...@telcoinabox.com> wrote:
Thanks Seb,For the SIP VE PTC problem, I am just using the sample ats as present in GIT.even if in the log the probe "seems" sending the SIP packet if I make a tcpdum I can't see anything and the probe does not seems to receive it neither.I will have a deeper look today again. I am suspecting a similar problem as FileWatcher probe as it was working before...maybe something with Python 2.7 that I am also using today.To reproduce in my case:sample.atsTC_SIPVE_API_VE2VErun standard/default profile.I will let you know If I find something.Thanks again.Regards,Cedric
Cedric Legoux| Senior VOIP System Engineer |
<image001.jpg>
Telcoinabox Operations Pty Limited | Level 10, 9 Hunter Street | Sydney, NSW 2000
Cedric Legoux| Senior VOIP System Engineer |
Telcoinabox Operations Pty Limited | Level 10, 9 Hunter Street | Sydney, NSW 2000
Cedric Legoux| Senior VOIP System Engineer |
Telcoinabox Operations Pty Limited | Level 10, 9 Hunter Street | Sydney, NSW 2000
Cedric Legoux| Senior VOIP System Engineer |
Telcoinabox Operations Pty Limited | Level 10, 9 Hunter Street | Sydney, NSW 2000
Cedric Legoux| Senior VOIP System Engineer |
Telcoinabox Operations Pty Limited | Level 10, 9 Hunter Street | Sydney, NSW 2000