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

Connect blocking #4

Open
Alcereo opened this issue Mar 17, 2018 · 1 comment
Open

Connect blocking #4

Alcereo opened this issue Mar 17, 2018 · 1 comment

Comments

@Alcereo
Copy link

Alcereo commented Mar 17, 2018

Hello.
I have tried to run sample tendermint app TMChatt, and encountered an error in an infinit lock on connection similar to this issue.

I have forked this repo, and make some test. I haven't been diving deep it to the problem. It's seem something wrong with org.glassfish.tyrus library. It lock in com.github.jtmsp.websocket.Websocket in reconnectWebsocket function on connect() line without any exceptions even there are no socket served by server. I think it strange behavior.

Anyway, to solve this, i've simply moved from org.glassfish.tyrus to org.java-websocket in com.github.jtmsp.websocket.Websocket. A have maked it dirty, only for run sample and good encapsulation maked it easy. And after that an issue had been solved. I've successfully runned sample chat app, and so on. It's all in my forked brunch

I've found you for some reason one day already moved from org.java-websocket. Thats why i've decided not to completed and pulled request. Anyway, I'm hope it will useful.

@wolfposd
Copy link
Contributor

im not experiencing any issues with glassfish.

also glassfish implements the standard javax.websocket interface, while org.java-websocket does not

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