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

Custom network with HTTP Basic Auth didn't work #7236

Closed
zulhfreelancer opened this issue Oct 1, 2019 · 2 comments
Closed

Custom network with HTTP Basic Auth didn't work #7236

zulhfreelancer opened this issue Oct 1, 2019 · 2 comments

Comments

@zulhfreelancer
Copy link

metamask

My private chain node RPC URL is something like this:

"http://username:[email protected]"

It's running on port 80 but with HTTP Basic Auth. When I try to add it to MetaMask, I got the screenshot above.

Expected behavior
Able to connect without any problem.

Screenshots
See above.

Browser details (please complete the following information):

  • OS: Mac OS 10.12.6
  • Browser: Firefox 69.0.1 (64-bit)
  • MetaMask: v7.2.2

I think this is a bug. If I'm wrong, please share to me the right way to connect to a node with HTTP Basic Auth like this. Thanks.

@0xTimepunk
Copy link

0xTimepunk commented Mar 4, 2020

Bump to this. Happening the same to me.

This issue only happens in Firefox. Chrome and Brave work fine.

Editing the headers of a request of Metamask in about:debugging to http://username:[email protected]

Allows the request to proceed (currently the requests go as http://the.node.ip.address, even if you set them as http://username:[email protected] in metamask)

@bdresser

@tmashuang
Copy link
Contributor

related to #9791, also fixed by headers.

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

No branches or pull requests

4 participants