Server timeout and java.rmi.UnmarshalException

Garrett

New Member
We are experiencing 2 different issues with the WCS that are making it very difficult to use.

1) The first issue we ran into was that websocket connections to the WCS are timing out because the WCS is not sending ping commands to the client. We first noticed this in version 5.0.2367, and prior to that version we could see ping commands coming from the WCS and pong commands going back.

2) The second issue came up as a result of updating the WCS to try to fix the previous issue. We updated to version 5.0.2382 which is now returning the following error after attempting to publish a stream:
Code:
java.rmi.UnmarshalException: Error unmarshaling return; nested exception is: ↵    java.lang.ClassNotFoundException: org.springframework.dao.DataIntegrityViolationException (no security manager: RMI class loader disabled)
 

Max

Administrator
Staff member
Hi,
1) The first issue we ran into was that websocket connections to the WCS are timing out because the WCS is not sending ping commands to the client. We first noticed this in version 5.0.2367, and prior to that version we could see ping commands coming from the WCS and pong commands going back.
Can you show your server.properties content (keep_alive.*)?
2) The second issue came up as a result of updating the WCS to try to fix the previous issue. We updated to version 5.0.2382 which is now returning the following error after attempting to publish a stream:
Please, update your WCS to latest version, this issue should be fixed in 2384 build.
 

Max

Administrator
Staff member
1) The server.properties has
Code:
keep_alive.algorithm=NONE
because of issues with RTMP:
https://forum.flashphoner.com/threads/open-broadcast-software-as-stream-source.10949/
You can enable keep-alive algorithm only for specified protocols with:
Code:
keep_alive.enabled=websocket
2) We updated to 5.0.2387, but we are still running into the above mentioned error
Can you do clear install?
1) Backup conf- and database-directory.
2) Remove /usr/local/FlashphonerWebCallServer-5.0.2387 and symlink /usr/local/FlashphonerWebCallServer
3) Download latest build https://flashphoner.com/download-wcs5-server.tar.gz and install with ./install.sh
4) Copy back conf-directory without copying database.
5) Start server and check it again, please.
This issue may be caused by database.
 

Garrett

New Member
Alright, the first issue has been fixed from that configuration change you suggested.

However, we are still getting the error even after a clean install with the latest build. Here is the full error:
Code:
{
  message: "failed",
  data: [{
    apiMethod:"StreamStatusEvent"
    id:"8bdc55d0-7d2e-11e7-987d-532378a0b495"
    info:"java.rmi.UnmarshalException: Error unmarshaling return; nested exception is: ↵    java.lang.ClassNotFoundException: org.springframework.dao.DataIntegrityViolationException (no security manager: RMI class loader disabled)"
    status:"FAILED"
  }]
}
For the time being we are able to stay on version 5.0.2367 which seems to be stable, but the above issue is preventing us from updating.
 

Max

Administrator
Staff member
Are you using custom objects on REST? Can you provide some rtmp urls for example?
 
Last edited:
Top