-
Notifications
You must be signed in to change notification settings - Fork 506
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
Failed to subscribe to new newBlockHeaders to confirm the transaction receipts. #19
Comments
Same issue here. I have tried to use |
Same issue here (using the Kovan network of Infura) when trying to authorize a transaction. |
I was checking the source and the problem is that the walletlink provider doesn't support websocket. One fast solution is to make this fix on your source.
With this fix, we force the Provider to connect to the chain only with https. |
Thanks!! :D |
Set client type based on User-Agent header
…LinkRelay & RelayAbstract (#19) * add scwConnector * use connector, subsequent requetss * rmv noisy enable call from testapp * delete scwrelay and move files * comment * close popup after addresses are recieved * cleanup * move subsequent request handler into private method * remember scw connection type, skip relay selection flow for subsequent requests * dont change testapp * fix return existing accounts condition * pr feedback * re-delete removed files after rebase * fix tests * lint * tsc * define ConnectorInterface * make providers connector more generic * rmv extension req handler * move scw request logic to connector * async * add back closeChildWindow * request and response typing and naming * rmv dead walletlink code for now
…LinkRelay & RelayAbstract (#19) * add scwConnector * use connector, subsequent requetss * rmv noisy enable call from testapp * delete scwrelay and move files * comment * close popup after addresses are recieved * cleanup * move subsequent request handler into private method * remember scw connection type, skip relay selection flow for subsequent requests * dont change testapp * fix return existing accounts condition * pr feedback * re-delete removed files after rebase * fix tests * lint * tsc * define ConnectorInterface * make providers connector more generic * rmv extension req handler * move scw request logic to connector * async * add back closeChildWindow * request and response typing and naming * rmv dead walletlink code for now
When I try to interact with my smart contracts and I wait the response with a promise or async , the conection web3 connected to the wallet walletlink throw this error:
I write a simple example, for test and appears the same error:
https://github.com/damarnez/walletlink_example
The line that we get the throw are :
await contracts.TestDani.methods.set(magicNumber).send({ from: address });
Is a simple transaction and wait the response from the chain. With others wallets works perfectly..
Feels like the problem is Infura doesn't allow newBlockHeaders by spec.https://infura.io/docs/#supported-json-rpc-methods
What can I do?
Infura : https://kovan.infura.io/v3/ ****
Web3 version : 1.2.1
WalletLink: 1.0.0
The text was updated successfully, but these errors were encountered: