[OpenSIPS-Users] Problem on load mediaproxy

Ruud Klaver ruud at ag-projects.com
Tue Jan 13 11:31:32 CET 2009


Hi,

On 08 Jan 2009, at 14:52, Alexandre Keller wrote:

> Hi there.
>
> Anyone, please, can help me?
>
> When I start mediaproxy the following messages appear.
>
> Jan  8 11:29:59 sip media-relay[2292]: [-] Log opened.
> Jan  8 11:29:59 sip media-relay[2292]: [-] Starting MediaProxy Relay  
> 2.3.1
> Jan  8 11:30:00 sip media-relay[2292]: [-] Set resource limit for  
> maximum open file descriptors to 11000
> Jan  8 11:30:00 sip media-relay[2292]: [-] fatal error: failed to  
> create MediaProxy Relay: Base64 unexpected header error.
> Jan  8 11:30:00 sip media-relay[2292]: [-] Traceback (most recent  
> call last):
> Jan  8 11:30:00 sip media-relay[2292]: [-]     --- <exception caught  
> here> ---
> Jan  8 11:30:00 sip media-relay[2292]: [-]       File "/usr/bin/ 
> media-relay", line 54, in <module>
> Jan  8 11:30:00 sip media-relay[2292]: [-]         relay =  
> MediaRelay()
> Jan  8 11:30:00 sip media-relay[2292]: [-]       File "/var/lib/ 
> python-support/python2.5/mediaproxy/relay.py", line 295, in __init__
> Jan  8 11:30:00 sip media-relay[2292]: [-]         self.cred =  
> X509Credentials(cert_name='relay')
> Jan  8 11:30:00 sip media-relay[2292]: [-]       File "/var/lib/ 
> python-support/python2.5/mediaproxy/tls.py", line 132, in __init__
> Jan  8 11:30:00 sip media-relay[2292]: [-]          
> twisted.X509Credentials.__init__(self, self.X509cert, self.X509key,  
> [self.X509ca], [self.X509crl])
> Jan  8 11:30:00 sip media-relay[2292]: [-]       File "/var/lib/ 
> python-support/python2.5/mediaproxy/tls.py", line 99, in __get__
> Jan  8 11:30:00 sip media-relay[2292]: [-]         return  
> descriptor.get()
> Jan  8 11:30:00 sip media-relay[2292]: [-]       File "/var/lib/ 
> python-support/python2.5/mediaproxy/tls.py", line 82, in get
> Jan  8 11:30:00 sip media-relay[2292]: [-]         self.object =  
> self.klass(f.read())
> Jan  8 11:30:00 sip media-relay[2292]: [-]       File "<string>",  
> line 1, in __init__
> Jan  8 11:30:00 sip media-relay[2292]: [-]
> Jan  8 11:30:00 sip media-relay[2292]: [-]       File "/var/lib/ 
> python-support/python2.5/gnutls/validators.py", line 273, in  
> check_args
> Jan  8 11:30:00 sip media-relay[2292]: [-]         return  
> func(*func_args)
> Jan  8 11:30:00 sip media-relay[2292]: [-]       File "/var/lib/ 
> python-support/python2.5/gnutls/crypto.py", line 240, in __init__
> Jan  8 11:30:00 sip media-relay[2292]: [-]          
> gnutls_x509_crl_import(self._c_object, byref(data), format)
> Jan  8 11:30:00 sip media-relay[2292]: [-]       File "/var/lib/ 
> python-support/python2.5/gnutls/library/errors.py", line 64, in  
> _check_status
> Jan  8 11:30:00 sip media-relay[2292]: [-]         raise  
> GNUTLSError(ErrorMessage(retcode))
> Jan  8 11:30:00 sip media-relay[2292]: [-]      
> gnutls.errors.GNUTLSError: Base64 unexpected header error.
>
> Thanks in advance
>
> -- 
> Atenciosamente,
>
> ALEXANDRE KELLER

There seems to be an error while reading one of the certificate files  
you specified. You should check if they are in the correct format.

Ruud Klaver
AG Projects



More information about the Users mailing list