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

Correct custom hostname, port and ssl setting #42

Closed
softsimon opened this issue Jan 26, 2022 · 2 comments
Closed

Correct custom hostname, port and ssl setting #42

softsimon opened this issue Jan 26, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@softsimon
Copy link
Member

Make sure that mempool.js is configurable with custom hostname, port and HTTP/HTTPS and WS/WSS.

  • mempool.js defaults to HTTPS, it only switches to HTTP if the hostname contains the word 'localhost'
  • umbrel.local requires port 3006 to be specified (you can fake this by entering hostname 'umbrel@local:3006', but the umbrel example omits this
  • once these two issue are overcome, mempool.js is hardcoded to WSS, so even if type hostname 'umbrel.local:3006' the connection is over WSS, and needs to be WS
@softsimon softsimon added the bug Something isn't working label Jan 26, 2022
@softsimon softsimon changed the title Allow Correct custom hostname, port and ssl setting Jan 26, 2022
@brunoAmado
Copy link

Make sure that mempool.js is configurable with custom hostname, port and HTTP/HTTPS and WS/WSS.

* mempool.js defaults to HTTPS, it only switches to HTTP if the hostname contains the word 'localhost'

* umbrel.local requires port 3006 to be specified (you can fake this by entering hostname 'umbrel@local:3006', but the umbrel example omits this

* once these two issue are overcome, mempool.js is hardcoded to WSS, so even if type hostname 'umbrel.local:3006' the connection is over WSS, and needs to be WS

+1

@mempool mempool deleted a comment from Classof08615 Feb 20, 2024
@mempool mempool deleted a comment from 123ENR93 Feb 20, 2024
@mempool mempool deleted a comment from RaySwag522 Feb 20, 2024
@softsimon
Copy link
Member Author

Solved with #174

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants
@brunoAmado @softsimon and others