Code Monkey home page Code Monkey logo

Comments (4)

TomBursch avatar TomBursch commented on May 30, 2024

This error only occurs when you haven't setup the FRONT_URL correctly inside your configuration.
See https://tombursch.github.io/kitchenowl/get-started/
The FRONT_URL should exactly match what you would type into the URL bar of your browser and needs to be set on both the backend and the frontend

Edit: This includes the schema so https if you're using ssl

from kitchenowl.

jfdid avatar jfdid commented on May 30, 2024

Thanks Tom, I did end up changing the FRONT_URL to 192.168.7.77 rather than localhost and it works.
I'm not sure how big of a deal it is to fix this bug, but for a lot of people, the error may cause issues as they assume localhost is the same as the host's IP(192.168.7.77 in my case) or 0.0.0.0. I know I troubleshot it for quite some time before realizing it would ONLY work with the IP address(even from the host machine).
Further, if I had localhost as the FRONT_URL, I could reach the frontend from another PC via the IP address, but got the connect to server error, which is the same issue, but still confusing.
If it's not something you can easily fix, may I recommend adding a clear comment in the docker-compose.yml example file?
NOTE: I don't see the error on the Fdroid Android App.

from kitchenowl.

TomBursch avatar TomBursch commented on May 30, 2024

I know it's a bit confusing to setup, the linked issue/PR will fix that

from kitchenowl.

TomBursch avatar TomBursch commented on May 30, 2024

I just published a new stable release that gets rid of the FRONT_URL variable. This should fix everybody's problems related to that.
See https://tombursch.github.io/kitchenowl/get-started/ for the updated/simplified guide.

from kitchenowl.

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.