You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suspect there's a bug in the Bluesky app when a custom PDS changes its domain name.
I was running a custom PDS on bsky.juanlu.space, everything was working well.
At some point I decided to change the domain name, so I added a DSN A record pds.juanlu.space pointing to the same IP, changed the Caddyfile and pds.env, restarted the service. I was able to log in and browse the network, so for a few days I thought everything had worked fine.
However, at some point I found out that my posts weren't being shown. I would refresh my profile page and see nothing.
I started digging. The POST /xrpc/com.atproto.repo.createRecord was returning a valid record with "validationStatus":"valid". The /xrpc/com.atproto.sync.subscribeRepos WebSocket was showing my new posts. And yet, new posts weren't showing in the app.
I also noticed that the app wasn't able to retrieve my avatar. But the avatar for old posts was showing fine.
I am not a TypeScript coder nor ATProto expert so it would have taken me a while to debug this without assistance. So I decided to revert to the last working configuration hoping that I hadn't broken anything.
I changed the DNS back to bsky.juanlu.space, reverted the configs, restarted the service, and the app caught up with all the posts that I had written. So now everything is back to normal.
To Reproduce
(see above)
Expected behavior
Everything should continue as normal even after changing the domain name.
But maybe this is either (b) an improper expectation because $cryptography or whatever or (c) I did miss some config that I should have changed, so error was between chair and keyboard. Happy to dig a bit more with some assistance (I'm fine using my own account as guinea pig).
Describe the bug
I suspect there's a bug in the Bluesky app when a custom PDS changes its domain name.
I was running a custom PDS on
bsky.juanlu.space
, everything was working well.At some point I decided to change the domain name, so I added a DSN A record
pds.juanlu.space
pointing to the same IP, changed theCaddyfile
andpds.env
, restarted the service. I was able to log in and browse the network, so for a few days I thought everything had worked fine.However, at some point I found out that my posts weren't being shown. I would refresh my profile page and see nothing.
I started digging. The
POST /xrpc/com.atproto.repo.createRecord
was returning a valid record with"validationStatus":"valid"
. The/xrpc/com.atproto.sync.subscribeRepos
WebSocket was showing my new posts. And yet, new posts weren't showing in the app.I also noticed that the app wasn't able to retrieve my avatar. But the avatar for old posts was showing fine.
I am not a TypeScript coder nor ATProto expert so it would have taken me a while to debug this without assistance. So I decided to revert to the last working configuration hoping that I hadn't broken anything.
I changed the DNS back to bsky.juanlu.space, reverted the configs, restarted the service, and the app caught up with all the posts that I had written. So now everything is back to normal.
To Reproduce
(see above)
Expected behavior
Everything should continue as normal even after changing the domain name.
But maybe this is either (b) an improper expectation because $cryptography or whatever or (c) I did miss some config that I should have changed, so error was between chair and keyboard. Happy to dig a bit more with some assistance (I'm fine using my own account as guinea pig).
Screenshots
Details
Additional context
The text was updated successfully, but these errors were encountered: