update Issues setting ip and ip_local gone, might cause rtmp republishing issue?

Hi

We see some strange behaviour when trying to update our server to latest version .

Running 5.2.576 everything is good

upgrading to latest 5.2.755 the ip adresses configured in the flasphoner properties file is removed
ip=
ip_local=

Everytime we enter the ip adresse saving the file and restarting webcallserver it´s gone

Adding rtc_ip and rtc_local works but rtmp republishing(rest api) stops working

Tried several versions and the newest working version for us is 5.2.670 same issue with 5.2.679

Server log shows

Code:
2:59:51,773 ERROR        ClientHandler - Thread-320 RTMP error [id: 0x5425ffa0, /127.0.0.1:33044]
java.net.SocketException: Invalid argument
        at sun.nio.ch.Net.connect0(Native Method)
        at sun.nio.ch.Net.connect(Net.java:454)
        at sun.nio.ch.Net.connect(Net.java:446)
        at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:648)
        at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink.connect(Unknown Source)
        at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink.eventSunk(Unknown Source)
        at com.flashphoner.server.remote.D.M.handleDownstream(Unknown Source)
        at org.jboss.netty.channel.Channels.connect(Unknown Source)
        at org.jboss.netty.channel.AbstractChannel.connect(Unknown Source)
        at org.jboss.netty.bootstrap.ClientBootstrap.connect(Unknown Source)
        at org.jboss.netty.bootstrap.ClientBootstrap.connect(Unknown Source)
        at com.flashphoner.server.remote.D.K$1.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:748)
12:59:51,775 ERROR        RtmpPublisher - Thread-320 error creating client connection: Invalid argument
 

Max

Administrator
Staff member
Good day.
There is a problem with IP adresses detection in Google cloud compatible VM instances (Yandex.Cloud for example). We already work on it in ticket WCS-2867 and let you know when fix it.
As workaround, you can set ip and ip_local parameters manually, then add the following parameter to flashphoner.properties file
Code:
hold_ip_settings=true[/ICODE]
This disables IP addresses automatic detection, so parameters manyally set will not be overwritten.
 

Max

Administrator
Staff member
Good day.
We fixed the issue with IP ddresses detection in Google Cloud VM instances in build 5.2.759. Please update and check.
 
Top