eosrio / hyperion-stream-client

Streaming API Client
MIT License
2 stars 6 forks source link

The client does not connect and no error is thrown. #13

Open hadysysdev opened 1 year ago

hadysysdev commented 1 year ago

After updating to the latest hyperion stream client library i encounter the following scenarion

Used Hyperion Endpoint version: 3.7.7 with stream enabled Used Hyperion Stream client version: 1.0.3

Running the code provided on the readme page does noting

The only output is

[hyperion:debug] Connecting to .......

Using the older version with fetch works without a problem.

"@eosrio/hyperion-stream-client": "^0.4.0-beta.5", "node-fetch": "^2.6.1"

kylanhurt commented 1 year ago

I am also having this same issue!

igorls commented 1 year ago

The new version requires compatibility on the server side too, so unless your api endpoint is updated it won't work

kylanhurt commented 1 year ago

@igorls Where can we find out more about version compatibility? Does the server pretty much need the same version as the client?

igorls commented 1 year ago

Make sure you are forwarding the /stream path on the server side, after version 3.4 of the server we will move with matching versions