Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infinite Redirect Loop #209

Open
Aboitier opened this issue Oct 31, 2024 · 3 comments
Open

Infinite Redirect Loop #209

Aboitier opened this issue Oct 31, 2024 · 3 comments

Comments

@Aboitier
Copy link

Hello,

Thanks for the awesome solution.

I get weird behavior when deploying the solution to my Kubernetes cluster : in /setup, right when clicking on "Next" at the end of setup, I get a NS_DOMAIN_SERVER (firefox) error and cannot access next page. Then I visit /admin and I get infinitely redirected from /admin to /login several times per second. It is when I open the network tab of my browser console that the error stops and I can access the app. Though I cannot disconnect because of this redirect.

Also, I observed that a call to uploadStatus is made every 3 seconds (see picture below).

image

I de-activated the SSL since it is taken care of by our certbot.

Would you have hints about this ? Or can I provide you with some more information maybe ?

@Forceu
Copy link
Owner

Forceu commented Oct 31, 2024

Thanks for your feedback! What authentication method are you using? And would you be able to post your configuration file (with censoring sensitive data)?

@Aboitier
Copy link
Author

Aboitier commented Nov 8, 2024

Hi thanks for the quick answer and sorry for my late one.

I am using the classical login/password authent.

Here is my conf with censored data :

{
  "Authentication": {
    "Method": 0,
    "SaltAdmin": "xxxxxx",
    "SaltFiles": "xxxxxx",
    "Username": "xxxxxxx",
    "Password": "xxxxxxx",
    "HeaderKey": "",
    "OauthProvider": "",
    "OAuthClientId": "",
    "OAuthClientSecret": "",
    "OauthUserScope": "",
    "OauthGroupScope": "",
    "OAuthRecheckInterval": 12,
    "HeaderUsers": null,
    "OAuthGroups": [],
    "OauthUsers": []
  },
  "Port": ":53842",
  "ServerUrl": "https://mysubdomain.mydomain.eu/",
  "RedirectUrl": "https://mysubdomain.mydomain.eu/admin",
  "PublicName": "xxxxxxxx's secure file transfer platform",
  "DataDir": "data",
  "DatabaseUrl": "redis://redis.xxxxxxx:6379?prefix=gokapi_",
  "ConfigVersion": 21,
  "LengthId": 15,
  "MaxFileSizeMB": 102400,
  "MaxMemory": 50,
  "ChunkSize": 45,
  "MaxParallelUploads": 4,
  "Encryption": {
    "Level": 0,
    "Cipher": null,
    "Salt": "",
    "Checksum": "",
    "ChecksumSalt": ""
  },
  "UseSsl": false,
  "PicturesAlwaysLocal": false,
  "SaveIp": false,
  "IncludeFilename": false
}

@Forceu
Copy link
Owner

Forceu commented Dec 5, 2024

@Aboitier: I have been unable to reproduce the problem - I assume you were not able to fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants