Skip to content
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

Not able to connect o metamask #2

Open
AteqEjaz opened this issue Jun 15, 2022 · 2 comments
Open

Not able to connect o metamask #2

AteqEjaz opened this issue Jun 15, 2022 · 2 comments

Comments

@AteqEjaz
Copy link

AteqEjaz commented Jun 15, 2022

Just added your plugin in cypress and when run test it shows following error

request to http://localhost:9222/json/version failed, reason: connect ECONNREFUSED ::1:9222

Any thoughts?

thanks.

@samwarwick
Copy link

I vaguely remember having this problem with localhost but can't remember how (if) I ever solved it. I found this link in my notes though: https://stackoverflow.com/questions/71363236/cypress-and-cypress-metamask-plugin-issue-connect-econnrefused-127-0-0-19222

@jtordgeman
Copy link

make sure you set CYPRESS_REMOTE_DEBUGGING_PORT=9222 in your ENV file (or just set the env variable to that before running yarn cy:open.

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

No branches or pull requests

3 participants