-
Notifications
You must be signed in to change notification settings - Fork 767
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
can not get user information from session / user information is nil #166
Comments
Exact same issue, installed harbor using this helm chart without any customisations on minikube. Getting this in the core logs: 2019-02-23T14:29:45Z [DEBUG] [security.go:280]: can not get user information from session and this in the portal logs 127.0.0.1 - - [23/Feb/2019:14:37:27 +0000] "POST /c/login HTTP/1.1" 405 576 "http://localhost:8080/harbor/sign-in" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.119 Safari/537.36" |
@CorentinDy @pieterv-icloud-com You need to check the logs of ingress controller to make sure that the |
I was using an "old" version (a week difference with the last commit) i've made a change on the expose type which was |
I've justed realised that I was using the dev version of your helm wich is in the master branche .. So the problem is not solved as the same bug still occur in the 1.0.0 wich seems to be the "latest" stable. How can i see the log of the Ingress controller ? or wich pod is supposed to be the ingress controller ? |
How did you install the ingress controller? What ingress controller are you using? Is there some pod called ingress-controller? |
I don't have any pod called ingress-controller but I've a ingress named :
and here are my pods :
|
Add the |
Finally got it running with an nginx-ingress running as a DaemonSet with some custom NodePorts. Thank you! |
Get it working by merging the new load balancer service in the stable release on my computer .. This project seems to be not suitable for production environment . |
@pieterv-icloud-com Did you find the root cause in you env? |
Hi, I have the same issue in the log even though I can access and log into the portal.
This is logged every 5sec |
I'm seeing the same behavior as @tlvenn; I have the traefik ingress controller, but I suspect that Harbor doesn't know how to look for it and is looking for a different controller. I haven't been able to find any documentation on setting up Harbor with the Traefik ingress; is anyone familiar enough with Traefik to know how to set this up? |
Which service should receive this request to /c/login?
Could be great if you point us which service is using for auth and what exact url we need to expose and bind with. With no luck. Also |
Ok I got this fixed more or less with haproxy ingress and 1.0.0 branch
harbor core is spamming But now I'm able to login and no http 500 for charts. |
Hi ,
I've started a new fresh install with helm but every time i get this message.
The harbor configuration is as is in the repo, I didn't made any changes.
As mentionned : #75 (comment)
But the core log always says
can not get user information from session
oruser information is nil
and i can't login on the harbor portal.Edit : I've tried with custom configuration :
Edit 2 : I've tried with master & 1.0.0 version still the same problem
Any clues on a fix in my configuration ?
Thx
The text was updated successfully, but these errors were encountered: