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
Could not add anitya project. Not logged in. #56
Comments
I just got this for libosmium. At 1214 UTC I got this:
but no bug was filed despite "bugs and builds" being set at https://admin.fedoraproject.org/pkgdb/package/libosmium/ so I tried turned that off and on again to force a new check and then at 1518 UTC I got this:
|
Please someone from developers reply. I think this is happening since last 3 weeks now. |
Sorry, been busy with bodhi2 here. I think it has a session with anitya that just expires. Some logic will need to be added that tells it how to log back in when that happens. Let me restart it and see if that fixes it (short term). |
Well, I tried that and then tried toggling the monitor flag on libosmium again, but it didn't work: https://apps.fedoraproject.org/datagrepper/raw?package=libosmium hotness still thinks that it isn't logged in, so, something else must be up. |
Can duplicate the login failure using the |
Using this to test, if anyone else wants to mess with it in the meantime: import hotness.anitya
client = hotness.anitya.Anitya()
client.login("YOUR_USERNAME", "YOUR_PASSWORD")
print client.is_logged_in |
@puiterwijk, @pypingou, do either of you have any ideas on this one? I'm stuck for the moment. |
It seems that when |
I have patches for both sides of the story, sending them in |
The /login/fedora link may always just redirect the user silently. Helps with #56, other part of the fix is in anitya. Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
The OpenID provider may always decide to use a POST form instead of a redirect with all the data. Helps with fedora-infra/the-new-hotness#56 Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
The OpenID provider may always decide to use a POST form instead of a redirect with all the data. Helps with fedora-infra/the-new-hotness#56 Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
Note: this probably broke right after we moved to Ipsilon in Fedora Infrastructure, as that should always decide to use POST responses in Fedora Infra. |
Note2: the previous statement is NOT a promise, Ipsilon might still send a redirect reply in some cases, but the chance of it using POST is higher in Fedora Infra. |
New anitya released and pushed to prod with @puiterwijk 's patch |
With @puiterwijk 's patch applied to the-new-hotness (doesn't work otherwise) |
I'm glad I asked :whew: |
Although this is no longer erroring, it still doesn't seem to be showing any inclination to actually open a bug... |
I am seeing this kind of message for many other projects but could not understand why its coming besides some users saying they are already logged into Anitya.
https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.hotness.project.map
Can someone help to understand this?
The text was updated successfully, but these errors were encountered: