<div dir="ltr">Hi Adrian - thanks for getting back to me<div><br></div><div>I'm getting an unexpected error on apt-get update using the following in sources.list...</div><div><br></div><div>    # AG Projects software<br></div><div>    deb <a href="http://ag-projects.com/debian">http://ag-projects.com/debian</a> unstable main<br>    deb-src <a href="http://ag-projects.com/debian">http://ag-projects.com/debian</a> unstable main<br></div><div><br></div><div>...I get...</div><div><br></div><div>    Err:10 <a href="https://ag-projects.com/debian">https://ag-projects.com/debian</a> unstable Release<br>         404  Not Found [IP: 85.17.186.10 443]<br></div><div>    E: The repository '<a href="http://ag-projects.com/debian">http://ag-projects.com/debian</a> unstable Release' no longer has a Release file.<br></div><div><br></div><div>...I've checked with nmap and I can see port 443 on 85.17.186.10</div><div><br></div><div>I've set it to use 'buster' instead of 'unstable' ('buster' was previously giving me a similar error)...</div><div><br></div><div>    # AG Projects software<br>    deb <a href="http://ag-projects.com/debian">http://ag-projects.com/debian</a> buster main<br>    deb-src <a href="http://ag-projects.com/debian">http://ag-projects.com/debian</a> buster  main<br></div><div><br></div><div>...and that seems to now be working as I get...</div><div><br></div><div>    Hit:5 <a href="https://ag-projects.com/debian">https://ag-projects.com/debian</a> buster InRelease<br></div><div><br></div><div>...and when I install packages I'm seeing...</div><div><br></div><div>    Get:1 <a href="https://ag-projects.com/debian">https://ag-projects.com/debian</a> buster/main amd64 mediaproxy-common amd64 4.0.5buster [63.1 kB]<br>    Get:2 <a href="https://ag-projects.com/debian">https://ag-projects.com/debian</a> buster/main amd64 mediaproxy-dispatcher all 4.0.5buster [18.1 kB]<br>    Get:3 <a href="https://ag-projects.com/debian">https://ag-projects.com/debian</a> buster/main amd64 mediaproxy-relay all 4.0.5buster [18.6 kB]<br>    Fetched 99.8 kB in 0s (535 kB/s)<br></div><div><br></div><div>...so hopefully I'm good to go now. </div><div><br></div><div>Thanks for your help. I'll post a follow-up once I've got it up and running</div><div><br></div><div> </div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 6 Jan 2021 at 21:59, Adrian Georgescu <<a href="mailto:ag@ag-projects.com">ag@ag-projects.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">This was a bug.<div><br><div>You must update to the latest mediaproxy version:<div><br></div><div>sudo apt update </div><div>sudo apt install mediaproxy-relay mediaproxy-common mediaproxy-dispatcher</div><div><br></div><div>Regards,</div><div>Adrian<br><div><br><blockquote type="cite"><div>On 6 Jan 2021, at 12:59, Mark Allen <<a href="mailto:mark@allenclan.co.uk" target="_blank">mark@allenclan.co.uk</a>> wrote:</div><br><div><div dir="ltr"><div>Hi all - not sure what I'm missing here... </div><div><br></div><div>I'm installing Mediaproxy onto our Debian Buster box which is also running OpenSIPS 3.1 but when I start the relay I'm getting an error in syslog...</div><div><br></div>15:40:07 opensipsx media-relay[4983]: INFO     Starting MediaProxy Relay 4.0.4<br>15:40:07 opensipsx media-relay[4983]: INFO     Set resource limit for maximum open file descriptors to 11000<br>15:40:07 opensipsx media-relay[4983]: CRITICAL Failed to create MediaProxy Relay: name 'MediaRelayBase' is not defined<br>15:40:07 opensipsx media-relay[4983]: ERROR    Traceback (most recent call last):#012ERROR      File "/usr/bin/media-relay", line 100, in <module>#012ERROR        from mediaproxy.relay import MediaRelay#012ERROR      File "/usr/lib/python3/dist-packages/mediaproxy/relay.py", line 290, in <module>#012ERROR        class MediaRelay(MediaRelayBase):#012ERROR    NameError: name 'MediaRelayBase' is not defined<br>15:40:07 opensipsx systemd[1]: mediaproxy-relay.service: Main process exited, code=exited, status=1/FAILURE<br>15:40:07 opensipsx systemd[1]: mediaproxy-relay.service: Failed with result 'exit-code'.<br><div><br></div><div>I'm starting the relay with the command...</div><div><br></div><div>systemctl start mediaproxy-relay<br></div><div><br></div><div>...I installed Mediaproxy using the Debian package using the instructions at <a href="http://mediaproxy.ag-projects.com/installation-guide/" target="_blank">http://mediaproxy.ag-projects.com/installation-guide/</a> and <a href="https://github.com/AGProjects/mediaproxy" target="_blank">https://github.com/AGProjects/mediaproxy</a>. mediaproxy-dispatcher is starting successfully.</div><div><br></div><div>In the /etc/mediaproxy/config.ini file - everything is left at the default setting except for...</div><div><br></div><div>dispatchers = xxx.xxx.xxx.xxx<br></div><div>advertised_ip = xxx.xxx.xxx.xxx<br></div><div><br></div><div>Certificates are in place in /etc/mediaproxy/tls</div><div><br></div><div><br></div><div>Anybody got any ideas about where I've gone wrong????</div><div><br></div><div><br></div><div><br></div></div>
_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br></div></blockquote></div><br></div></div></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>