Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

It is normal to use the command NPM run start in the local environment and can connect successfully But when I upload it to the server after use npm run build it, it can't connect successfully. What should I do #88

Open
BSCStakeCave opened this issue Mar 5, 2022 · 13 comments

Comments

@BSCStakeCave
Copy link

It is normal to use the command NPM run start in the local environment and can connect successfully But when I upload it to the server after use npm run build it, it can't connect successfully. What should I do

@filipe-te
Copy link

Hey V2swap! i got exactly the same Problem! On Localhost no issues.... on Sharehoster the QR-Code is useless

@aasswd
Copy link

aasswd commented Mar 7, 2022

Same issue here. I only encounter this when my iOS<15.0.

@filipe-te
Copy link

You guys use Mac M1 for the build?

@aasswd
Copy link

aasswd commented Mar 7, 2022

You guys use Mac M1 for the build?

I'm using Intel. Also on localhost using QR code I can get the Metamask connection prompt. But if I open it on my iphone safari, it will redirect me to Metamask, but no connection confirm prompt.

@aasswd
Copy link

aasswd commented Mar 7, 2022

After double-checking, open exactly https://example.walletconnect.org/ works fine... I suspect it might be a library version issue?

@filipe-te
Copy link

mh its super strange for that it works on Localhost ... but after build and put on sharehoster it wont work. I dont get it. Tried to build it with another Mac...didnt work aswell

@aasswd
Copy link

aasswd commented Mar 7, 2022

mh its super strange for that it works on Localhost ... but after build and put on sharehoster it wont work. I dont get it. Tried to build it with another Mac...didnt work aswell

What exactly isn't working? Did you use the exact code in this repo, and the QR code directs you to Metamask, but no connection prompt pops up?

@filipe-te
Copy link

On Localhost everything works. When I build it and put it on the internet and hit the WalletConnect button the QR code pops up as usual but when i scan it with my wallet (trust or metamask) nothing happens... Metamask on Browser works just fine.

@aasswd
Copy link

aasswd commented Mar 7, 2022

On Localhost everything works. When I build it and put it on the internet and hit the WalletConnect button the QR code pops up as usual but when i scan it with my wallet (trust or metamask) nothing happens... Metamask on Browser works just fine.

And if you just use example.walletconnect.org, does that work?

@filipe-te
Copy link

Sure that works with my Mobile Apps

@aasswd
Copy link

aasswd commented Mar 7, 2022

Sure that works with my Mobile Apps

Is your server deployment in http or https?

@filipe-te
Copy link

http

@filipe-te
Copy link

filipe-te commented Mar 7, 2022

changed to https now it works!! Thank you so much mate! :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants