#193 Some mastodon hosts return "401 Unauthorized" with fix_subscriptions.php

Open
opened 3 years ago by aab · 9 comments
aab commented 3 years ago

‎[18:33:25] ‎diogo‎: I haven't listed 401 as a postpone decision code... ―――――――――――――――――――― ‎[18:35:01] ‎diogo‎: unauthorized really is that the activity was rejected due to not being recognized as a valid request ‎[18:35:17] ‎diogo‎: maybe it took too long and signatures validation failed, but it's hard to believe ‎[18:35:26] ‎diogo‎: open an issue for this ‎[18:35:32] ‎diogo‎: it will require further debugging

‎[18:33:25] ‎diogo‎: I haven't listed 401 as a postpone decision code... ―――――――――――――――――――― ‎[18:35:01] ‎diogo‎: unauthorized really is that the activity was rejected due to not being recognized as a valid request ‎[18:35:17] ‎diogo‎: maybe it took too long and signatures validation failed, but it's hard to believe ‎[18:35:26] ‎diogo‎: open an issue for this ‎[18:35:32] ‎diogo‎: it will require further debugging
Diogo Cordeiro commented 3 years ago
Owner

It would have been more helpful to have put here some examples xb

It would have been more helpful to have put here some examples xb
aab commented 3 years ago
Poster

Ok :)

2020-08-04 16:24:14 LOG_ERR: [khp.ignorelist.com:fix_subscriptions.php:4814] HTTPClient: HTTP POST https://mastodon.social/inbox - 401 Unauthorized

2020-08-04 16:51:23 LOG_ERR: [khp.ignorelist.com:queuedaemon.php:3442] HTTPClient: HTTP POST https://mastodont.cat/inbox - 401 Unauthorized

2020-08-04 19:08:59 LOG_ERR: [khp.ignorelist.com:queuedaemon.php:3460] HTTPClient: HTTP POST https://social.coop/inbox - 401 Unauthorized

Ok :) 2020-08-04 16:24:14 LOG_ERR: [khp.ignorelist.com:fix_subscriptions.php:4814] HTTPClient: HTTP POST https://mastodon.social/inbox - 401 Unauthorized 2020-08-04 16:51:23 LOG_ERR: [khp.ignorelist.com:queuedaemon.php:3442] HTTPClient: HTTP POST https://mastodont.cat/inbox - 401 Unauthorized 2020-08-04 19:08:59 LOG_ERR: [khp.ignorelist.com:queuedaemon.php:3460] HTTPClient: HTTP POST https://social.coop/inbox - 401 Unauthorized
Diogo Cordeiro commented 3 years ago
Owner

oh, but these don't tell use the URI :(

I've tried subscribing a user in mastodon.social and it worked: #195

oh, but these don't tell use the URI :( I've tried subscribing a user in mastodon.social and it worked: https://notabug.org/diogo/gnu-social/issues/195#issuecomment-20457
aab commented 3 years ago
Poster

I follow lots of mastodon.social users. Some of them work fine, some others give problems... With mastodont.cat is the same.

I follow lots of mastodon.social users. Some of them work fine, some others give problems... With mastodont.cat is the same.
aab commented 3 years ago
Poster

Ok, some examples with URI:

2020-08-04 20:57:37 LOG_ERR: [khp.ignorelist.com:54275.9de00b45 POST /inbox.json] HTTPClient: HTTP GET https://radical.town/users/beegrrl/statuses/104630236670387117 - 401 Unauthorized

2020-08-05 04:26:25 LOG_ERR: [khp.ignorelist.com:60795.9f2e9fe7 POST /inbox.json] HTTPClient: HTTP GET https://radical.town/users/RobinHood/statuses/104634777754990507 - 401 Unauthorized

2020-08-05 05:15:57 LOG_ERR: [khp.ignorelist.com:2258.fbe6f78e POST /inbox.json] HTTPClient: HTTP GET https://monads.online/users/dankwraith/statuses/104632154174908445 - 401 Unauthorized

I'll get you more later today when debug-log gets filled.

Ok, some examples with URI: 2020-08-04 20:57:37 LOG_ERR: [khp.ignorelist.com:54275.9de00b45 POST /inbox.json] HTTPClient: HTTP GET https://radical.town/users/beegrrl/statuses/104630236670387117 - 401 Unauthorized 2020-08-05 04:26:25 LOG_ERR: [khp.ignorelist.com:60795.9f2e9fe7 POST /inbox.json] HTTPClient: HTTP GET https://radical.town/users/RobinHood/statuses/104634777754990507 - 401 Unauthorized 2020-08-05 05:15:57 LOG_ERR: [khp.ignorelist.com:2258.fbe6f78e POST /inbox.json] HTTPClient: HTTP GET https://monads.online/users/dankwraith/statuses/104632154174908445 - 401 Unauthorized I'll get you more later today when debug-log gets filled.
aab commented 3 years ago
Poster

And some more:

2020-08-05 22:22:13 LOG_ERR: [gnusocial.net:21324.46efbcc9 POST /inbox.json] HTTPClient: HTTP GET https://masto.donte.com.br/users/libreofficebr/statuses/104637280208859683 - 401 Unauthorized

2020-08-05 22:22:17 LOG_ERR: [gnusocial.net:26443.7de3d1ac POST /inbox.json] HTTPClient: HTTP GET https://lgbtqia.is/users/catgirl/statuses/104634790378565885 - 401 Unauthorized

2020-08-05 23:34:28 LOG_ERR: [gnusocial.net:4522.d2ace528 POST /inbox.json] HTTPClient: HTTP GET https://merveilles.town/users/thomasorus/statuses/104625847365945496 - 401 Unauthorized

2020-08-05 23:36:10 LOG_ERR: [gnusocial.net:16104.eebb8080 POST /inbox.json] HTTPClient: HTTP GET https://monads.online/users/Manurweibling/statuses/104636634053573158 - 401 Unauthorized

All the above links are working. This one is not, but the entry in the log is identical:

2020-08-06 00:47:10 LOG_ERR: [gnusocial.net:20412.6518cd0d POST /inbox.json] HTTPClient: HTTP GET https://makhnodon.club/users/GreenandBlack/statuses/104639655335986916 - 401 Unauthorized

And some more: 2020-08-05 22:22:13 LOG_ERR: [gnusocial.net:21324.46efbcc9 POST /inbox.json] HTTPClient: HTTP GET https://masto.donte.com.br/users/libreofficebr/statuses/104637280208859683 - 401 Unauthorized 2020-08-05 22:22:17 LOG_ERR: [gnusocial.net:26443.7de3d1ac POST /inbox.json] HTTPClient: HTTP GET https://lgbtqia.is/users/catgirl/statuses/104634790378565885 - 401 Unauthorized 2020-08-05 23:34:28 LOG_ERR: [gnusocial.net:4522.d2ace528 POST /inbox.json] HTTPClient: HTTP GET https://merveilles.town/users/thomasorus/statuses/104625847365945496 - 401 Unauthorized 2020-08-05 23:36:10 LOG_ERR: [gnusocial.net:16104.eebb8080 POST /inbox.json] HTTPClient: HTTP GET https://monads.online/users/Manurweibling/statuses/104636634053573158 - 401 Unauthorized All the above links are working. This one is not, but the entry in the log is identical: 2020-08-06 00:47:10 LOG_ERR: [gnusocial.net:20412.6518cd0d POST /inbox.json] HTTPClient: HTTP GET https://makhnodon.club/users/GreenandBlack/statuses/104639655335986916 - 401 Unauthorized
aab commented 2 years ago
Poster

Maybe this is related (or the same as) #222

One of the servers which show this more frequently is octodon.social. I've asked admin and it is confirmed, they use AUTHORIZED_FETCH.

https://gnusocial.net/notice/9731293

Maybe this is related (or the same as) https://notabug.org/diogo/gnu-social/issues/222 One of the servers which show this more frequently is octodon.social. I've asked admin and it is confirmed, they use AUTHORIZED_FETCH. https://gnusocial.net/notice/9731293
Diogo Cordeiro commented 2 years ago
Owner

This doesn't make sense, these are statuses not persons...

This doesn't make sense, these are statuses not persons...
aab commented 2 years ago
Poster

Ok, this may be it:

2021-07-23 16:47:22 LOG_DEBUG: [gnusocial.net:update_activitypub_profiles.php:27836] ActivityPub Explorer: Started now looking for https://octodon.social/users/cwebber

2021-07-23 16:47:22 LOG_DEBUG: [gnusocial.net:update_activitypub_profiles.php:27836] ActivityPub Explorer: Searching locally for https://octodon.social/users/cwebber offline.

2021-07-23 16:47:22 LOG_DEBUG: [gnusocial.net:update_activitypub_profiles.php:27836] ActivityPub Explorer: Found a local Aprofile for https://octodon.social/users/cwebber

2021-07-23 16:47:22 LOG_ERR: [gnusocial.net:update_activitypub_profiles.php:27836] HTTPClient: HTTP GET https://octodon.social/users/cwebber - 401 Unauthorized


2021-07-23 16:53:44 LOG_DEBUG: [gnusocial.net:908.e0cc4065 POST /user/157720/inbox.json] ActivityPub Explorer: Started now looking for https://octodon.social/users/alienghic

2021-07-23 16:53:44 LOG_DEBUG: [gnusocial.net:908.e0cc4065 POST /user/157720/inbox.json] ActivityPub Explorer: Searching locally for https://octodon.social/users/alienghic offline.

2021-07-23 16:53:44 LOG_DEBUG: [gnusocial.net:908.e0cc4065 POST /user/157720/inbox.json] ActivityPub Explorer: Found a local Aprofile for https://octodon.social/users/alienghic

2021-07-23 16:53:44 LOG_ERR: [gnusocial.net:908.e0cc4065 POST /user/157720/inbox.json] HTTPClient: HTTP GET https://octodon.social/users/alienghic - 401 Unauthorized

Ok, this may be it: 2021-07-23 16:47:22 LOG_DEBUG: [gnusocial.net:update_activitypub_profiles.php:27836] ActivityPub Explorer: Started now looking for https://octodon.social/users/cwebber 2021-07-23 16:47:22 LOG_DEBUG: [gnusocial.net:update_activitypub_profiles.php:27836] ActivityPub Explorer: Searching locally for https://octodon.social/users/cwebber offline. 2021-07-23 16:47:22 LOG_DEBUG: [gnusocial.net:update_activitypub_profiles.php:27836] ActivityPub Explorer: Found a local Aprofile for https://octodon.social/users/cwebber 2021-07-23 16:47:22 LOG_ERR: [gnusocial.net:update_activitypub_profiles.php:27836] HTTPClient: HTTP GET https://octodon.social/users/cwebber - 401 Unauthorized ---------------------------------------------------------- 2021-07-23 16:53:44 LOG_DEBUG: [gnusocial.net:908.e0cc4065 POST /user/157720/inbox.json] ActivityPub Explorer: Started now looking for https://octodon.social/users/alienghic 2021-07-23 16:53:44 LOG_DEBUG: [gnusocial.net:908.e0cc4065 POST /user/157720/inbox.json] ActivityPub Explorer: Searching locally for https://octodon.social/users/alienghic offline. 2021-07-23 16:53:44 LOG_DEBUG: [gnusocial.net:908.e0cc4065 POST /user/157720/inbox.json] ActivityPub Explorer: Found a local Aprofile for https://octodon.social/users/alienghic 2021-07-23 16:53:44 LOG_ERR: [gnusocial.net:908.e0cc4065 POST /user/157720/inbox.json] HTTPClient: HTTP GET https://octodon.social/users/alienghic - 401 Unauthorized
Sign in to join this conversation.
No Milestone
No assignee
2 Participants
Loading...
Cancel
Save
There is no content yet.