trufflesuite / drizzle-legacy

Reactive Ethereum datastore for dapp UIs.
http://truffleframework.com/docs/drizzle/getting-started
MIT License
502 stars 129 forks source link

Fallback issue with infura ws #228

Closed n1c01a5 closed 5 years ago

n1c01a5 commented 5 years ago

I have some trouble with the drizzle fallback.

I have this error:

WebSocket connection to 'wss://kovan.infura.io/ws/v3/<project_id>' failed: Error during WebSocket handshake: Sent non-empty 'Sec-WebSocket-Protocol' header but no response was received

Here is my fallback options configuration for drizzle:

  web3: {
    fallback: {
      type: 'ws',
      url: wss://kovan.infura.io/ws/v3/<project_id>
    }
  }

How I can fix this?

cds-amal commented 5 years ago

@n1c01a5 This is a shot in the dark, but did you substitute the appropriate value for <project_id> according to the Infura Documentation? Otherwise I think it's probably the same as #186 .

n1c01a5 commented 5 years ago

@cds-amal of course I set up the (I put this intentionally). Yes it's the same issue than #186.