bluesky-social / pds

Bluesky PDS (Personal Data Server) container image, compose file, and documentation
Other
1.38k stars 126 forks source link

Stuck in Invalid Handle #133

Open serghidalg opened 1 week ago

serghidalg commented 1 week ago

Hey there! I have tried setting up the PDS configuration and the only divergence I have is that I host Caddy in a different machine so I just do the reverse proxy from there to port 3000 in the PDS machine.

Registration works fine and I can see my profile at https://bsky.app/profile/computers.pyam.org However, there is always a Invalid Handle note, meaning that something is not correctly set up.

What I have tried so far:

This last check is what bugs me the most since I can do everything fine but I still get the error and I cannot be found by other accounts.

Could you please guide through the debugging of the setup?

TLDR: Stuck in Invalid Handle with PDS setup even though registration process works fine.

fullStackRacc commented 1 week ago

Having the same issue and I don't know if it's the site being weird because of all the new people or not, curious if anyone else knows or has troubleshooting steps

fullStackRacc commented 1 week ago

Okay so I just figured out why mine was doing it so I have to check, did you add the wildcard entry in your DNS? like *.pyam.org

serghidalg commented 1 week ago

Okay so I just figured out why mine was doing it so I have to check, did you add the wildcard entry in your DNS? like *.pyam.org

The wirdcard was added. As I said in my second troubleshooting step, that is correctly set up. I just double checked in DNS checker and it shows that any domain in *.pyam.org works fine.

Not sure what is making it not work

fullStackRacc commented 1 week ago

yeah I just wanted to double check, i had forgotten to haha

hopefully in that case it's just the site being a bit glitchy with the new people, but if not hopefully someone with more information responds and can get you situated, it's super annoying

slevengood commented 6 days ago

I was having this same issue earlier, but after just waiting a bit and trying again it ended up working. I think things may just be a little slow/weird due to the influx of new users.

serghidalg commented 5 days ago

I just noticed that if I explicitly set up the DNS TXT for a certain user, the Invalid Handle dissappears. However I thought that if they were hosted in your PDS, this process was implicit and if a new handle was used, you didn't need to set it up manually in your DNS. Was I mistaken? i.e: computers.pyam.org will not work untir I add hhe did to the DNS TXT record. If I later decide to change the handle for that user, I will need to set up a new TXT record and same goes for any newly created accounts.

Do you update by hand the DNS TXT record for each new handle a user creates?

mcangeli commented 4 days ago

Yes, you have to add the _atproto txt entry in DNS for each user.

serghidalg commented 4 days ago

So how do huge servers handle this? Isn't there a way to automate thin process? What happens if a user changes their handle down the line?

mcangeli commented 4 days ago

I don't know. But even if you "change" your handle on bsky.app itself to a custom handle you have to update the DNS. Its interesting that the are "verifying" via HTTP as well to the federated server but that it seems the DNS is the one taking precedence and that its the one that matters.

If you look at the debug page they have two verification methods... https://bsky-debug.app/handle?handle=mcangeli.bs.dadstoolbx.com