-
Notifications
You must be signed in to change notification settings - Fork 0
Troubleshooting
This page addresses common connection errors, CORS blockages, database sync issues, and general frequently asked questions when using Traliran AI Hub.
- Cause: Usually caused by Cross-Origin Resource Sharing (CORS) restriction or Mixed Content blocking in your browser.
- Solution for Cloud APIs: Verify that your API key is correct and your billing account has active credits (especially for OpenAI, DeepSeek, or Anthropic).
- Solution for Local Models: Ensure your local server (Ollama or llama.cpp) is running and configured to allow cross-origin requests.
- Cause: If you open Traliran AI Hub via HTTPS (e.g., official GitHub Pages deployment) and try to connect to a local HTTP endpoint (e.g., http://localhost:11434), modern browsers block the connection for security.
-
Solution:
- Run Traliran AI Hub locally using a simple HTTP server (like python -m http.server 8080) and access it via http://localhost:8080.
- Or set up a local reverse proxy (like Caddy or Nginx) with local TLS certificates for your local LLM service.
- Ollama Fix: You must pass the OLLAMA_ORIGINS environment variable before starting Ollama. Run export OLLAMA_ORIGINS="*" before launching ollama serve.
- llama.cpp Fix: Start llama-server with the --cors "*" flag enabled.
- Cause: Incorrect API rules or missing CORS setup in PocketBase settings.
-
Solution:
- Open PocketBase Admin Dashboard -> Settings -> CORS Settings, and add your app's URL.
- Check the API Rules on your chats, prompts, and settings collections to ensure list, view, create, and update actions are allowed for your authentication state.
Your API keys are stored strictly inside your browser's LocalStorage. They are never transmitted to any third-party backend or middleman server. All requests are sent directly from your browser to the chosen provider.
Yes. Everything is processed and kept on your local client side. If you connect PocketBase, history syncs exclusively to your private, self-hosted database instance.
Traliran AI Hub is designed around the KISS principle (Keep It Simple, Stupid). Using modern ES6 modules and native Web APIs eliminates project bloat, dependency vulnerabilities, and complex compilation steps.
Yes. Load your model into Ollama or llama.cpp as usual, and select it from the model dropdown in Traliran AI Hub once connected.