Comments (3)
Hey @techieanant , I'm assuming you can't access it over localhost
?
You must have used the docker-compose.yml
sample file to scaffold you Khoj instance. You can use that to set the environment variable KHOJ_DOMAIN. There are some notes about that here: https://docs.khoj.dev/get-started/setup/#setup-notes.
from khoj.
Thank you that worked although I now see a different problem.
from khoj.
Hi folks, I was able to verify that the latest Khoj run via Docker does not hit the CSRF or the Bad Request (400) issue when accessing the admin panel. As previously mentioned you need to set the KHOJ_DOMAIN
environment variable to resolve the Bad Request issue.
I've also simplified the Docker setup in #919, so configuring Khoj via the admin panel isn't necessary to start using self hosted Khoj.
Do try the latest docker-compose.yml and Khoj docker image to see if the issue is resolved for you? You can see the new Remote Access Doc and the updated Self Hosting Setup Docs if you're still stuck.
And let me know if you're still hitting the issue, where/how you're running Khoj and client or server console logs to help debug this?
from khoj.
Related Issues (20)
- ERROR: Cannot install khoj because these package versions have conflicting dependencies[FIX] HOT 6
- [FIX] Docker version: Application error: a client-side exception has occurred (see the browser console for more information). HOT 15
- Pre-loaded configurations HOT 1
- [IDEA] Chat with subset of Notes from within Obsidian HOT 3
- [bug]@api_chat.get("") do not @requires(["authenticated"]) HOT 2
- [FIX] Allow Setting File Types to Sync from Obsidian HOT 9
- [FIX] sometimes llm_thread throw exception because pool connect to openai api server HOT 3
- [IDEA] Any plan to add i18n support? HOT 3
- [FIX] bug get q too long cause this bug HOT 2
- Add additional documentation for building khoj from source
- [FIX] cannot set RESEND_API_KEY on the docker version HOT 2
- [IDEA] any plan add quivr brain feature to khoj HOT 5
- [FIX] Resend sender email hardcoded to [email protected] HOT 1
- Trying to Self-Host on Ubuntu (using pip) - Can't Complete Install HOT 1
- Trying to self host on Ubuntu using Docker - /server/admin returns bad request (400) HOT 2
- [FIX] obsidian vault is too big with all kinds of media. image and pdf exclude not enough HOT 4
- [FIX] The "Create Agent" button doesn't trigger anything HOT 1
- [IDEA] Support connection with Sharedpoint
- [FIX] khoj vision mode do not support multiple images
- How to define non -standard postgresql port? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from khoj.