#270 Issues with DMs

Terbuka
dibuka 2 tahun lalu oleh aab · 4 komentar
aab komentar 2 tahun lalu

In gnusocial.net, I've detected that most of sent DM don't arrive, regardless they are sent to GS, Mastodon or Pleroma. I'm gathering detailed logs, which I'll add here. But maybe this is one big clue, from ngingx logs:

PHP message: PHP Notice: Undefined property: Profile::$email in /var/www/gnusocial/lib/util/mail.php on line 634" while reading response header from upstream, client: 185.213.155.165, server: gnusocial.net, request: "POST /message/new HTTP/2.0", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "gnusocial.net", referrer: "https://gnusocial.net/user/outbox Another one:

PHP message: PHP Warning: Creating default object from empty value in /var/www/gnusocial/plugins/ActivityPub/classes/Activitypub_rsa.php on line 85" while reading response header from upstream, client: 199.58.83.11, server: gnusocial.net, request: "POST /message/new HTTP/2.0", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "gnusocial.net", referrer: "https://gnusocial.net/user/outbox

I've seen this message almost every time they are sent.

In gnusocial.net, I've detected that most of sent DM don't arrive, regardless they are sent to GS, Mastodon or Pleroma. I'm gathering detailed logs, which I'll add here. But maybe this is one big clue, from ngingx logs: PHP message: PHP Notice: Undefined property: Profile::$email in /var/www/gnusocial/lib/util/mail.php on line 634" while reading response header from upstream, client: 185.213.155.165, server: gnusocial.net, request: "POST /message/new HTTP/2.0", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "gnusocial.net", referrer: "https://gnusocial.net/user/outbox Another one: PHP message: PHP Warning: Creating default object from empty value in /var/www/gnusocial/plugins/ActivityPub/classes/Activitypub_rsa.php on line 85" while reading response header from upstream, client: 199.58.83.11, server: gnusocial.net, request: "POST /message/new HTTP/2.0", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "gnusocial.net", referrer: "https://gnusocial.net/user/outbox I've seen this message almost every time they are sent.
aab komentar 2 tahun lalu
Poster

Ouch, bad mail config. Closing!!

Ouch, bad mail config. Closing!!
aab komentar 2 tahun lalu
Poster

Ok, I'm reopening this with new info.

After fixing the mail config, the situation is this:

  • We can send and recieve DMs from Pleroma, both with notification (Pleroma in UI, GS in mail).
  • We can send and recieve DMs from Mastodon. We get the mail notification, but they don't get the UI one.
  • We can't send or recieve DMs internally; the "Undefined property: Profile::$email" mentioned before appears every time.
  • For Pleroma and Mastodon DMs to arrive, they have to write them as a new message. If they reply to one DM from our side, the reply does not arrive.

Maybe I'm not understanding it, but... Could it be some issue with webfinger? Is there any way to diagnose this?

Ok, I'm reopening this with new info. After fixing the mail config, the situation is this: - We can send and recieve DMs from Pleroma, both with notification (Pleroma in UI, GS in mail). - We can send and recieve DMs from Mastodon. We get the mail notification, but they don't get the UI one. - We can't send or recieve DMs internally; the "Undefined property: Profile::$email" mentioned before appears every time. - For Pleroma and Mastodon DMs to arrive, they have to write them as a new message. If they reply to one DM from our side, the reply does not arrive. Maybe I'm not understanding it, but... Could it be some issue with webfinger? Is there any way to diagnose this?
aab buka kembali 2 tahun lalu issues.commit_ref_at=
aab komentar 2 tahun lalu
Poster

Today, after the GNUSocial 2.0.1-beta0 post.hillenius.net admin has fixed their "Messages" menu not showing, we've been able to exchange DMs. Good news! I'll try to figure out why it is not working between other 2 up to date GS servers (and, of course, if anyone has any clue, I'm happy to try anything).

Today, after the GNUSocial 2.0.1-beta0 post.hillenius.net admin has fixed their "Messages" menu not showing, we've been able to exchange DMs. Good news! I'll try to figure out why it is not working between other 2 up to date GS servers (and, of course, if anyone has any clue, I'm happy to try anything).
Diogo Cordeiro komentar 2 tahun lalu
Pemilik

Actually, there was a convention change with regard to how DMs are processed via ActivityPub... This was already considered in v3, but not in v2... :(

Actually, there was a convention change with regard to how DMs are processed via ActivityPub... This was already considered in v3, but not in v2... :(
Masuk untuk bergabung dalam percakapan ini.
Tidak ada tonggak
Tidak ada penerima
2 Peserta
Memuat...
Batal
Simpan
Belum ada konten.