ちょっとだけ荒く挽いたコーヒー、いつもと少しだけ違う味がするような気もする。ぷはー
InstancePresenterに入れるのがいいのかMastodon::SourceCodeみたいの生やすのか…
いきなりOpenSSL::SSL::SSLError: Subscribe failedとか見えてびっくらこいたけどこれはcertificate verify failedだから先方の問題よね
というわけで、
\マスターに/ \なりますたー/
Merged master at 4edf9d849f5241aed42042577c889549a5b6beaa
@zundan 一人鯖の場合、トラブルは二通配信されるくらいですね。致命的ではないと思います。(AP勢は、もうそこら辺は慣れていると思います・・・)
とか言ってたらなんか出たw
method=POST path=/api/v1/statuses/161198/reblog format=html controller=Api::V1::Statuses::ReblogsController action=create status=500 error='NoMethodError: undefined method `object_type' for nil:NilClass' …
NoMethodError (undefined method `object_type' for nil:NilClass):
app/lib/activitypub/tag_manager.rb:29:in `uri_for'
app/serializers/activitypub/note_serializer.rb:30:in `in_reply_to'
app/lib/activitypub/adapter.rb:14:in `serializable_hash'
:
このアカウントをフォローしてるはずの他のインスタンスのHTLに何も見えないのはしばらくログインしてなかったからなのかな? @zundan@mstdn.jp
別インスタンスの自分でブーストするとよくわからないけど絵文字があるのがzunda.ninjaのアカウントです https://mastodon.zunda.ninja/media/mWU6rd-TkHrQp-iBPy0
いや、できれば、AP勢をDBのSubscriptions から消してもらえると助かります。(バックアップはしてもらって。)
@zundan OStatus での配信は、もはやAPでは要らないのでトラブルのネタなのです。
> select id,protocol from accounts where username ilike 'YUKIMOCHI' and domain='toot.yukimochi.jp';
id | protocol
----+----------
28 | 1
(1 row)
> select * from subscriptions where account_id=28;
id | callback_url | secret | expires_at | confirmed | account_id | created_at | updated_at | last_successful_delivery_at | domain
----+--------------+--------+------------+-----------+------------+------------+------------+-----------------------------+--------
(0 rows)
あれれ?
@YUKIMOCHI ありましたありました
> select count(1) from subscriptions where domain='toot.yukimochi.jp';
count
-------
1
(1 row)
フォロー解除してみました
> select count(1) from subscriptions where domain='toot.yukimochi.jp';
count
-------
1
(1 row)
あれれ?
> select count(1) from accounts where protocol=1; count
-------
9
(1 row)
あうあう
> Account.where(protocol: :activitypub).where(inbox_url: '').length
=> 0
あれあれ
@YUKIMOCHI あざます!
> SELECT COUNT(1) FROM accounts WHERE protocol=1;
count
-------
9
(1 row)
> UPDATE accounts SET last_webfingered_at=null WHERE protocol=1;
UPDATE 9
$ rails c
Account.where(protocol: :activitypub).each do |acc|
begin
ResolveRemoteAccountService.new.call(acc.acct)
rescue => e
pus "#{acc.username} #{acc.domain}: #{e}"
end
end
(エラーなし)
> SELECT COUNT(1) FROM accounts WHERE protocol=1;
count
-------
9
(1 row)
@YUKIMOCHI 0です…
> Account.where(protocol: :activitypub).where(inbox_url: '').length
=> 0
@YUKIMOCHI なるほど〜?(べんきょーしなくちゃ)そちらをフォローできているようには見えます。反応は遅いかもしれませんが試してみたいことがあればいろいろやってみますのでお知らせください。 https://mastodon.zunda.ninja/media/ynO_pSBTmc251BIP60s https://mastodon.zunda.ninja/media/yjY8G7KTeveLEEZYMDk
こんな感じでAP判定は間違ってなかったような感じです
> SELECT COUNT(1), domain FROM accounts WHERE protocol=1 GROUP BY domain ORDER BY 1 DESC;
count | domain
-------+---------------------
3 | mastodon.chotto.moe
3 | taruntarun.net
2 | toot.yukimochi.jp
1 | mustardon.tokyo
(4 rows)