mediaproxy: TLS unexpected length

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

mediaproxy: TLS unexpected length

erik pepermans
Bericht
Installed mediaproxy on centos - got following when starting dispatcher and relay :
 
Mar 16 02:33:05 ns1 media-dispatcher[21875]: [-] Log opened.
Mar 16 02:33:05 ns1 media-dispatcher[21875]: [-] Starting MediaProxy Dispatcher 2.3.2
Mar 16 02:33:05 ns1 media-dispatcher[21875]: [-] Twisted is using selectreactor
Mar 16 02:33:05 ns1 media-dispatcher[21875]: [-] mediaproxy.dispatcher.RelayFactory starting on 25060
Mar 16 02:33:05 ns1 media-dispatcher[21875]: [-] mediaproxy.dispatcher.OpenSIPSControlFactory starting on "'/var/run/mediaproxy/dispatcher.sock'"
Mar 16 02:33:05 ns1 media-dispatcher[21875]: [-] mediaproxy.dispatcher.ManagementControlFactory starting on 25061
Mar 16 02:33:46 ns1 media-relay[21925]: [-] Log opened.
Mar 16 02:33:46 ns1 media-relay[21925]: [-] Starting MediaProxy Relay 2.3.2
Mar 16 02:33:46 ns1 media-relay[21925]: [-] Set resource limit for maximum open file descriptors to 11000
Mar 16 02:33:46 ns1 media-relay[21925]: [-] Adding new dispatcher at 77.xx.xx.xxx:25060
Mar 16 02:33:46 ns1 media-dispatcher[21875]: [mediaproxy.dispatcher.RelayFactory] Connection from relay at 77.xx.xx.xxx
Mar 16 02:33:46 ns1 media-dispatcher[21875]: [mediaproxy.dispatcher.RelayFactory] Traceback (most recent call last):
Mar 16 02:33:46 ns1 media-dispatcher[21875]: [mediaproxy.dispatcher.RelayFactory]       File "/usr/lib64/python2.4/site-packages/twisted/python/log.py", line 69, in callWithContext
Mar 16 02:33:46 ns1 media-dispatcher[21875]: [mediaproxy.dispatcher.RelayFactory]         return context.call({ILogContext: newCtx}, func, *args, **kw)
Mar 16 02:33:46 ns1 media-dispatcher[21875]: [mediaproxy.dispatcher.RelayFactory]       File "/usr/lib64/python2.4/site-packages/twisted/python/context.py", line 59, in callWithContextMar 16 02:33:46 ns1 media-dispatcher[21875]: [mediaproxy.dispatcher.RelayFactory]         return self.currentContext().callWithContext(ctx, func, *args, **kw)
Mar 16 02:33:46 ns1 media-dispatcher[21875]: [mediaproxy.dispatcher.RelayFactory]       File "/usr/lib64/python2.4/site-packages/twisted/python/context.py", line 37, in callWithContext
Mar 16 02:33:46 ns1 media-dispatcher[21875]: [mediaproxy.dispatcher.RelayFactory]         return func(*args,**kw)
Mar 16 02:33:46 ns1 media-dispatcher[21875]: [mediaproxy.dispatcher.RelayFactory]       File "/usr/lib64/python2.4/site-packages/twisted/internet/selectreactor.py", line 146, in _doReadOrWrite
Mar 16 02:33:46 ns1 media-dispatcher[21875]: [mediaproxy.dispatcher.RelayFactory]         why = getattr(selectable, method)()
Mar 16 02:33:46 ns1 media-dispatcher[21875]: [mediaproxy.dispatcher.RelayFactory]     --- <exception caught here> ---
Mar 16 02:33:46 ns1 media-dispatcher[21875]: [mediaproxy.dispatcher.RelayFactory]       File "/usr/lib64/python2.4/site-packages/twisted/internet/tcp.py", line 938, in doRead
Mar 16 02:33:46 ns1 media-dispatcher[21875]: [mediaproxy.dispatcher.RelayFactory]         transport = self.transport(skt, protocol, addr, self, s, self.reactor)
Mar 16 02:33:46 ns1 media-dispatcher[21875]: [mediaproxy.dispatcher.RelayFactory]     exceptions.TypeError: __init__() takes exactly 6 arguments (7 given)Mar 16 02:33:46 ns1 media-relay[21925]: [Uninitialized] error: Could not connect to dispatcher at 77.xx.xx.xxx:25060 (retrying in 10 seconds): A TLS packet with unexpected length was received.
Mar 16 02:33:56 ns1 media-dispatcher[21875]: [mediaproxy.dispatcher.RelayFactory] Connection from relay at 77.xx.xx.xxx
Mar 16 02:33:56 ns1 media-dispatcher[21875]: [mediaproxy.dispatcher.RelayFactory] error: Connection to relay 77.xx.xx.xxx is already present, disconnectingMar 16 02:33:56 ns1 media-relay[21925]: [Uninitialized] error: Could not connect to dispatcher at 77.xx.xx.xxx:25060 (retrying in 10 seconds): A TLS packet with unexpected length was received.
please help

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: mediaproxy: TLS unexpected length

Ruud Klaver
Hi Erik,

On 16 Mar 2009, at 02:45, erik pepermans wrote:

> Installed mediaproxy on centos - got following when starting  
> dispatcher and relay :
>
> Mar 16 02:33:05 ns1 media-dispatcher[21875]: [-] Log opened.
> Mar 16 02:33:05 ns1 media-dispatcher[21875]: [-] Starting MediaProxy  
> Dispatcher 2.3.2
> Mar 16 02:33:05 ns1 media-dispatcher[21875]: [-] Twisted is using  
> selectreactor
> Mar 16 02:33:05 ns1 media-dispatcher[21875]: [-]  
> mediaproxy.dispatcher.RelayFactory starting on 25060
> Mar 16 02:33:05 ns1 media-dispatcher[21875]: [-]  
> mediaproxy.dispatcher.OpenSIPSControlFactory starting on "'/var/run/
> mediaproxy/dispatcher.sock'"
> Mar 16 02:33:05 ns1 media-dispatcher[21875]: [-]  
> mediaproxy.dispatcher.ManagementControlFactory starting on 25061
> Mar 16 02:33:46 ns1 media-relay[21925]: [-] Log opened.
> Mar 16 02:33:46 ns1 media-relay[21925]: [-] Starting MediaProxy  
> Relay 2.3.2
> Mar 16 02:33:46 ns1 media-relay[21925]: [-] Set resource limit for  
> maximum open file descriptors to 11000
> Mar 16 02:33:46 ns1 media-relay[21925]: [-] Adding new dispatcher at  
> 77.xx.xx.xxx:25060
> Mar 16 02:33:46 ns1 media-dispatcher[21875]:  
> [mediaproxy.dispatcher.RelayFactory] Connection from relay at  
> 77.xx.xx.xxx
> Mar 16 02:33:46 ns1 media-dispatcher[21875]:  
> [mediaproxy.dispatcher.RelayFactory] Traceback (most recent call  
> last):
> Mar 16 02:33:46 ns1 media-dispatcher[21875]:  
> [mediaproxy.dispatcher.RelayFactory]       File "/usr/lib64/
> python2.4/site-packages/twisted/python/log.py", line 69, in  
> callWithContext
> Mar 16 02:33:46 ns1 media-dispatcher[21875]:  
> [mediaproxy.dispatcher.RelayFactory]         return  
> context.call({ILogContext: newCtx}, func, *args, **kw)
> Mar 16 02:33:46 ns1 media-dispatcher[21875]:  
> [mediaproxy.dispatcher.RelayFactory]       File "/usr/lib64/
> python2.4/site-packages/twisted/python/context.py", line 59, in  
> callWithContextMar 16 02:33:46 ns1 media-dispatcher[21875]:  
> [mediaproxy.dispatcher.RelayFactory]         return  
> self.currentContext().callWithContext(ctx, func, *args, **kw)
> Mar 16 02:33:46 ns1 media-dispatcher[21875]:  
> [mediaproxy.dispatcher.RelayFactory]       File "/usr/lib64/
> python2.4/site-packages/twisted/python/context.py", line 37, in  
> callWithContext
> Mar 16 02:33:46 ns1 media-dispatcher[21875]:  
> [mediaproxy.dispatcher.RelayFactory]         return func(*args,**kw)
> Mar 16 02:33:46 ns1 media-dispatcher[21875]:  
> [mediaproxy.dispatcher.RelayFactory]       File "/usr/lib64/
> python2.4/site-packages/twisted/internet/selectreactor.py", line  
> 146, in _doReadOrWrite
> Mar 16 02:33:46 ns1 media-dispatcher[21875]:  
> [mediaproxy.dispatcher.RelayFactory]         why =  
> getattr(selectable, method)()
> Mar 16 02:33:46 ns1 media-dispatcher[21875]:  
> [mediaproxy.dispatcher.RelayFactory]     --- <exception caught here>  
> ---
> Mar 16 02:33:46 ns1 media-dispatcher[21875]:  
> [mediaproxy.dispatcher.RelayFactory]       File "/usr/lib64/
> python2.4/site-packages/twisted/internet/tcp.py", line 938, in doRead
> Mar 16 02:33:46 ns1 media-dispatcher[21875]:  
> [mediaproxy.dispatcher.RelayFactory]         transport =  
> self.transport(skt, protocol, addr, self, s, self.reactor)
> Mar 16 02:33:46 ns1 media-dispatcher[21875]:  
> [mediaproxy.dispatcher.RelayFactory]     exceptions.TypeError:  
> __init__() takes exactly 6 arguments (7 given)Mar 16 02:33:46 ns1  
> media-relay[21925]: [Uninitialized] error: Could not connect to  
> dispatcher at 77.xx.xx.xxx:25060 (retrying in 10 seconds): A TLS  
> packet with unexpected length was received.
> Mar 16 02:33:56 ns1 media-dispatcher[21875]:  
> [mediaproxy.dispatcher.RelayFactory] Connection from relay at  
> 77.xx.xx.xxx
> Mar 16 02:33:56 ns1 media-dispatcher[21875]:  
> [mediaproxy.dispatcher.RelayFactory] error: Connection to relay  
> 77.xx.xx.xxx is already present, disconnectingMar 16 02:33:56 ns1  
> media-relay[21925]: [Uninitialized] error: Could not connect to  
> dispatcher at 77.xx.xx.xxx:25060 (retrying in 10 seconds): A TLS  
> packet with unexpected length was received.
> please help

Please upgrade your python-gnutls to version 1.1.8, that should fix  
this issue.

Ruud Klaver
AG Projects

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users