Git Product home page Git Product logo

Comments (4)

dskrad avatar dskrad commented on June 11, 2024 1

I finally got CouchDB installation working properly by setting up HAproxy as a reverse proxy as recommended on CouchDB docs. As a bonus, my other services on that machine are all now available via my own domain name, and secured by TLS using Cloudflare DNS and free HTTPS certificate. Syncing like a champ now.

from tempo.

dskrad avatar dskrad commented on June 11, 2024

After more investigating, I found that the cookie sent by CouchDB is not being set because of the SameSite=Lax setting, which is the default. I went into CouchDB settings and added the following key [couchdb_httpd_auth] same_site = None This changed the cookie's SameSite attribute, but Vivaldi is still not setting the cookie because Secure is not set on the cookie. This seems to be an issue with running a CouchDB on localhost with http instead of https. Looking into possible solutions.

from tempo.

agateblue avatar agateblue commented on June 11, 2024

Yes, I think running CouchDB on a local, non https URL can cause issues with synchronisation, especially if you are using Tempo from a public, https URL. Similar issue: https://stackoverflow.com/questions/68609006/cookie-authentication-couchdb-on-localhost

If I remember correctly, this did work when both CouchDB and Tempo were served locally. Would you mind trying this, e.g running Tempo in development (instructions at https://github.com/agateblue/tempo#project-setup) and see if it works that way?

from tempo.

agateblue avatar agateblue commented on June 11, 2024

Thank you for letting us now :)

from tempo.

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.