Giter VIP home page Giter VIP logo

Comments (5)

bo0tzz avatar bo0tzz commented on August 28, 2024

@matejkramny any ideas?

from immich.

Sammy1Am avatar Sammy1Am commented on August 28, 2024

Quick update:
I removed the headers from the settings and I get the same behavior, so it might not be directly header related (but still weird that I get a version mismatch and a 200 log entry).

I changed the URL of the server to one that doesn't exist and I get "Server is not reachable".

So my best theory so far is that when the app "pings" the server it's getting the Cloudflare login page, but thinks that's okay. And then for some reason doesn't like the "version"?

So it's possible it's a configuration issue on my tunnel, I'll have to test the service token in a browser later today and see what happens.

from immich.

matejkramny avatar matejkramny commented on August 28, 2024

The 200 is the cloudflare login page. Any chance you are able to test connecting to immicha using the cloudflare headers with curl first?

Check the PR here I wrote some documentation around configuring the tokens: #10755
https://pr-10755.preview.immich.app/
Under guides -> cloudflare access

from immich.

Sammy1Am avatar Sammy1Am commented on August 28, 2024

Tested with Firefox and it was just forwarding me to the login page even with the headers. But... then re-read the instructions and noticed I'd chosen "Allow" for the policy (you know, to allow connections) instead of "Service Auth". 😐

Anyway, working fine now. Thank you again for work on this!

from immich.

matejkramny avatar matejkramny commented on August 28, 2024

Hi, yes that's a common pitfall - happened to me too. I'll make it clearer in the document

from immich.

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.