ogame
ogame copied to clipboard
Getting "Forbidden" at start up
hi,
I just pulled the master, filled the .env file with my login details, and when trying to start up, I'm getting the following error:
ogame | DEBU [ogame.go:525] post sessions ogame | 2024/02/27 16:05:45 403 Forbidden : {"error":{"message":"Forbidden"}} ogame | exit status 1 ogame exited with code 1
Can you please advise?
Are you able to login on ogame website directly using the same credentials?
Yes, of course. I use the exactly same credentials.
hi @alaingilbert Do you have any update on this issue? Do you need any additional information?
Best, Antal
@antal-kajzer I just got the same error while testing/developing on my machine. It turns out that some new changes created this issue. I reverted back to 3b626bf350332b0ffea02d7a12538c48a66b2b23 and then I could login again.
I hope this information may help you and anyone willing to dive into this issue.
hi @nandavereda Thank you for your response, however when I run "git checkout 3b626bf350332b0ffea02d7a12538c48a66b2b23" I'm getting error: "fatal: reference is not a tree: 3b626bf350332b0ffea02d7a12538c48a66b2b23"
Can you please double-check the commit hash?
Hi @antal-kajzer My bad. This commit is actually from a fork. I was not even aware that I was using a forked version. I do not know how much they diverge, but I intend to investigate why it is not using the upstream, which is preferable in my opinion.
Here it is: https://github.com/ogame-tbot-net/ogame/tree/3b626bf350332b0ffea02d7a12538c48a66b2b23
Are you guys having the issue on the develop branch, or the master branch ? (I haven't merged develop for a while)
Edit: I just merged it
hi guys, @nandavereda thank you, it working with that revision!
@alaingilbert I pulled the last master and I had issues on that branch.
The develop branch is actually the most updated branch here. Alain tagged also the release Version 52.0.0
Have fun!