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

pdsadmin account reset-password does not work #102

Open
j4ckxyz opened this issue Oct 21, 2024 · 7 comments
Open

pdsadmin account reset-password does not work #102

j4ckxyz opened this issue Oct 21, 2024 · 7 comments

Comments

@j4ckxyz
Copy link

j4ckxyz commented Oct 21, 2024

image

I created an account on my own PDS with the PDS script, but I didn't save the password 😅. Went to reset it with (sudo) pdsadmin account reset-password and got the error in the image above. Tried multiple times, same. thing.

I made posts about it here & here (although my main account is still on Bluesky's PDS since I don't trust myself hehe, at least for now)

Was told to post a report about it here, so.. :)

thanks!

@j4ckxyz
Copy link
Author

j4ckxyz commented Oct 21, 2024

image Update, it seems like it throws the same error every time I run any type of script? Not exactly sure what's happening. App is functional from the single account I was able to create during installer.sh.

"curl: (35) OpenSSL/3.0.14: error:0A000438:SSL routines::tlsv1 alert internal error"

and the domain is accessible from the Pi, I just tested it.

@dholms
Copy link
Contributor

dholms commented Oct 23, 2024

Check out the pdsadmin script: https://github.com/bluesky-social/pds/blob/main/pdsadmin.sh

It will grab the relevant script from this git repo in the case of pdsadmin account list that's https://raw.githubusercontent.com/bluesky-social/pds/main/pdsadmin/account.sh

Looks like you're running into a TLS error when trying to download that file? Maybe try curling it outside of the script?

@j4ckxyz
Copy link
Author

j4ckxyz commented Oct 23, 2024

image image

Not sure if I did this right, but I curled it and it still did it..?

@devinivy
Copy link
Collaborator

The other option is that the SSL error comes from trying to talk to your PDS. These admin scripts will hit your PDS over HTTPS at whatever PDS_HOSTNAME is set in your PDS's environment vars (e.g. set within /pds/pds.env). Assuming it's set to rpi.bandicoot-nominal.ts.net you could give it a quick test like so:

curl https://rpi.bandicoot-nominal.ts.net/xrpc/com.atproto.sync.listRepos

@j4ckxyz
Copy link
Author

j4ckxyz commented Oct 28, 2024

image

Unless I'm doing something [really] wrong it's throwing the same error... although at the actual domain you can see some information in a web browser.

@devinivy
Copy link
Collaborator

Since the PDS can be curled fine from the public internet but not from your pi, I wonder if there's a networking issue on your pi, or something going on locally with tailscale.

@j4ckxyz
Copy link
Author

j4ckxyz commented Oct 28, 2024

Possibly. I was following this tutorial about using Cloudflare Tunnels to do it, but I instead did it with Tailscale Funnels since I already have a Tailscale Network setup. I might try redoing it with Cloudflare though, since it seems like no one else is having this issue?

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

3 participants