Open joobert opened 2 days ago
same here, none of the other models loads anymore. all of the provider lists are empty, after some time they got populated , but took quite a long time for me
I am chasing this too.
I know to start it, we want to start it with --host to enable remote access.
pnpm run dev --host
This works fine for me. But when I try to wrap it in a Domain name so I can get SSL (Cloudflare Tunnel) so I can maybe step around the following error:
Failed to spawn bolt shell
Failed to execute 'postMessage' on 'Worker': SharedArrayBuffer transfer requires self.crossOriginIsolated.
I see that we may have a couple of hard coded references that won't let us access the model data.
So I suspect we need to chase those two items down and make them more relative.
An example of in-network access by the IP address which was supported by the --host flag we still get a misalignment on the URL for a model. We can see that The Ollama model does get read in and populated.
please use https://domain.com websocket can not use http,but can use localhost do something。
Describe the bug
When accessing Bolt through a remote URL, Ollama models are not visible in the web UI, despite both services being individually accessible remotely. The models appear correctly when accessing Bolt through localhost.
Current Configuration
OLLAMA_HOST
:0.0.0.0
OLLAMA_API_BASE_URL
:<my-remote-ip>:11434
Remote Access Status
<remote-ip>:5173
<remote-ip>:11434
Observed Behavior
Working Scenario:
Not Working:
<remote-ip>:5173
), Ollama models are not visibleLink to the Bolt URL that caused the error
http://<remote-ip>:5173
Steps to reproduce
Set up Ollama:
OLLAMA_HOST=0.0.0.0
Set up Bolt:
OLLAMA_API_BASE_URL=<remote-ip>:11434
Verify Individual Remote Access:
http://<remote-ip>:11434
- Should respondhttp://<remote-ip>:5173
- Should loadTest Local Access:
http://localhost:5173
)Test Remote Access:
http://<remote-ip>:5173
)Expected behavior
Since both services are accessible remotely and the configuration works via localhost, the Ollama models should be visible when accessing Bolt through the remote URL.
Screen Recording / Screenshot
No response
Platform
Additional context
Are there additional configuration requirements for remote-to-remote communication between Bolt and Ollama?