-
-
Notifications
You must be signed in to change notification settings - Fork 382
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't Log into Woodpecker #519
Comments
Same me, anyone have solution? 😢 |
@f97 @xSTUDDSx Have you set up oAuth with /authorize? |
@xSTUDDSx the agent does conect via gRPC so you need port :9000 |
@Iamjava Yes I have setup the OAuth using this guide since I'm using gitea. @6543 I originally had 9000, but it wasn't working so I changed it to 8000 thinking the documentation here had a typo. Either way, I re-verified the OAuth setup and also tried both ports 8000 and 9000 mentioned on the WOODPECKER_SERVER variable and I still end up with the same result. |
Woodpecker uses two ports. Port 8000 is used for the web-UI and port 9000 for the agent communication via grpc. |
Agent logs / errors should be independent from your login problems. Could you verify the callback address you inserted into Gitea, please. It should be in the form of: |
For a little more information, out of curiosity I attempted to setup Drone to see if I was also experiencing the same issue with that app. However, I had zero issues setting it up. I am able to use OAuth in Gitea to authorize the Drone app and successfully log in where I can then see Drone is pulling the repo information from my Gitea server. Therefore, this seems to be an issue with Woodpecker after the fork and not something carried over from Drone. Either that or if it was in Drone, they have fixed it post-fork. |
Thanks for your tests, ... I'm kind a confused how i'm able to reproduce the issue :/ I'll give it a try today again...lets see |
Ah thats a good hint! |
Could you provide some context about your reverse proxy setup. In general it should work without problems behind a reverse-proxy. The official woodpecker instance of this project for example is using Caddy in a reverse-proxy setup. Caddyfile, our docker-compose config. |
@anbraten I'm using nginx proxy manager. I'm not familiar with Caddy, but looking at your compose compared to mine in the original post it looks pretty much the same in regards to handling the network. |
@6543 I was back to droneio and drone works okay so I think it's a bug by woodpecker. |
It's sad to hear, but what works best for you ... PS: I cant reproduce it atm - but I'll let this issue open to see if we can hunt it down at some point |
ok it looks like "nginx proxy manager" and woodpecker do not like to work together, can you test if it works whit caddy or plain nginx? |
Seems to be related to the specific setup in this case. So closing for now as I don't see a way Woodpecker could be adjusted here. |
I have Woodpecker setup with Gitea and have established the Client and Secret. When I click login on Woodpecker, I get directed to Gitea and I login, however, after Authorizing I get dumped back to Woodpecker's main login page with this URL...
I can't seem to get into Woodpecker at all. There are no errors in the logs of the server, but I do see this error in the log of the agent.
{"level":"error","error":"rpc error: code = Unavailable desc = connection closed before server preface received","time":"2021-11-19T14:47:03Z","message":"grpc error: done(): code: Unavailable: rpc error: code = Unavailable desc = connection closed before server preface received"}
Here is my docker-compose...
The text was updated successfully, but these errors were encountered: