bitshares / bitshares/beet-js

Fallback to localhost not working

Open
#27 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
8
Forks
14
Avg merge
7h 6m
Merged PRs (30d)
2

Description

By trying the samples i get this error:

Firefox can’t establish a connection to the server at wss://local.get-beet.io:60556/.

By watching the code the fallback flag is false:
https://github.com/bitshares/beet-js/blob/master/src/lib/socket.js#L3

By beet README:

While logged-in, Beet exposes a websocket API LOCALLY that can only be accessed by applications running on your computer ...

I think the default should be localhost, i am not sure why the fallback is there and why beet will expose to that url.

At least some docs for clarification about this should be needed, hosts should be maybe in a config file among other variables if we really need them(for me it should just need to try to connect to ws://localhost:60555)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.