Skip to content

[Bug]: Identity based browsing fails #1445

@rollaroll

Description

@rollaroll

crawl4ai version

0.7.4

Expected Behavior

to create a new profile correctly.

Current Behavior

When I run this https://github.com/unclecode/crawl4ai/blob/main/docs/examples/identity_based_browsing.py example, An error message occurred while starting Chromium and the new profile could not be created.

Is this reproducible?

Yes

Inputs Causing the Bug

An error message appears when starting the Chromium browser, irrelevant to the input

Steps to Reproduce

use anaconda create a viroment with python 3.13.5
pip install crawl4ai
python ./identity_based_browsing.py

Code snippets

[https://github.com/unclecode/crawl4ai/blob/main/docs/examples/identity_based_browsing.py](url)

OS

Windows

Python version

3.13.5

Browser

Chrome

Browser version

139.0.7258.5

Error logs & Screenshots (if applicable)

[BROWSER]. ℹ Starting browser with args:
C:\Users\nyapas\AppData\Local\ms-playwright\chromium-1181\chrome-win\chrome.exe --remote-debugging-port=9222
--user-data-dir=C:\Users\nyapas.crawl4ai\profiles\test --disable-gpu --disable-gpu-compositing
--disable-software-rasterizer --no-sandbox --disable-dev-shm-usage --no-first-run --no-default-browser-check
--disable-infobars --window-position=0,0 --ignore-certificate-errors --ignore-certificate-errors-spki-list
--disable-blink-features=AutomationControlled --window-position=400,0 --disable-renderer-backgrounding
--disable-ipc-flooding-protection --force-color-profile=srgb --mute-audio --disable-background-timer-throttling
[ERROR]... × Browser process terminated during startup | Code: 0 | STDOUT: | STDERR:
[PROFILE]. ℹ Error creating profile: BrowserType.connect_over_cdp: Unexpected status 503 when connecting to
http://localhost:9222/json/version/.
This does not look like a DevTools server, try connecting via ws://.
Call log:

Metadata

Metadata

Assignees

Labels

⚙ DoneBug fix, enhancement, FR that's completed pending release🐞 BugSomething isn't working📌 Root causedidentified the root cause of bug

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions