[OpenSIPS-Users] Mediaproxy 2.1.0 on Red Hat/CentOS

John Quick John.Quick at smartvox.co.uk
Wed Nov 26 17:17:41 CET 2008

After installing a bunch of packages and libraries, media-dispatcher is
almost running, but I get the following error:

Log opened.
 Starting MediaProxy Dispatcher 2.1.0
 Twisted is using selectreactor
 fatal error: failed to create MediaProxy Dispatcher: ASN1 parser: Element
was not found.
 Traceback (most recent call last):
     --- <exception caught here> ---
       File "./media-dispatcher", line 52, in ?
         dispatcher = Dispatcher()
       File "/usr/local/mediaproxy-2.1.0/mediaproxy/dispatcher.py", line
449, in __init__
         self.cred = X509Credentials(cert_name='dispatcher')
       File "/usr/local/mediaproxy-2.1.0/mediaproxy/tls.py", line 132, in
         twisted.X509Credentials.__init__(self, self.X509cert, self.X509key,
[self.X509ca], [self.X509crl])
       File "/usr/local/mediaproxy-2.1.0/mediaproxy/tls.py", line 99, in
         return descriptor.get()
       File "/usr/local/mediaproxy-2.1.0/mediaproxy/tls.py", line 82, in get
         self.object = self.klass(f.read())
       File "<string>", line 1, in __init__

       File "/usr/lib64/python2.4/site-packages/gnutls/validators.py", line
273, in check_args
         return func(*func_args)
       File "/usr/lib64/python2.4/site-packages/gnutls/crypto.py", line 82,
in __init__
       File "/usr/lib64/python2.4/site-packages/gnutls/library/errors.py",
line 64, in _check_status
         raise GNUTLSError(ErrorMessage(retcode))
     gnutls.errors.GNUTLSError: ASN1 parser: Element was not found.

It might be a problem with the libraries or packages - they have been very
difficult to find and install for CentOS. However, it looks more like a
problem with reading the certificates - I'm using the sample certs included
with the mediaproxy download. Any ideas or suggestions would be most
welcome. Thanks.
John Quick

More information about the Users mailing list