Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drachtio stops communicating with app #15

Open
WhiteyDude opened this issue Sep 8, 2019 · 1 comment
Open

Drachtio stops communicating with app #15

WhiteyDude opened this issue Sep 8, 2019 · 1 comment

Comments

@WhiteyDude
Copy link

Hi Dave,

I've just had a scenario where the drachtio server simply stops communicating with the Javascript application (drachtio-srf). I have the standard errors in my Javascript, but no output in the logs.

Looking through drachtio.log, I can't see much to point me in the right direction. Is there any indication anywhere of what information is sent to the registered application, what happens if it unregisters, etc?

Thanks!

@davehorton
Copy link
Owner

There isn't much logging when a drachtio app disconnects from the server -- just a single log message that a client tcp connection has closed. Usually when connections are lost between the client app and server it is because the client disconnected, and if this was unexpected most commonly you will see an exception on the client side.

I don't completely understand what you are observing when you say you see the "standard errors" in the javascript. If you have logs from the server and the app at the time the connection was lost, please post as that may be useful.

I have a few other questions:

  • are you using inbound or outbound connections from the app ?
  • how long was the connection up when it was lost or dropped?
  • was there any traffic over the connection at that time, or was it idle?
  • is it possible there is a firewall between the client app and server that knocked down the connection due to lack of activity?

with regard to the last question, note the "ping-pong" feature I added recently to keep connections open that a firewall may otherwise terminate:

https://drachtio.org/releases?type=drachtio-srf&page=4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants