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

[Self-Host] when query self-host:3002/v1/scrape/ and request formats include screenshot would cause 500 error #1028

Open
Vvegetables opened this issue Dec 31, 2024 · 1 comment

Comments

@Vvegetables
Copy link

To Reproduce
Steps to reproduce the issue:

Firstly

system config keep default

Then

run this code
resp = requests.post(
    "http://127.0.0.1:3002/v1/scrape",
    json={
        "url": "https://www.gov.cn/zhengce/zhengceku/2022-08/12/content_5705154.htm",
        "formats": ["html", "screenshot"],
        "headers": {
            "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
        },
    },
    headers={"Authorization": "Bearer YOUR_API_KEY"},
)
print(resp.json())

client error log

{'success': False, 'error': "(Internal server error) - All scraping engines failed! -- Double check the URL to make sure it's not broken. If the issue persists, contact us at [email protected]."}

server error log

image

Environment (please complete the following information):

  • OS: [Windows 11]
  • Firecrawl Version: main feature
  • Node.js Version: [20-slim]
  • Docker Version (if applicable): [27.3.1]
@utopia2077
Copy link

same issue, seems that cause by 'screenshot'.

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

2 participants