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

URL Should be same protocol as request #765

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MeshariSA0
Copy link

  • In self-host we are running without https, however the response Next is always https.

Error Fixed:
HTTPSConnectionPool(host='172.18.0.8', port=3002): Max retries exceeded with url: /v1/crawl/6ebabc4e-6868-43da-a361-d1560dd55ce6?skip=125 (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1006)')))

@nickscamara
Copy link
Member

Thanks @MeshariSA0! Will try to get this in soon!

@mogery i believe we had an issue with req.protocol a while ago in prod, where req.protocol would always return http, hence the enforcement. We might wanna double check on why.

@MeshariSA0
Copy link
Author

MeshariSA0 commented Oct 14, 2024

Thanks @MeshariSA0! Will try to get this in soon!

@mogery i believe we had an issue with req.protocol a while ago in prod, where req.protocol would always return http, hence the enforcement. We might wanna double check on why.

This could be due to internal services communicating in HTTP, so the firecrawl-api container receives the request in HTTP protocol, so it always returns HTTP.

@busaud
Copy link
Contributor

busaud commented Oct 16, 2024

Thank you @MeshariSA0 for the solution, we have implemented it in our local deployment until this gets merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants