Git Product home page Git Product logo

Comments (3)

sabaimran avatar sabaimran commented on September 26, 2024 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.

techieanant avatar techieanant commented on September 26, 2024

Thank you that worked although I now see a different problem.

image

from khoj.

debanjum avatar debanjum commented on September 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.