#98 nightly version: Salmon signature verification failed when trying to join a remote group

Open
opened 1 month ago by spla · 0 comments
spla commented 1 month ago

Maybe it's a not a bug from GNU Social 2.0.0-dev but just in case here is what happening on my node when I try to join a remote group

[matriu.cat:17315.94021c03 GET /main/remotefollowsub?profile=https%3A%2F%2Fgnusocial.club%2Fgroup%2F421%2Fid] HTTPClient: HTTP GET https://gnusocial.club/group/421/id - 200 OK [matriu.cat:17315.a57724b9 GET /main/ostatusgroup?profile=https%3A%2F%2Fgnusocial.club%2Fgroup%2F421%2Fid] HTTPClient: HTTP GET https://gnusocial.club/group/421/id - 200 OK [matriu.cat:17315.393ed635 POST /main/ostatusgroup] HTTPClient: HTTP GET https://gnusocial.club/group/421/id - 200 OK [matriu.cat:17315.393ed635 POST /main/ostatusgroup] HTTPClient: HTTP POST https://gnusocial.club/main/push/hub - 202 Accepted [matriu.cat:17315.393ed635 POST /main/ostatusgroup] FeedSub::doSubscribe: sub req ok, awaiting verification callback

So far so good but then:

[matriu.cat:17315.393ed635 POST /main/ostatusgroup] HTTPClient: HTTP POST https://gnusocial.club/main/salmon/group/421 - 400 Bad Request [matriu.cat:17315.393ed635 POST /main/ostatusgroup] Salmon (from profile 1) endpoint https://gnusocial.club/main/salmon/group/421 returned status 400: Salmon signature verification failed. [matriu.cat:17315.393ed635 POST /main/ostatusgroup] Exception on remote group join: Failed joining remote group. [matriu.cat:17315.393ed635 POST /main/ostatusgroup] #0 /var/www/vhosts/matriu.cat/httpdocs/nightly/lib/util/event.php(89): OStatusPlugin->onStartJoinGroup(Object(User_group), Object(Profile)) #1 /var/www/vhosts/matriu.cat/httpdocs/nightly/classes/Profile.php(622): Event::handle('StartJoinGroup', Array) #2 /var/www/vhosts/matriu.cat/httpdocs/nightly/plugins/OStatus/actions/ostatusgroup.php(139): Profile->joinGroup(Object(User_group)) #3 /var/www/vhosts/matriu.cat/httpdocs/nightly/plugins/OStatus/actions/ostatussub.php(356): OStatusGroupAction->saveFeed() #4 /var/www/vhosts/matriu.cat/httpdocs/nightly/plugins/OStatus/actions/ostatussub.php(69): OStatusSubAction->handlePost() #5 /var/www/vhosts/matriu.cat/httpdocs/nightly/lib/action/action.php(186): OStatusSubAction->handle() #6 /var/www/vhosts/matriu.cat/httpdocs/nightly/lib/action/action.php(88): Action->execute(Array) #7 /var/www/vhosts/matriu.cat/httpdocs/nightly/public/index.php(329): Action::run(Array) #8 /var/www/vhosts/matriu.cat/httpdocs/nightly/public/index.php(332): main() #9 {main}

Maybe it's a not a bug from GNU Social 2.0.0-dev but just in case here is what happening on my node when I try to join a remote group [matriu.cat:17315.94021c03 GET /main/remotefollowsub?profile=https%3A%2F%2Fgnusocial.club%2Fgroup%2F421%2Fid] HTTPClient: HTTP GET https://gnusocial.club/group/421/id - 200 OK [matriu.cat:17315.a57724b9 GET /main/ostatusgroup?profile=https%3A%2F%2Fgnusocial.club%2Fgroup%2F421%2Fid] HTTPClient: HTTP GET https://gnusocial.club/group/421/id - 200 OK [matriu.cat:17315.393ed635 POST /main/ostatusgroup] HTTPClient: HTTP GET https://gnusocial.club/group/421/id - 200 OK [matriu.cat:17315.393ed635 POST /main/ostatusgroup] HTTPClient: HTTP POST https://gnusocial.club/main/push/hub - 202 Accepted [matriu.cat:17315.393ed635 POST /main/ostatusgroup] FeedSub::doSubscribe: sub req ok, awaiting verification callback So far so good but then: [matriu.cat:17315.393ed635 POST /main/ostatusgroup] HTTPClient: HTTP POST https://gnusocial.club/main/salmon/group/421 - 400 Bad Request [matriu.cat:17315.393ed635 POST /main/ostatusgroup] Salmon (from profile 1) endpoint https://gnusocial.club/main/salmon/group/421 returned status 400: Salmon signature verification failed. [matriu.cat:17315.393ed635 POST /main/ostatusgroup] Exception on remote group join: Failed joining remote group. [matriu.cat:17315.393ed635 POST /main/ostatusgroup] #0 /var/www/vhosts/matriu.cat/httpdocs/nightly/lib/util/event.php(89): OStatusPlugin->onStartJoinGroup(Object(User_group), Object(Profile)) #1 /var/www/vhosts/matriu.cat/httpdocs/nightly/classes/Profile.php(622): Event::handle('StartJoinGroup', Array) #2 /var/www/vhosts/matriu.cat/httpdocs/nightly/plugins/OStatus/actions/ostatusgroup.php(139): Profile->joinGroup(Object(User_group)) #3 /var/www/vhosts/matriu.cat/httpdocs/nightly/plugins/OStatus/actions/ostatussub.php(356): OStatusGroupAction->saveFeed() #4 /var/www/vhosts/matriu.cat/httpdocs/nightly/plugins/OStatus/actions/ostatussub.php(69): OStatusSubAction->handlePost() #5 /var/www/vhosts/matriu.cat/httpdocs/nightly/lib/action/action.php(186): OStatusSubAction->handle() #6 /var/www/vhosts/matriu.cat/httpdocs/nightly/lib/action/action.php(88): Action->execute(Array) #7 /var/www/vhosts/matriu.cat/httpdocs/nightly/public/index.php(329): Action::run(Array) #8 /var/www/vhosts/matriu.cat/httpdocs/nightly/public/index.php(332): main() #9 {main}
Sign in to join this conversation.
No Milestone
No assignee
1 Participants
Loading...
Cancel
Save
There is no content yet.