You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the Issue
I have a docker compose setup as described in SELF_HOST.md. I have not configured supabase or authentication.
When I hit the crawl status endpoint I see the following error:
error [:]: Error occurred in request! (/v1/crawl/6ebe383b-742b-4098-9c41-a1213cdce1df) -- ID 35396e67f7b54070855f1eec0ac31994 -- {"message":"Supabase client is not configured.","name":"Error","stack":"Error: Supabase client is not configured.\n at Proxy.<anonymous> (/app/dist/src/services/supabase.js:41:23)\n at crawlStatusController (/app/dist/src/controllers/v1/crawl-status.js:154:14)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)"} {}
To Reproduce
Steps to reproduce the issue:
Configure the environment or settings without SUPABASE_URL (or I am using an empty value)
error [:]: Error occurred in request! (/v1/crawl/6ebe383b-742b-4098-9c41-a1213cdce1df) -- ID 35396e67f7b54070855f1eec0ac31994 -- {"message":"Supabase client is not configured.","name":"Error","stack":"Error: Supabase client is not configured.\n at Proxy.<anonymous> (/app/dist/src/services/supabase.js:41:23)\n at crawlStatusController (/app/dist/src/controllers/v1/crawl-status.js:154:14)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)"} {}
Additional Context
I have solved the issue by using the following check, going off what is done in other endpoints (crawlCancelController for example) this seems the right thing to do when no supabase is configured:
Just came across this same issue in relation to the /extract endpoint and was curious what the plan is.
Currently, disabling db authentication means nothing is stored to supabase, so these two aspects are currently coupled together
Should firecrawl be modified to support a single-user type mode for supabase using a self hosted or free instance?
Supabase would need to be initialized if it doesn't handle this already
Would need to create the supabase client even when db auth is disabled, but still allow storing data to supabase
Or, do we have the ability to create a supabase user manually for authentication in self hosted mode
Or, do we assume if db authentication is disabled that we just should return the results from the redis bull queue? (easiest option)
I found that I was able to pull the extract response from redis, rather than supabase, within extract-status.ts. I'm sure we could do the same for crawl. I went ahead and created a draft pull request with this change to review. See the changes to extract-status.ts.
Describe the Issue
I have a docker compose setup as described in
SELF_HOST.md
. I have not configured supabase or authentication.When I hit the crawl status endpoint I see the following error:
To Reproduce
Steps to reproduce the issue:
Expected Behavior
I expect a status 200 and a crawl result.
Environment (please complete the following information):
Logs
Additional Context
I have solved the issue by using the following check, going off what is done in other endpoints (
crawlCancelController
for example) this seems the right thing to do when no supabase is configured:at
firecrawl/apps/api/src/controllers/v1/crawl-status.ts
Lines 247 to 255 in 5894076
The text was updated successfully, but these errors were encountered: