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

NanoHTTPD websocket #574

Open
tcrowe opened this issue Aug 3, 2018 · 3 comments
Open

NanoHTTPD websocket #574

tcrowe opened this issue Aug 3, 2018 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@tcrowe
Copy link

tcrowe commented Aug 3, 2018

I'm running:

  • Which Aion version?: branch: testnet_q3_mastery, HEAD
  • Which operating system?: Unix, Linux
  • Which distributor and version?: Darwin OSX, Debian 9 (stretch)
  • How installed?: from source
  • Are you fully synchronized?: yes
  • Did you try to restart the node?: yes

There's no bug. I am wondering what has been the discussion so far.

I tried connecting with Web3.providers.WebsocketProvider but I realized that is not implemented on Aion.

I looked into it and found that Aion runs NanoHTTPD which reports to have websocket functionality. This may enable more features on web3 JS.

Web3 has a subscription feature. I don't see how I can make that work unless I poll the server which would be difficult to track the events that way.

I don't know what difficulty it would be for the Java devs or if it's necessary to have it.

Your thoughts?

@AionJayT
Copy link
Collaborator

AionJayT commented Aug 7, 2018

Thanks for your report, in the next release, we will replace the HTTP service implement. Let on we will try to let the feature in. Thanks.

@AionJayT AionJayT added the enhancement New feature or request label Aug 7, 2018
@tcrowe
Copy link
Author

tcrowe commented Aug 7, 2018

Thanks @AionJayT 👍

@qoire
Copy link
Contributor

qoire commented Sep 7, 2018

@JayT106 is this something you see happening on v0.3.2?

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

No branches or pull requests

4 participants