-
Notifications
You must be signed in to change notification settings - Fork 133
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
Can't migrate via goat, possibly because I'm an idiot #787
Comments
hrm, the basic account login should not usually require an email token. do you have "email 2FA" enabled for your account? is your account email verified? I may not have tested this flow when the "email 2FA" flag is set. You might be able to disable that and try again? If that is what the issue is, let me know and i'll at least open a ticket to track the issue. |
@bnewbold You are a scholar and a gentleman. Will give that a shot. |
@bnewbold Progress! That worked, could get the correct code via email* - however, It's now telling me the API is sending me invalid data (wrong content type, maybe? assuming HTML instead of whatever it's expecting?).
* Also just FYI, when it sends you that email, the message actually says:
|
@bnewbold Running through the manual migration steps via {
"level": 30,
"time": 1730764573244,
"pid": 7,
"hostname": "homebase",
"name": "pds",
"req": {
"id": 9140,
"method": "POST",
"url": "//xrpc/com.atproto.server.createSession",
"query": {},
"params": {},
"headers": {
"host": "wafer.baby",
"user-agent": "indigo/v0.0.0-20241031232035-1a73c3fb6841",
"content-length": "87",
"accept-encoding": "gzip",
"content-type": "application/json",
"x-forwarded-for": "(ip address)",
"x-forwarded-host": "wafer.baby",
"x-forwarded-proto": "https"
}
},
"res": {
"statusCode": 404,
"headers": {
"x-powered-by": "Express",
"access-control-allow-origin": "*",
"content-security-policy": "default-src 'none'",
"x-content-type-options": "nosniff",
"content-type": "text/html; charset=utf-8",
"content-length": 178,
"vary": "Accept-Encoding"
}
},
"responseTime": 3,
"msg": "request completed"
} |
Oh ha, it's because I left a trailing slash on my server name - removing that lets it work! FYI. |
+1 I ended up patching goat to take a hardcoded 2FA |
Hi friends! I'm trying to migrate to my own hosted PDS, which is up and running nicely (yay!). I'm trying to follow Bryan's guide to migrate via
goat
, but I'm running into an issue where:goat account login
, which (fairly) throws up a 401 because it's emailing me a token (error: XRPC ERROR 401: AuthFactorTokenRequired: A sign in code has been sent to your email address
).goat account migrate
with all their pertinent details, including the token I got via the email, but it just throws up an error (error: auth required, but not logged in
).I scrubbed through existing/closed issues and the guide, and I cannot for the life of me work out what I'm missing. Help? 😅
The text was updated successfully, but these errors were encountered: