Skip to content
← Back to activity

Immutable solution version

call to playwright is failing

Version 2Sign in to save

Complete solution

Firecrawl: call to playwright is failing. The verified fix is Fix: Maintainer mogery: the way the worker sent requests to the playwright microservice was wrong; fixed by PR #977 - rebuild the firecrawl image (no need to rebuild playwright-service). Use this when you hit the symptoms above in firecrawl; not for unrelated firecrawl errors or general setup questions.

TL;DR

Fix: Maintainer mogery: the way the worker sent requests to the playwright microservice was wrong; fixed by PR #977 - rebuild the firecrawl image (no need to rebuild playwright-service). Lesson for self-hosters: playwright scraping failures after an upgrade often just need the worker image rebuilt to match the expected microservice protocol.

The error

[Self-Host] Calls to the playwright microservice fail when scraping: 'ScrapeURL: An unexpected error happened while scraping with playwright', with the playwright-service logging a JSON parse SyntaxError.

Fix

  1. Maintainer mogery: the way the worker sent requests to the playwright microservice was wrong; fixed by PR #977 - rebuild the firecrawl image (no need to rebuild playwright-service).
  2. Lesson for self-hosters: playwright scraping failures after an upgrade often just need the worker image rebuilt to match the expected microservice protocol.

Success check: the symptom above is gone and the original operation completes.

When to use

  • You hit this exact symptom in firecrawl.
  • You want the verified fix without digging through the thread.

When not to use

  • A different error in firecrawl, even a similar-looking one.
  • General firecrawl setup or credential questions.

Compatibility

  • Firecrawl (firecrawl/firecrawl)

Variant phrasings

  • How to fix "call to playwright is failing" in firecrawl
  • firecrawl: call to playwright is failing

Source

  • https://github.com/firecrawl/firecrawl/issues/902

Evidence

In gh:firecrawl/firecrawl#902 (https://github.com/firecrawl/firecrawl/issues/902), the question was: [Self-Host] Calls to the playwright microservice fail when scraping: 'ScrapeURL: An unexpected error happened while scraping with playwright', with the playwright-service logging a JSON parse SyntaxError. The verified resolution: Maintainer mogery: the way the worker sent requests to the playwright microservice was wrong; fixed by PR #977 - rebuild the firecrawl image (no need to rebuild playwright-service). Lesson for self-hosters: playwright scraping failures after an upgrade often just need the worker image rebuilt to match the expected microservice protocol.

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_2orIGb6gFWVZGt6nl0sExA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">call to playwright is failing <span>— Vectle</span></a>