AVideo
AVideo copied to clipboard
No idea. but I suspect it is something regarding your SSL
No idea. but I suspect it is something regarding your SSL
I will need more info about what you are doing and logs.
please open a new issue regarding this new problem
Originally posted by @DanielnetoDotCom in https://github.com/WWBN/AVideo/issues/6577#issuecomment-1124200624
Hello Daniel,
There were two issues, one on AVideo server, one on Remote Live Server, and partly SSL related. Initially had the following redirect from 80 to 443 on AVideo server:
<VirtualHost *:80> RewriteEngine on RewriteRule ^ - [E=protossl] RewriteCond %{HTTPS} on RewriteRule ^ - [E=protossl:s] RewriteCond %{HTTPS} !=on RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] </VirtualHost>
Went to another site I set up and there was no redirection on port 80, same as 443 without the SSL. This site has AVideo and Live on same metal box but guessing that makes no difference. Removing redirection on port 80 solved one problem. The other and in looking at live nginx error log, it was showing multiple client ip addresses from both the live and remote AVideo server. Both have multiple IP's bound and it was the primary on both machines that errored out. Adding "allow publish" with primary IP's in "application adaptive" section did the trick, and all worked as advertised.
Thanks again for all you do on this platform.
You should google for that but I will tell you what I use for myself
<VirtualHost *:80>
DocumentRoot "/var/www/html/AVideo"
ServerName mydomain.com
ServerAlias www.mydomain.com
RewriteEngine on
RewriteCond %{SERVER_NAME} =mydomain.com [OR]
RewriteCond %{SERVER_NAME} =www.mydomain.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>
the ServerName
is what makes it catches only the specific domain
Just tried yours and still doesn't work with remote nor local Live server. Live never shows up on AVideo when redirecting http to https.
Make sure you did not add any redirect on .htaccess or nginx.conf
I don't touch any of your .htaccess files. Nginx listens for rtmp on 1935, and https on 8443, that's it and no redirects.
You have this in your nginx.conf
on_publish http://tube.ourfreenation.org/plugin/Live/on_publish.php;
on_publish_done http://tube.ourfreenation.org/plugin/Live/on_publish_done.php;
on_play http://tube.ourfreenation.org/plugin/Live/on_play.php;
on_record_done http://tube.ourfreenation.org/plugin/Live/on_record_done.php;
if you want to redirect http://tube.ourfreenation.org to https://tube.ourfreenation.org without affecting your RTMP, try to use the IP instead of the domain on the Nginx on_* parameters
Maybe I am misunderstanding what is your issue. if you do not mind please explain again.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.