GoogleChrome / GoogleChrome/lighthouse

Protocol error (Target.attachToTarget): No target with given id found

Open
#15,634 2 comments 0 reactions 0 assignees View on GitHub
bug needs-investigation needs-priority
Dominant language
JavaScript
Stars
30.8k
Forks
9.8k
Avg merge
1d 14h
Merged PRs (30d)
20

Description

### FAQ

- [X] Yes, my issue is not about [variability](https://github.com/GoogleChrome/lighthouse/blob/main/docs/variability.md) or [throttling](https://github.com/GoogleChrome/lighthouse/blob/main/docs/throttling.md).
- [X] Yes, my issue is not about a specific accessibility audit (file with [axe-core](https://github.com/dequelabs/axe-core) instead).

### URL

https://www.ratemds.com/best-doctors/on/toronto/urologist/

### What happened?

Protocol error (Target.attachToTarget): No target with given id found
The error message asks me to report this issue

### What did you expect?

That it provides a report

### What have you tried?

The error message asks me to report this issue

### How were you running Lighthouse?

Chrome DevTools

### Lighthouse Version

11.1.0

### Chrome Version

_No response_

### Node Version

_No response_

### OS

_No response_

### Relevant log output

```shell
Channel: DevTools
Initial URL: https://www.ratemds.com/best-doctors/on/toronto/urologist/
Chrome Version: 119.0.0.0
Stack Trace: Xe: Protocol error (Target.attachToTarget): No target with given id found
at (devtools://devtools/bundled/devtools-frontend/front_end/third_party/puppeteer/puppeteer.js:1:35288)
at new At (devtools://devtools/bundled/devtools-frontend/front_end/third_party/puppeteer/puppeteer.js:1:35327)
at Ot.create (devtools://devtools/bundled/devtools-frontend/front_end/third_party/puppeteer/puppeteer.js:1:35822)
at t._rawSend (devtools://devtools/bundled/devtools-frontend/front_end/third_party/puppeteer/puppeteer.js:1:36921)
at t.send (devtools://devtools/bundled/devtools-frontend/front_end/third_party/puppeteer/puppeteer.js:1:36872)
at t._createSession (devtools://devtools/bundled/devtools-frontend/front_end/third_party/puppeteer/puppeteer.js:1:38203)
at devtools://devtools/bundled/devtools-frontend/front_end/services/puppeteer/puppeteer.js:1:993
at Array.map ()
at PuppeteerConnectionHelper.connectPuppeteerToConnection (devtools://devtools/bundled/devtools-frontend/front_end/services/puppeteer/puppeteer.js:1:983)
at o (devtools://devtools/bundled/devtools-frontend/front_end/entrypoints/lighthouse_worker/lighthouse_worker.js?remoteBase=https%3A%2F%2Fchrome-devtools-frontend.appspot.com%2Fserve_file%2F%40eaa767197fa7dd412133d1b84f7eb60da43409c9%2F:1:1816)
```
```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the report in Chrome DevTools with Lighthouse 11.1.0 using the ratemds.com URL from the issue. Inspect the Target.attachToTarget error and the provided Puppeteer connection stack trace; done means Lighthouse produces a report instead of the reported protocol error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.