flashphoner server - Not able to connect

gopal_apprik

New Member
Hi,
We followed below document to install flashphoner and we are using 30 day trial licence. But when we tried accessing https://164.52.205.246:8444/ on browser, its not connecting. (164.52.205.246 is public IP)
Can you please let us know what might be wrong?


Installed file: FlashphonerWebCallServer-5.2.868.tar.gz

Doc:
https://docs.flashphoner.com/display/WCS52EN/Quick+deployment+and+testing+of+the+server


— flashphoner.log ---

16:22:10,281 INFO PluginManager - main Initialized plugin Plugin[type=PasswordAuthenticationPlugin,interface=AuthenticationPlugin]
16:22:10,282 INFO A - main Booting SSHD
16:22:10,283 INFO C - main About to start CRaSSHD
16:22:10,285 INFO C - main CRaSSHD started on port 2002
16:22:10,285 INFO PluginManager - main Initialized plugin Plugin[type=A,interface=A]
16:22:10,288 INFO Server - main Listening TURN on address /164.52.205.246 port 3478
16:22:10,290 INFO SipTrunkConfig - main No sip trunk config, load default
16:22:10,290 INFO tchDogServerRegister - main Starting WatchDogServer ...
16:22:10,293 INFO tchDogServerRegister - main WatchDogServer is successfully started with name: com.flashphoner.jmx:type=WatchDogServer
16:22:10,345 INFO Server - main Post start took 52
16:22:15,082 INFO SipUserAgentListener - Timer-2 Remove by uri sip:sipLogin-49612985@164.52.205.246:30000
16:22:15,083 INFO SipProviders - Timer-2 Destroy sip provider by uri
16:22:15,084 INFO SipUserAgent - Timer-2 Shutdown instance. Count: 0 this: SIP UA: login: sipLogin assignedPort: 30000 listeningPort: 30000
 

Max

Administrator
Staff member
Hello

This is the first checks you can do to validate server launch:

1. Server is up and running
Code:
ps aux | grep java
2. Port 8444 is listening
Code:
netstat -nlp | grep java | grep 8444
3. Port 8444 is open on firewall and reachable
Code:
telnet 164.52.205.246
Additionally

Make sure port TCP 8443 is reachable and TCP/UDP media ports reachable too [31000 - 32000]
 

gopal_apprik

New Member
We tried all the below and it looks all the configurations are fine but still not able to connect, can you please suggest way forward?


[root@e2e-73-246 ~]# ps aux | grep java
flashph+ 1475 4.0 2.1 3013036 258444 ? Sl 19:29 0:16 java -Xmx1024M -XX:+UseConcMarkSweepGC -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=70 -Djava.net.preferIPv4Stack=true -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.port=50999 -Dcom.sun.management.jmxremote.host=localhost -Djava.rmi.server.hostname=localhost -XX:ErrorFile=/usr/local/FlashphonerWebCallServer/logs/error%p.log -XX:+PrintGCDateStamps -XX:+PrintGCDetails -Xloggc:/usr/local/FlashphonerWebCallServer/logs/gc-core-2020-12-30_19-29.log -XX:+ExplicitGCInvokesConcurrent -Dsun.rmi.dgc.client.gcInterval=36000000000 -Dsun.rmi.dgc.server.gcInterval=36000000000 -Dcom.flashphoner.fms.AppHome=/usr/local/FlashphonerWebCallServer -Djava.library.path=/usr/local/FlashphonerWebCallServer/lib/so:/usr/local/FlashphonerWebCallServer/lib -DWCS_NON_ROOT=true -DsessionDebugEnabled=false -Djdk.tls.client.protocols="TLSv1,TLSv1.1,TLSv1.2" -cp /usr/local/FlashphonerWebCallServer/lib/* com.flashphoner.server.Server
root 1689 0.0 0.0 112784 732 pts/0 S+ 19:36 0:00 grep --color=auto java



[root@e2e-73-246 ~]# netstat -nlp | grep java | grep 8444
tcp 0 0 0.0.0.0:8444 0.0.0.0:* LISTEN 1475/java



root@ip-172-31-10-228:~# telnet 164.52.205.246 8444
Trying 164.52.205.246...
Connected to 164.52.205.246.
Escape character is '^]’.
 

gopal_apprik

New Member
Below is the error log:
19:45:39,753 INFO A - main Booting SSHD
19:45:39,755 INFO C - main About to start CRaSSHD
19:45:39,756 INFO C - main CRaSSHD started on port 2002
19:45:39,756 INFO PluginManager - main Initialized plugin Plugin[type=A,interface=A]
19:45:39,757 INFO Server - main Listening TURN on address /164.52.205.246 port 3478
19:45:39,758 INFO SipTrunkConfig - main No sip trunk config, load default
19:45:39,759 INFO tchDogServerRegister - main Starting WatchDogServer ...
19:45:39,760 INFO tchDogServerRegister - main WatchDogServer is successfully started with name: com.flashphoner.jmx:type=WatchDogServer
19:45:39,805 INFO Server - main Post start took 45
19:45:43,757 WARN erSocketPipelineSink - HTTPS-BOSS-pool-4-thread-1 Failed to accept a connection.
java.lang.Error: Failed to initialize the server-side SSLContext
at com.flashphoner.server.ws.B.A.G(Unknown Source)
at com.flashphoner.server.ws.B.A.<init>(Unknown Source)
at com.flashphoner.server.ws.B.A.<init>(Unknown Source)
at com.flashphoner.server.ws.B.A$_A.<clinit>(Unknown Source)
at com.flashphoner.server.ws.B.A.H(Unknown Source)
at com.flashphoner.server.http.A.getPipeline(Unknown Source)
at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink$Boss.registerAcceptedChannel(Unknown Source)
at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink$Boss.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.FileNotFoundException: /home/zharkov/git/flashphoner/WCS/test/conf/wss.jks (No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at java.io.FileInputStream.<init>(FileInputStream.java:93)
at com.flashphoner.server.ws.B.A.F(Unknown Source)
... 11 more
19:45:44,531 INFO SipUserAgentListener - Timer-2 Remove by uri sip:sipLogin-811792733@164.52.205.246:30000
19:45:44,532 INFO SipProviders - Timer-2 Destroy sip provider by uri
19:45:44,533 INFO SipUserAgent - Timer-2 Shutdown instance. Count: 0 this: SIP UA: login: sipLogin assignedPort: 30000 listeningPort: 30000
19:46:13,793 WARN erSocketPipelineSink - HTTPS-BOSS-pool-4-thread-1 Failed to accept a connection.
java.lang.NoClassDefFoundError: Could not initialize class com.flashphoner.server.ws.B.A$_A
at com.flashphoner.server.ws.B.A.H(Unknown Source)
at com.flashphoner.server.http.A.getPipeline(Unknown Source)
at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink$Boss.registerAcceptedChannel(Unknown Source)
at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink$Boss.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
 
Top