-
Notifications
You must be signed in to change notification settings - Fork 811
System Error when running Ganache 2.0.0 on darwin #1231
Comments
Thanks for opening the issue, @TheRealPOTUS. We don't currently support binary data over websockets. Is it possible for you to transmit via utf8 instead? |
I'm not super knowledgeable about python websockets, but there doesn't appear to be a kwarg that can change the encoding from binary to utf-8. I attempted to switch to HTTPProvider instead of WebsocketProvider, but ganache throws a 403 on those requests. |
Can you share the exact output for the 403 error response here? |
|
Hmm. I didn't think Ganache itself ever returns a 403 status code. Are there any logs showing in Ganache's |
No, no logs showing there when this error pops. |
Hm. I'm not sure what is sending that 403 response. I've opened a PR to add binary websockets here to our core library: trufflesuite/ganache#410 Assuming our CI passes and code review goes well, it'll likely be another week (or two) until this is released in the next beta of Ganache UI. |
Awesome, thanks for that info -- I'll keep an eye on the PR and test it out as soon as it's released. Much prefer ganache to geth for testing on Mac. |
Attempting to establish a websocket connection from python-web3 using WebsocketProvider, receive the following error:
PLATFORM: darwin
GANACHE VERSION: 2.0.0
EXCEPTION:
APPLICATION LOG:
The text was updated successfully, but these errors were encountered: