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
Can not sign in to quivr[Bug]: #2125
Comments
🤖 Hey @BabakSarf, great to see you back! Hope you're doing well. The issue you're experiencing seems to be related to the connection to your database. Your application is trying to connect to a database at The To resolve this issue, you need to ensure that your database is running and accessible at the address specified by You can set the # Set environment variables
ENV SUPABASE_URL=docker.host.internal:54321 Or in your Docker run command like this: docker run -e SUPABASE_URL=docker.host.internal:54321 -p 1337:3000 your-image-name Please replace Remember to replace As for the structure of the Quivr codebase and how it handles database connections, it does so through a configuration file located at I hope this helps! If you have any other questions or need further clarification, feel free to ask. Best, SourcesThis response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot. |
Thanks for your contributions, we'll be closing this issue as it has gone stale. Feel free to reopen if you'd like to continue the discussion. |
What happened?
When try to sign in to quiver get a message that can not fetch data
my backend supabase path for supabase is SUPABASE_URL=docker.host.internal:54321
but I get this error when try to reach the path
{oot@dd71254af9bf:/code# curl http://docker.host.internal:54321
curl: (6) Could not resolve host: docker.host.internal
root@dd71254af9bf:/code#
and I get the following error in docker log
TypeError: fetch failed
at Object.fetch (node:internal/deps/undici/undici:11730:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async globalThis.fetch (/app/.next/server/chunks/75.js:24:164766)
at async e7 (/app/.next/server/chunks/75.js:114:743265)
at async e8 (/app/.next/server/chunks/75.js:114:743009)
at async a (/app/.next/server/chunks/75.js:115:18067)
at async /app/.next/server/chunks/75.js:115:18322 {
cause: Error: connect ECONNREFUSED 127.0.0.1:54321
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)
at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:128:17) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 54321
}
}
e0 [AuthRetryableFetchError]: fetch failed
at e7 (/app/.next/server/chunks/75.js:114:743310)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async e8 (/app/.next/server/chunks/75.js:114:743009)
at async a (/app/.next/server/chunks/75.js:115:18067)
at async /app/.next/server/chunks/75.js:115:18322 {
__isAuthError: true,
status: 0
Relevant log output
No response
Twitter / LinkedIn details
No response
The text was updated successfully, but these errors were encountered: