-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
There was an error processing your request: Custom error: Failed after 3 attempts. Last error: Internal Server Error #1178
Comments
same issue |
I think there is one more pointer missing the stack somewhere something that is not there yet, but it will come back in a couple of weeks. Want me to come over and look at it but I won’t minds if you come over and fetch me some thing tomorrow
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: RangerDj ***@***.***>
Sent: Sunday, January 26, 2025 11:36:06 AM
To: stackblitz-labs/bolt.diy ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [stackblitz-labs/bolt.diy] There was an error processing your request: Custom error: Failed after 3 attempts. Last error: Internal Server Error (Issue #1178)
same issue
—
Reply to this email directly, view it on GitHub<#1178 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BKYHL3QNY6PZXBZLA2E3QZT2MSUANAVCNFSM6AAAAABV4HYY56VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJUGI4TOMJSHE>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
same issue here. |
Just got problems with this very Model or with all models you try to use? See my video on youtube. Might help. Let me know if still issues. |
Hi, I resolved the issue by adding the following rules to the Ubuntu environment:
Additionally, make sure to add the default URL of Ollama in the .env or .env.local file like this: Hope this helps! |
@kareem-g Your solution works. Thanks a lot |
You're welcome! do you know how to make ollama runs on GPU instead of CPU? I use Ubuntu with GTX 1650 ti 4gb |
@kareem-g as far as I know by default tries to run on GPU. While running you can check for the GPU usage with this command Here is the supported GPU list: https://github.com/ollama/ollama/blob/main/docs/gpu.md |
I checked this page before, but it doesn't work it always uses the CPU. when i use small model like phi3 it uses GPU and sometimes CPU. idk why, I saw people runs on both CPU/GPU and I donnu how. the cpu is damn slow but it works fine and I use it inside vscode but I need to use GPU for faster results. my current CUDA Version:
|
Lol. I was able to fix it by running this command on terminal:
I wanna thank me hehe. xD |
I believe the issue is fixed |
Describe the bug
There was an error processing your request: Custom error: Failed after 3 attempts. Last error: Internal Server Error
im useing ollama with deepseek-r1:latest in Ubuntu and im geting this
DEBUG api.chat Total message length: 2, words
INFO LLMManager Getting dynamic models for Ollama
INFO LLMManager Got 3 dynamic models for Ollama
INFO stream-text Sending llm call to Ollama with model qwen2.5-coder:latest
DEBUG Ollama Base Url used: http://127.0.0.1:11434
ERROR api.chat AI_RetryError: Failed after 3 attempts. Last error: Internal Server Error
DEBUG api.chat Total message length: 2, words
INFO LLMManager Found 3 cached models for Ollama
INFO stream-text Sending llm call to Ollama with model qwen2.5-coder:latest
DEBUG Ollama Base Url used: http://127.0.0.1:11434
ERROR api.chat AI_RetryError: Failed after 3 attempts. Last error: Internal Server Error
ERROR LLMManager Error getting dynamic models Hyperbolic : Missing Api Key configuration for Hyperbolic provider
INFO LLMManager Caching 3 dynamic models for Ollama
Error: No baseUrl found for OLLAMA provider
at OllamaProvider.getDynamicModels (/home/loki/Downloads/bolt.diy-0.0.6/app/lib/modules/llm/providers/ollama.ts:58:13)
at loader (/home/loki/Downloads/bolt.diy-0.0.6/app/routes/api.models.ts:66:26)
at Object.callRouteLoader (/home/loki/Downloads/bolt.diy-0.0.6/node_modules/.pnpm/@remix-run[email protected][email protected]/node_modules/@remix-run/server-runtime/dist/data.js:59:22)
at handler (/home/loki/Downloads/bolt.diy-0.0.6/node_modules/.pnpm/@remix-run[email protected][email protected]/node_modules/@remix-run/server-runtime/dist/routes.js:54:39)
at actualHandler (/home/loki/Downloads/bolt.diy-0.0.6/node_modules/.pnpm/@remix-run[email protected]/node_modules/@remix-run/router/router.ts:4887:14)
at /home/loki/Downloads/bolt.diy-0.0.6/node_modules/.pnpm/@remix-run[email protected]/node_modules/@remix-run/router/router.ts:4901:13
at runHandler (/home/loki/Downloads/bolt.diy-0.0.6/node_modules/.pnpm/@remix-run[email protected]/node_modules/@remix-run/router/router.ts:4906:6)
at callLoaderOrAction (/home/loki/Downloads/bolt.diy-0.0.6/node_modules/.pnpm/@remix-run[email protected]/node_modules/@remix-run/router/router.ts:4963:22)
at Object.resolve (/home/loki/Downloads/bolt.diy-0.0.6/node_modules/.pnpm/@remix-run[email protected]/node_modules/@remix-run/router/router.ts:4814:11)
at map (/home/loki/Downloads/bolt.diy-0.0.6/node_modules/.pnpm/@remix-run[email protected]/node_modules/@remix-run/router/router.ts:4772:62)
at Array.map ()
at dataStrategyImpl (/home/loki/Downloads/bolt.diy-0.0.6/node_modules/.pnpm/@remix-run[email protected]/node_modules/@remix-run/router/router.ts:4772:49)
at callDataStrategyImpl (/home/loki/Downloads/bolt.diy-0.0.6/node_modules/.pnpm/@remix-run[email protected]/node_modules/@remix-run/router/router.ts:4835:23)
at callDataStrategy (/home/loki/Downloads/bolt.diy-0.0.6/node_modules/.pnpm/@remix-run[email protected]/node_modules/@remix-run/router/router.ts:3992:25)
at loadRouteData (/home/loki/Downloads/bolt.diy-0.0.6/node_modules/.pnpm/@remix-run[email protected]/node_modules/@remix-run/router/router.ts:3937:25)
at queryImpl (/home/loki/Downloads/bolt.diy-0.0.6/node_modules/.pnpm/@remix-run[email protected]/node_modules/@remix-run/router/router.ts:3696:26)
at Object.queryRoute (/home/loki/Downloads/bolt.diy-0.0.6/node_modules/.pnpm/@remix-run[email protected]/node_modules/@remix-run/router/router.ts:3629:24)
at handleResourceRequest (/home/loki/Downloads/bolt.diy-0.0.6/node_modules/.pnpm/@remix-run[email protected][email protected]/node_modules/@remix-run/server-runtime/dist/server.js:402:40)
at requestHandler (/home/loki/Downloads/bolt.diy-0.0.6/node_modules/.pnpm/@remix-run[email protected][email protected]/node_modules/@remix-run/server-runtime/dist/server.js:156:24)
at /home/loki/Downloads/bolt.diy-0.0.6/node_modules/.pnpm/@remix-run+dev@2.15.0_@remix-run[email protected][email protected]_react@[email protected]_typ_3djlhh3t6jbfog2cydlrvgreoy/node_modules/@remix-run/dev/dist/vite/cloudflare-proxy-plugin.js:70:31
at processTicksAndRejections (node:internal/process/task_queues:95:5)
ERROR LLMManager Error getting dynamic models Hyperbolic : Missing Api Key configuration for Hyperbolic provider
DEBUG api.chat Total message length: 2, words
INFO LLMManager Getting dynamic models for Ollama
INFO LLMManager Got 3 dynamic models for Ollama
INFO stream-text Sending llm call to Ollama with model deepseek-r1:latest
DEBUG Ollama Base Url used: http://127.0.0.1:11434
ERROR api.chat AI_RetryError: Failed after 3 attempts. Last error: Internal Server Error
Error: No baseUrl found for OLLAMA provider
at OllamaProvider.getDynamicModels (/home/loki/Downloads/bolt.diy-0.0.6/app/lib/modules/llm/providers/ollama.ts:58:13)
at loader (/home/loki/Downloads/bolt.diy-0.0.6/app/routes/api.models.ts:66:26)
at Object.callRouteLoader (/home/loki/Downloads/bolt.diy-0.0.6/node_modules/.pnpm/@remix-run[email protected][email protected]/node_modules/@remix-run/server-runtime/dist/data.js:59:22)
at handler (/home/loki/Downloads/bolt.diy-0.0.6/node_modules/.pnpm/@remix-run[email protected][email protected]/node_modules/@remix-run/server-runtime/dist/routes.js:54:39)
at actualHandler (/home/loki/Downloads/bolt.diy-0.0.6/node_modules/.pnpm/@remix-run[email protected]/node_modules/@remix-run/router/router.ts:4887:14)
at /home/loki/Downloads/bolt.diy-0.0.6/node_modules/.pnpm/@remix-run[email protected]/node_modules/@remix-run/router/router.ts:4901:13
at runHandler (/home/loki/Downloads/bolt.diy-0.0.6/node_modules/.pnpm/@remix-run[email protected]/node_modules/@remix-run/router/router.ts:4906:6)
at callLoaderOrAction (/home/loki/Downloads/bolt.diy-0.0.6/node_modules/.pnpm/@remix-run[email protected]/node_modules/@remix-run/router/router.ts:4963:22)
at Object.resolve (/home/loki/Downloads/bolt.diy-0.0.6/node_modules/.pnpm/@remix-run[email protected]/node_modules/@remix-run/router/router.ts:4814:11)
at map (/home/loki/Downloads/bolt.diy-0.0.6/node_modules/.pnpm/@remix-run[email protected]/node_modules/@remix-run/router/router.ts:4772:62)
at Array.map ()
at dataStrategyImpl (/home/loki/Downloads/bolt.diy-0.0.6/node_modules/.pnpm/@remix-run[email protected]/node_modules/@remix-run/router/router.ts:4772:49)
at callDataStrategyImpl (/home/loki/Downloads/bolt.diy-0.0.6/node_modules/.pnpm/@remix-run[email protected]/node_modules/@remix-run/router/router.ts:4835:23)
at callDataStrategy (/home/loki/Downloads/bolt.diy-0.0.6/node_modules/.pnpm/@remix-run[email protected]/node_modules/@remix-run/router/router.ts:3992:25)
at loadRouteData (/home/loki/Downloads/bolt.diy-0.0.6/node_modules/.pnpm/@remix-run[email protected]/node_modules/@remix-run/router/router.ts:3937:25)
at queryImpl (/home/loki/Downloads/bolt.diy-0.0.6/node_modules/.pnpm/@remix-run[email protected]/node_modules/@remix-run/router/router.ts:3696:26)
at Object.queryRoute (/home/loki/Downloads/bolt.diy-0.0.6/node_modules/.pnpm/@remix-run[email protected]/node_modules/@remix-run/router/router.ts:3629:24)
at handleResourceRequest (/home/loki/Downloads/bolt.diy-0.0.6/node_modules/.pnpm/@remix-run[email protected][email protected]/node_modules/@remix-run/server-runtime/dist/server.js:402:40)
at requestHandler (/home/loki/Downloads/bolt.diy-0.0.6/node_modules/.pnpm/@remix-run[email protected][email protected]/node_modules/@remix-run/server-runtime/dist/server.js:156:24)
at /home/loki/Downloads/bolt.diy-0.0.6/node_modules/.pnpm/@remix-run+dev@2.15.0_@remix-run[email protected][email protected]_react@[email protected]_typ_3djlhh3t6jbfog2cydlrvgreoy/node_modules/@remix-run/dev/dist/vite/cloudflare-proxy-plugin.js:70:31
at processTicksAndRejections (node:internal/process/task_queues:95:5)
DEBUG api.chat Total message length: 2, words
INFO LLMManager Getting dynamic models for Ollama
INFO LLMManager Got 3 dynamic models for Ollama
INFO stream-text Sending llm call to Ollama with model deepseek-r1:latest
DEBUG Ollama Base Url used: http://127.0.0.1:11434
ERROR api.chat AI_RetryError: Failed after 3 attempts. Last error: Internal Server Error
ERROR LLMManager Error getting dynamic models Hyperbolic : Missing Api Key configuration for Hyperbolic provider
INFO LLMManager Caching 3 dynamic models for Ollama
Screen Recording / Screenshot
and in term
Platform
The text was updated successfully, but these errors were encountered: