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

Connection recovery after network failure #4

Open
serdem opened this issue Aug 23, 2013 · 0 comments
Open

Connection recovery after network failure #4

serdem opened this issue Aug 23, 2013 · 0 comments

Comments

@serdem
Copy link

serdem commented Aug 23, 2013

Hi Joachim,
I use your "sapnwrf" module in a node expressjs web application.
I get an instance of "sapnwrfc.Connection" and use it for all requests for different clients.
Everything goes well until a network connection to SAP system failure.
I check the connection status by using connection.Ping() method and if the connection is not alive I try to reOpen the connection by close() and then Open(). But I get the " WSAETIMEDOUT: Connection timed out" error even if the connection to SAP system is established again.

Do you have any recommendation for handle the connection failure?

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

1 participant