You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GET https://bsky.brid.gy/ap/did:plc:65isvpdvlh7ttv5tyk5jir4t
ValueError: Invalid RSA public exponent
at .construct ( /layers/google.python.pip/pip/lib/python3.12/site-packages/Crypto/PublicKey/RSA.py:647 )
at .public_pem ( /workspace/models.py:708 )
at .postprocess_as2_actor ( /workspace/activitypub.py:1014 )
at ._convert ( /workspace/activitypub.py:447 )
at .convert ( /workspace/protocol.py:603 )
at .actor ( /workspace/activitypub.py:1083 )
at .decorated ( /layers/google.python.pip/pip/lib/python3.12/site-packages/oauth_dropins/webutil/flask_util.py:366 )
at .dispatch_request ( /layers/google.python.pip/pip/lib/python3.12/site-packages/flask/app.py:902 )
at .full_dispatch_request ( /layers/google.python.pip/pip/lib/python3.12/site-packages/flask/app.py:917 )
at .handle_exception ( /layers/google.python.pip/pip/lib/python3.12/site-packages/oauth_dropins/webutil/flask_util.py:252 )
at .handle_user_exception ( /layers/google.python.pip/pip/lib/python3.12/site-packages/flask/app.py:809 )
at .full_dispatch_request ( /layers/google.python.pip/pip/lib/python3.12/site-packages/flask/app.py:919 )
at .wsgi_app ( /layers/google.python.pip/pip/lib/python3.12/site-packages/flask/app.py:1511 )
Aha, this happens when we've already created a user before they enable the bridge. In User.get_or_create, we return the existing user and never create AP keys or do other network-specific setup.
we can now use create_for for all protocol-specific setup for new users, eg creating AP keypairs. for #1881
first attempt at this may have caused #1929, so I'm paying more attention to it this time
Not common, only seeing one of these every couple weeks or so, but still weird. What's happening here?
https://console.cloud.google.com/errors/detail/CKXLrIb56cr0zQE;locations=global;time=P30D?project=bridgy-federated&invt=AbuwZw
We generate AP keys in
get_or_create
:bridgy-fed/models.py
Lines 390 to 402 in fe51b1f
The text was updated successfully, but these errors were encountered: