Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stuck in Invalid Handle #133

Open
serghidalg opened this issue Nov 15, 2024 · 9 comments
Open

Stuck in Invalid Handle #133

serghidalg opened this issue Nov 15, 2024 · 9 comments

Comments

@serghidalg
Copy link

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:

  • CURL to update handle and change it from the website -> Handle changes but is still invalid.
  • Checking for A and TXT in my DNS -> https://pyam.org seems to be working okay and contains all the needed info.
  • Use Bluesky Debug Page here -> Everything seems to be working fine

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
Copy link

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
Copy link

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
Copy link
Author

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
Copy link

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
Copy link

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
Copy link
Author

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
Copy link

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

@serghidalg
Copy link
Author

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants