Hello
Recently we've updated Flashphoner from version 5.2.1140 to 5.2.1536 in our servers (Linux Debian 10)
Since there, some times service don't get up after restart. Service start, open ports to listen, but do not responds on any port.
After many tries, and some sort of time, we do restart, and works. Seems like a intermittent issue.
After some investigation, we found the server is getting down by:
We already search at this forum for possible solutions, and the answers ask to check if server is listening in 8081 port, and if localhost is accessible on network. We can confirm these things:
We tried to run set permissions script, and worked for some server instances, but not to some. So, may be is not the root cause.
Any idea what could be?
Our License start with DB9E7D76-F2C1-40CB-XXXX-XXXXXXXXXXXX
The logs/server_logs/flashphoner.log is attached (confidential info removed).
Regards
Recently we've updated Flashphoner from version 5.2.1140 to 5.2.1536 in our servers (Linux Debian 10)
Since there, some times service don't get up after restart. Service start, open ports to listen, but do not responds on any port.
After many tries, and some sort of time, we do restart, and works. Seems like a intermittent issue.
After some investigation, we found the server is getting down by:
Code:
ERROR start - FlashphonerWebCallServer started, but is not healthy, please try to restart
We already search at this forum for possible solutions, and the answers ask to check if server is listening in 8081 port, and if localhost is accessible on network. We can confirm these things:
Bash:
userhost:~$ sudo service webcallserver restart
userhost:~$
userhost:~$ sudo netstat -nlp | grep 8081
tcp 0 0 0.0.0.0:8081 0.0.0.0:* LISTEN 92818/java
userhost:~$
userhost:~$ telnet localhost 8081
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
^]
telnet> quit
Connection closed.
userhost:~$
userhost:~$ ping localhost
PING localhost(localhost (::1)) 56 data bytes
64 bytes from localhost (::1): icmp_seq=1 ttl=64 time=0.027 ms
64 bytes from localhost (::1): icmp_seq=2 ttl=64 time=0.028 ms
64 bytes from localhost (::1): icmp_seq=3 ttl=64 time=0.031 ms
64 bytes from localhost (::1): icmp_seq=4 ttl=64 time=0.028 ms
64 bytes from localhost (::1): icmp_seq=5 ttl=64 time=0.030 ms
^C
--- localhost ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 85ms
rtt min/avg/max/mdev = 0.027/0.028/0.031/0.006 ms
userhost:~$
userhost:~$ curl --max-time 1 --insecure -s -i -w '%{http_code}' -o /dev/null http://localhost:8081/health-check
000
userhost:~$
userhost:~$
userhost:~$ curl --max-time 1 --insecure -s -i -w '%{http_code}' -o /dev/null http://localhost:8081/health-check
000
userhost:~$
userhost:~$
userhost:~$ curl --max-time 1 --insecure -s -i -w '%{http_code}' -o /dev/null http://localhost:8081/health-check -v
* Expire in 0 ms for 6 (transfer 0x5565885ddfb0)
* Expire in 1000 ms for 8 (transfer 0x5565885ddfb0)
* Expire in 1 ms for 1 (transfer 0x5565885ddfb0)
* Expire in 0 ms for 1 (transfer 0x5565885ddfb0)
* Expire in 0 ms for 1 (transfer 0x5565885ddfb0)
* Expire in 0 ms for 1 (transfer 0x5565885ddfb0)
* Trying ::1...
* TCP_NODELAY set
* Expire in 500 ms for 3 (transfer 0x5565885ddfb0)
* Expire in 200 ms for 4 (transfer 0x5565885ddfb0)
* connect to ::1 port 8081 failed: Connection refused
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 499 ms for 3 (transfer 0x5565885ddfb0)
* Connected to localhost (127.0.0.1) port 8081 (#0)
> GET /health-check HTTP/1.1
> Host: localhost:8081
> User-Agent: curl/7.64.0
> Accept: */*
>
* Operation timed out after 1000 milliseconds with 0 bytes received
* Closing connection 0
000
userhost:~$
userhost:~$
userhost:~$ sudo service webcallserver status
● webcallserver.service - Flashphoner WebCallServer
Loaded: loaded (/etc/systemd/system/webcallserver.service; disabled; vendor preset: enabled)
Active: deactivating (stop-sigterm) (Result: exit-code) since Thu 2023-01-26 18:27:16 EST; 19s ago
Process: 92202 ExecStart=/bin/bash webcallserver start (code=exited, status=1/FAILURE)
Main PID: 92202 (code=exited, status=1/FAILURE)
Tasks: 147 (limit: 14745)
Memory: 821.8M
CGroup: /system.slice/webcallserver.service
└─92818 java -Xmx26G -Xms26G -Djava.net.preferIPv4Stack=true -Djava.rmi.server.hostname=localhost -XX:ErrorFile=/usr/local/FlashphonerWebCallServer/logs/erro
Jan 26 18:27:13 host sudo[93267]: pam_unix(sudo:session): session opened for user flashphoner by (uid=0)
Jan 26 18:27:13 host sudo[93267]: pam_unix(sudo:session): session closed for user flashphoner
Jan 26 18:27:15 host sudo[93287]: root : TTY=unknown ; PWD=/usr/local/FlashphonerWebCallServer-5.2.1536/bin ; USER=flashphoner ; COMMAND=/usr/bin/echo -e [20
Jan 26 18:27:15 host sudo[93287]: pam_unix(sudo:session): session opened for user flashphoner by (uid=0)
Jan 26 18:27:15 host sudo[93287]: pam_unix(sudo:session): session closed for user flashphoner
Jan 26 18:27:16 host bash[92202]: ERROR: FlashphonerWebCallServer started, but is not healthy, please try to restart
Jan 26 18:27:16 host sudo[93300]: root : TTY=unknown ; PWD=/usr/local/FlashphonerWebCallServer-5.2.1536/bin ; USER=flashphoner ; COMMAND=/usr/bin/echo -e [20
Jan 26 18:27:16 host sudo[93300]: pam_unix(sudo:session): session opened for user flashphoner by (uid=0)
Jan 26 18:27:16 host sudo[93300]: pam_unix(sudo:session): session closed for user flashphoner
Jan 26 18:27:16 host systemd[1]: webcallserver.service: Main process exited, code=exited, status=1/FAILURE
userhost:~$
userhost:~$ cat /usr/local/FlashphonerWebCallServer/logs/startup.log
[2023-01-26 18:26:53] INFO checkJavaOptions - Checking JVM options
openjdk 12.0.2 2019-07-16
OpenJDK Runtime Environment (build 12.0.2+10)
OpenJDK 64-Bit Server VM (build 12.0.2+10, mixed mode)
[2023-01-26 18:26:54] INFO startAsCurrentUser - Starting FlashphonerWebCallServer-5.2.1536-60e42aeadad5da676c3b60ab972d89a27a1861e0 on debian 10
[2023-01-26 18:26:55] INFO waitForHealth - Will wait for server response at least 10 seconds
[2023-01-26 18:26:56] INFO isServerHealthy - Server health check response code:
[2023-01-26 18:26:58] INFO isServerHealthy - Server health check response code:
[2023-01-26 18:27:01] INFO isServerHealthy - Server health check response code:
[2023-01-26 18:27:03] INFO isServerHealthy - Server health check response code:
[2023-01-26 18:27:05] INFO isServerHealthy - Server health check response code:
[2023-01-26 18:27:07] INFO isServerHealthy - Server health check response code:
[2023-01-26 18:27:09] INFO isServerHealthy - Server health check response code:
[2023-01-26 18:27:11] INFO isServerHealthy - Server health check response code:
[2023-01-26 18:27:13] INFO isServerHealthy - Server health check response code:
[2023-01-26 18:27:15] INFO isServerHealthy - Server health check response code:
[2023-01-26 18:27:16] ERROR start - FlashphonerWebCallServer started, but is not healthy, please try to restart
Any idea what could be?
Our License start with DB9E7D76-F2C1-40CB-XXXX-XXXXXXXXXXXX
The logs/server_logs/flashphoner.log is attached (confidential info removed).
Regards
Attachments
-
9.4 KB Views: 132
Last edited: