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

How to handle on Error(ConnectException: Connection refused) #29

Open
carstenheisterkamp opened this issue Jan 30, 2023 · 2 comments
Open

Comments

@carstenheisterkamp
Copy link

Many thanks for providing this library! I have the following issue: when I start a prcessing sketch and the server is not running, it throws the above exception and the sketch crashes. I use nodejs as a websocket server and sending and rceiving works well. How can I handle the exception, so that at least the sketch does not crash?

@Alkarex
Copy link
Member

Alkarex commented Mar 9, 2023

Hello and sorry for the delay,
We do not have anyone maintaining this library at the moment #27 so volunteers welcome!

@janihorvath
Copy link

Hello @Alkarex ,

I have the same problem. If the server is up and running then it is all good, but in case it is terminated, the Processing sketch crashes. I've tried try-catch method, but does not work. Do you think there'll be any fix for this? Are there any volunteers? Unfortunately I'm not in the league to help.

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

3 participants