CND - Connection refused

Hello!

Origin and Edge server has the same version: v.0.5.28.2753-5.2.616-5e416260aabc68145fb0f12bee30f94dffb277b4

We follow the example as describe here: https://flashphoner.com/dynamic-cdn-for-low-latency-webrtc-streaming/

But we got the follow errors and stream published on origin, CAN NOT BE played on edge server:

ERROR LOG @ORIGIN:
18:01:26,997 WARN MediaHandler - API-ASYNC-pool-12-thread-13 CDN no route


ERROR LOG @EDGE:
09:56,057 ERROR CDNNodes - Thread-1266 Failed to connect to node X.X.X.X
21:09:56,057 INFO C - CDNOutbound-BOSS-pool-34-thread-1 Exception on channel [id: 0x42f729c1], Connection refused
 

Max

Administrator
Staff member
Good day.
Please refer to this post for a minimum set of ports which must be opened on CDN nodes.
Also, you can open all ports on Origin to accept connections from Edge
Code:
iptables -A INPUT -s Edge_IP -j ACCEPT
and vice versa
Code:
iptables -A INPUT -s Origin_IP -j ACCEPT
 
Additional Information:

On ORIGIN, command show cdn-nodes or show cdn-routes returns empty.

On EDGE, comand show cdn-routes return empty and show cdn-nodes return:

ourdomain.com PASSIVE UNKNOWN ORIGIN 2.0 null
 

Max

Administrator
Staff member
Please gather reports from these servers and send to support@flashphoner.com
Code:
cd /usr/local/FlashphonerWebCallServer/tools
sudo ./report.sh --sysinfo --conf --tar
If you provide ssh access to servers, we will check configuration and run the CDN.
 
Important information:

After upgrade to latest version API MIXER stop working.
We revert to version v.0.5.28.2753-5.2.576-ca0eea1a20f3bfa6a7f932ba3cded7dcac30f59f and API back to work again.

Related to CND, we resolve the issue change FQDN to direct IP Address on configuration.
 
Top