My FOP2 page auto refresh and I get a blank screen
-
-
Hi,
The page should never reload itself, unless there is a config modification involving adding or removing extensions from the panel. That is the only time FOP2 sever will force clients to reconnect. Are you using the latest FOP2 version? Are you changing/adding/removing extensions/devices/queues from your system ? -
-
It should not, I cannot say why it does. You can open the javascript console in your browser, and look for messages there when you notice the screen goes blank. That might give an idea of what could be happening.
There is a setting in /usr/local/fop2/fop2.cfg to set a client_timeout, that is the time FOP2 will kick sessions out for inactivity. If you have set that up, you can modify and set it to zero (but it is not really recommended, inactive clientes should be kicked out).
Best regards,
-
What about if you are losing the network connection due to inactivity. Nat states on some routers can be very short.
Nicolas: Is there keep alive traffic between the client and server?
Do you notice the connection being more stable when your phones are active (i.e. events and state changes?
Just a thought.
-
-
@mitch said:
Nicolas: Is there keep alive traffic between the client and server?
There are two keepalives, one at the websocket level, and another at the application level. A failure in either of them will cause the FOP2 client page to refresh. Only way to confirm/troubleshoot is to look at the developer/javascript console when the disconnection/blank page happens.
-
That's a great idea

@floza If the issue is indeed related to NAT closing sockets you can check with the network manager... on some routers NAT state keep alive (the mapping in the router which keeps track of active sessions) can often be tuned per port / service... so something like RTP which has short sessions can have a short lifetime, while something with less frequent traffic can have a longer one. Some routers automatically shorten the lifetime depending on the number of active sessions which can impact services with less traffic.
Hope that helps
-
-
-
-
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login