#88 Argument 1 passed to Activitypub_rsa::generate_keys() must be of the type string, null given

Closed
opened 4 years ago by spla · 2 comments
spla commented 4 years ago

Testing 2.0.0-dev on matriu.cat. When I try to remote follow some user it shows me the confirm button and remote user's avatar. Correct. When I click on Confirm it throws the following error:

Argument 1 passed to Activitypub_rsa::generate_keys() must be of the type string, null given, called in /var/www/vhosts/matriu.cat/httpdocs/nightly/plugins/ActivityPub/classes/Activitypub_rsa.php on line 84

If is the remote user who start following me before I try to remote follow him it appears in followers section (great!) and I can then start following him from there.

Funny!

Testing 2.0.0-dev on matriu.cat. When I try to remote follow some user it shows me the confirm button and remote user's avatar. Correct. When I click on Confirm it throws the following error: Argument 1 passed to Activitypub_rsa::generate_keys() must be of the type string, null given, called in /var/www/vhosts/matriu.cat/httpdocs/nightly/plugins/ActivityPub/classes/Activitypub_rsa.php on line 84 If is the remote user who start following me before I try to remote follow him it appears in followers section (great!) and I can then start following him from there. Funny!
Diogo Cordeiro commented 4 years ago
Owner

So, first of all, you shouldn't use v2 (nightly or experimental) in a production instance unless you really know what you're doing - it's intended for devs only. Only master and stable (1.20.9) are safe.

About the issue, I think the error message you've got is fixed with 912d2ab1d2

If follows keeps failing, then this might be an issue with the RemoteFollowPlugin...

Thanks for helping with quality testing.

So, first of all, you shouldn't use v2 (nightly or experimental) in a production instance unless you really know what you're doing - it's intended for devs only. Only master and stable (1.20.9) are safe. About the issue, I think the error message you've got is fixed with https://notabug.org/diogo/gnu-social/commit/912d2ab1d23f24044ce2c04c4e5cf0f405ea84ff If follows keeps failing, then this might be an issue with the RemoteFollowPlugin... Thanks for helping with quality testing.
spla commented 4 years ago
Poster

Yes! It works, 912d2ab1d2 fixed it. Thank you Diogo. I'm running v2 just for help testing it. It's not for production use. I'm closing this one.

Yes! It works, 912d2ab1d2 fixed it. Thank you Diogo. I'm running v2 just for help testing it. It's not for production use. I'm closing this one.
Sign in to join this conversation.
No Milestone
No assignee
2 Participants
Loading...
Cancel
Save
There is no content yet.