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

Browser warnings related to macaron_flash cookie #75

Open
rodinux opened this issue Jun 8, 2023 · 4 comments
Open

Browser warnings related to macaron_flash cookie #75

rodinux opened this issue Jun 8, 2023 · 4 comments

Comments

@rodinux
Copy link

rodinux commented Jun 8, 2023


Describe the bug

When I sign in (by LDAP) I can't see a raw file, nor an image

Context

  • Hardware: VPS bought online
  • YunoHost version: 11.1.20
  • I have access to my server: *Through SSH | through the webadmin *
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: yes
    • If yes, please explain:
      I have try also install forgejo_ynh package on another domain. Since I have no access at admin page of gitea also. I have also try install another Gitea but the same issue still here.

Steps to reproduce

  • If the error occurs in your browser, explain what you did:
    1. Go to 'gitea.mydomain.tld'
    2. *Click on ' anyone repo'
    3. click on button link 'raw'*
    4. See error 'Verify'
    5. on console have an error 'Le cookie « macaron_flash » a été rejeté car il a déjà expiré.'
      6.Images on a repo also are like broken links

Expected behavior

See a raw file without need be disconneted or remove cookies and datas from my browser

Logs

/var/log/gitea/router.log

2023/06/08 18:01:55 [6481fb73] router: completed GET /Linux07/Documentations-Linux07/commit/9f8bd64e84513baf1fe50535418cf06b830ff21b?style=split&whitespace=ignore-change for 185.191.171.6:0, 200 OK in 45.7ms @ repo/commit.go:254(repo.Diff)
2023/06/08 18:03:08 [6481fbbc] router: completed GET /Services-Linux07-Technique/Configs_Apps/raw/commit/xxxxxxxxxxxxxxxxxxxxxxxxxxxxx/opensondage.md for 37.169.22.158:0, 401 Unauthorized in 2.3ms @ auth/middleware.go:16(auth.Auth)
2023/06/08 18:03:27 [6481fbcf] router: completed GET /Services-Linux07-Technique/Configs_Apps/raw/commit/xxxxxxxxxxxxxxxxxxxxxxxxxxxxx/opensondage.md for 37.169.22.158:0, 401 Unauthorized in 1.9ms @ auth/middleware.go:16(auth.Auth)

/var/log/gitea.log

2023/06/08 18:07:53 ...s/auth/middleware.go:18:func1() [E] [6481fcd9] Failed to verify user: user does not exist [uid: 1, name: myuser, keyid: 0]
2023/06/08 18:08:07 ...s/auth/middleware.go:18:func1() [E] [6481fce7] Failed to verify user: user does not exist [uid: 1, name: myuser, keyid: 0]
@rodinux
Copy link
Author

rodinux commented Jun 8, 2023

Sreenshots

cookie-macaron
Capture d’écran du 2023-06-08 18-10-54

@rodinux
Copy link
Author

rodinux commented Jun 8, 2023

Perhaps also related to another issue I want post also about admin page disappear...
there is an old issue similar on gitea there go-gitea/gitea#24062

@rodinux
Copy link
Author

rodinux commented Jun 8, 2023

also if I disconnect from the portal sso, immediatly the image or raw is reload ! it seems related to the sso portal.

@Josue-T
Copy link
Contributor

Josue-T commented Nov 4, 2024

Do you still have on Yunohost 12 ?

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