MetaMask / MetaMask/metamask-extension

[Bug]: Can't connect ethereum network when you click the extension

Open
#32,522 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

external-contributor regression-prod-12.17.0 Sev3-low team-extension-platform type-bug
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

### Describe the bug

in chrome extension right click "This can read and change site data" choose "when you click the extension".
metamask cant connect to ethereum network even if i already click the extension. if choose "On all sites" can connect normally.

### Expected behavior

_No response_

### Screenshots/Recordings

_No response_

### Steps to reproduce

1. right click metamask extension "This can read and change site data"
2. change "on all sites" to "when you click the extension"
3. cant connect ethereum network, amount not updated.

### Error messages or log output

```shell

```

### Detection stage

In production (default)

### Version

12.17.0

### Build type

None

### Browser

Chrome

### Operating system

Windows

### Hardware wallet

_No response_

### Additional context

_No response_

### Severity

_No response_

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in Chrome using MetaMask 12.17.0 with the extension permission set to “when you click the extension,” then inspect the extension logs and connection behavior. Done means the Ethereum network connects and the amount updates normally under that permission setting, while still working with “On all sites.”

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.