-
Notifications
You must be signed in to change notification settings - Fork 1k
Encoder Error We could not found your streamer site!
This guide will help you fix the common encoder error message: "We could not find your streamer site" or similar connection errors between your encoder and streamer.
The encoder needs to communicate with your main AVideo site (streamer) to:
- Send encoded videos
- Verify permissions
- Update video status
When you see this error, it means the encoder cannot reach your streamer site. Think of it like trying to call someone but the phone line is blocked.
| Cause | Description |
|---|---|
| PHP Configuration | PHP is blocking connections to external URLs |
| Firewall | Network firewall is blocking the connection |
| Wrong URL | The streamer URL in encoder settings is incorrect |
| SSL Issues | HTTPS certificate problems |
By default, some PHP installations block connections to external websites. You need to enable this.
-
Find your php.ini file
php -i | grep "php.ini"
Usually located at:
/etc/php/8.1/apache2/php.ini -
Open php.ini for editing
sudo nano /etc/php/8.1/apache2/php.ini
-
Find and change these settings:
Look for
allow_url_fopenand set it toOn:allow_url_fopen = OnLook for
allow_url_includeand set it toOn:allow_url_include = On -
Save the file (in nano: press
Ctrl+X, thenY, thenEnter) -
Restart Apache
sudo systemctl restart apache2
Or:
sudo /etc/init.d/apache2 restart
-
Test again - Try encoding a video
Make sure the encoder knows where to find your streamer.
-
Go to your Encoder site (usually
https://yoursite.com/AVideo-Encoder/) -
Login as administrator
-
Check the Streamer URL setting
- It should be your main AVideo site URL
- Example:
https://yoursite.com/orhttps://yoursite.com/AVideo/
-
Make sure the URL:
- Starts with
http://orhttps:// - Ends with a
/(slash) - Is accessible from a browser
- Matches your actual site address
- Starts with
-
Save settings and test again
[Screenshot: Encoder settings showing Streamer URL field]
Your server firewall might be blocking the connection.
-
Check if you can reach the streamer from the encoder server
curl -I https://yourstreamersite.com/
You should see
HTTP/1.1 200 OKor similar. -
If using UFW firewall, allow outgoing connections:
sudo ufw allow out 80/tcp sudo ufw allow out 443/tcp
-
If encoder and streamer are on different servers, ensure ports are open:
- Port 80 (HTTP)
- Port 443 (HTTPS)
If your site uses HTTPS, certificate issues can cause this error.
curl -v https://yourstreamersite.com/Look for SSL errors in the output.
- Make sure your SSL certificate is valid and not expired
- If using self-signed certificates, you may need to disable SSL verification (not recommended for production)
- Ensure the domain name matches the certificate
If none of the above solutions work:
-
Check the logs on both encoder and streamer:
tail -n 200 -f /var/www/html/AVideo/videos/avideo.log tail -n 200 -f /var/www/html/AVideo-Encoder/videos/avideo.log
-
Verify both sites are running by opening them in a browser
-
Check for error messages in Apache logs:
tail -n 100 /var/log/apache2/error.log
-
Open a GitHub Issue with your error details: https://github.com/WWBN/AVideo/issues
-
allow_url_fopen = Onin php.ini -
allow_url_include = Onin php.ini - Apache restarted after changes
- Streamer URL is correct in encoder settings
- URL ends with
/ - Firewall allows outgoing connections
- SSL certificate is valid (if using HTTPS)
The Open Source Video Platform Solution
| Service | Description | Link |
|---|---|---|
| 🎯 | Professional Support - Direct assistance from core developers | Contact |
| ☁️ | AVideo CDN - High-performance video delivery network | Pricing |
AVideo Platform © 2024 - Self-hosted video streaming platform
Made with ❤️ by WWBN and the open source community