Giter Club home page Giter Club logo

Comments (8)

tiritibambix avatar tiritibambix commented on August 29, 2024 1

@tiritibambix Which browser are you using? Have you tried access http://localhost:8000 ?

Hey, thanks for answering. I'm using a chromium based browser called Vivaldi. I did try http://localhost:8000 with no success.

from cherry.

tiritibambix avatar tiritibambix commented on August 29, 2024 1

@haishanh I tried with 3 different browsers: Vivaldi, Brave and Firefox. None of them worked.

I just need cherry to work on my local network though, as I use a VPN tunnel when I'm not home.

from cherry.

tiritibambix avatar tiritibambix commented on August 29, 2024 1

USE_INSECURE_COOKIE is working.

Thank you

from cherry.

rubenixnagios avatar rubenixnagios commented on August 29, 2024

same here

from cherry.

haishanh avatar haishanh commented on August 29, 2024

I made a silly mistake, the env var to turn on registration is actually called ENABLE_PUBLIC_REGISTRATION instead of ENABLE_REGISTRATION. I renamed it to make it more precise, but forgot to update the doc :(

And some browsers won't send "Secure" cookie when the website is served locally. Most browsers tend to work with "localhost" (instead of 127.0.0.1 or 0.0.0.0).

Sorry for the inconvenience @loof2736 @rubenixnagios

from cherry.

tiritibambix avatar tiritibambix commented on August 29, 2024

Same.
Here's what say the docs:

Cherry uses Secure cookie which only works with HTTPS. It works with "localhost" in some browsers too, so you should try use "localhost:8000" instead of "127.0.0.1:8000" or "0.0.0.0:8000" when running locally, or you will need to setup the reverse proxy and SSL for it. Sorry for the inconvenience at the moment, an environment variable flag may introduced in a future release to turn off Secure cookie.

So I guess we shall :

  1. Be patient untill this changes
    or
  2. Use a reverse proxy.

I'll go with option 1 for now.

from cherry.

haishanh avatar haishanh commented on August 29, 2024

@tiritibambix Which browser are you using? Have you tried access http://localhost:8000 ?

from cherry.

haishanh avatar haishanh commented on August 29, 2024

@tiritibambix In case you have Firefox installed, could you try open http://localhost:8000 with Firefox?

Anyway, I'll add a flag to opt out of secure cookie for people who want to try out locally.

from cherry.

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.