Giter Club home page Giter Club logo

Comments (5)

lmcmz avatar lmcmz commented on July 30, 2024 1

Same here.

from web-examples.

1648045459 avatar 1648045459 commented on July 30, 2024

Version v2.0.0-beta.57 reported the same error

from web-examples.

1648045459 avatar 1648045459 commented on July 30, 2024

localhost sends two requests:

wss://relay.walletconnect.com/?auth=eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJkaWQ6a2V5Ono2TWtpRm9lZ2tmWU0xWGljN0dLOVNDZzZWV2l2QmdyZjNTVVJSa1RKMkxNS1JmRSIsInN1YiI6InFmMTBnaiJ9.TTasr3ihVTC3_h1SCooExIy2DC19Uk6c52MU7xIndHycsPCAju1fq0_8b8IWFFEgRMCJ80Eef40SHZxS_fjjDw&env=browser&host=localhost%3A3000&projectId=64f46328e6659d165cac3948a9a3c88b&protocol=wc&version=2

https://relay.walletconnect.com/auth-nonce?did=did:key:z6MkiFoegkfYM1Xic7GK9SCg6VWivBgrf3SURRkTJ2LMKRfE

https://react-app.walletconnect.com/ only sends one request

wss://relay.walletconnect.com/?env=browser&host=react-app.walletconnect.com&projectId=e899c82be21d4acca2c8aec45e893598&protocol=wc&version=2

from web-examples.

bkrem avatar bkrem commented on July 30, 2024

Hi @1648045459,

Sorry to hear you were having trouble between beta versions when interfacing with the relay.

In principle there shouldn't be any difference in behaviour between the deployed examples and running locally (this is also how we cross-test wallet <-> dapp), assuming that all the dependencies are still aligned in version.

We have however had some important auth changes in the recent beta versions when interfacing with the relay, which have stabilised now with beta.102: https://github.com/WalletConnect/walletconnect-monorepo/releases/tag/2.0.0-beta.102

Could you please try the following and report if you're still experiencing this issue:

  1. Update your local copy of the main branch (or merge it into your own working branch) so that both the dapp and wallet examples are using beta.102.
  2. Do a clean slate install (e.g. rm -rf react-dapp-v2/node_modules && yarn)
  3. Check if connecting to the relay works and if you can interface with e.g. https://react-wallet.walletconnect.com as expected

The primary deployed examples have also been updated to beta.102:

from web-examples.

bkrem avatar bkrem commented on July 30, 2024

Moving this to the web-examples repo since this seems to be a configuration issue with examples rather than an explicit bug in the sign-client

from web-examples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.