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

Dan Pascu dan at ag-projects.com
Thu Nov 27 09:59:45 CET 2008


The version of libgnutls which the binary part of python-gnutls was 
compiled against is different from the one that is loaded at runtime.
You should install from source all dependencies if the OS doesn't provide 
the proper versions for you.

On Wednesday 26 November 2008, John Quick wrote:
> 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 __init__
>          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 __get__
>          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__
>          gnutls_x509_crt_init(byref(self._c_object))
>        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
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users



-- 
Dan



More information about the Users mailing list