mozilla / addons

☂ Umbrella repository for Mozilla Addons ✨
Other
125 stars 41 forks source link

AMO -dev log in process is broken #8502

Closed AlexandraMoga closed 2 years ago

AlexandraMoga commented 2 years ago

Describe the problem and steps to reproduce it:

  1. Load https://addons-dev.allizom.org/en-US/firefox/ while being logged out
  2. Click on log in
  3. Enter credentials on the FxA login page
  4. Wait to be logged into AMO

What happened?

Once you enter your login details, The FxA login page remains in a loading state for a while, then you are redirected back to AMO but not logged in. There is also the following error visible in the browser console:

Error ignored: {"errno":1005,"namespace":"auth","errorModule":{"ERRORS":{"UNEXPECTED_ERROR":{"errno":999,"message":"Unexpected error"},"INVALID_TOKEN":{"errno":110,"message":"Invalid token"},"INVALID_TIMESTAMP":{"errno":111,"message":"Invalid timestamp in request signature"},"INVALID_NONCE":{"errno":115,"message":"Invalid nonce in request signature"},"ACCOUNT_ALREADY_EXISTS":{"errno":101,"message":"Account already exists"},"UNKNOWN_ACCOUNT":{"errno":102,"message":"Unknown account"},"INCORRECT_EMAIL_CASE":{"errno":120,"message":"Incorrect email case"},"INCORRECT_PASSWORD":{"errno":103,"message":"Incorrect password"},"UNVERIFIED_ACCOUNT":{"errno":104,"message":"Unverified account"},"INVALID_VERIFICATION_CODE":{"errno":105,"message":"Invalid verification code"},"INVALID_JSON":{"errno":106,"message":"Invalid JSON in request body"},"INVALID_PARAMETER":{"errno":107,"message":"Invalid parameter: %(param)s"},"MISSING_PARAMETER":{"errno":108,"message":"Missing parameter: %(param)s"},"INVALID_REQUEST_SIGNATURE":{"errno":109,"message":"Invalid request signature"},"MISSING_CONTENT_LENGTH_HEADER":{"errno":112,"message":"Missing content-length header"},"REQUEST_TOO_LARGE":{"errno":113,"message":"Request body too large"},"THROTTLED":{"errno":114,"message":"You've tried too many times. Try again later."},"REQUEST_BLOCKED":{"errno":125,"message":"The request was blocked for security reasons"},"ACCOUNT_RESET":{"errno":126,"message":"Your account has been locked for security reasons"},"INCORRECT_UNBLOCK_CODE":{"errno":127,"message":"Invalid authorization code"},"INVALID_PHONE_NUMBER":{"errno":129,"message":"Invalid phone number"},"INVALID_PHONE_REGION":{"errno":130,"message":"Cannot send to this country"},"SMS_ID_INVALID":{"errno":131,"message":"SMS ID invalid"},"SMS_REJECTED":{"errno":132,"message":"Could not send a message to this number"},"EMAIL_SENT_COMPLAINT":{"errno":133,"message":"Your email was just returned"},"EMAIL_HARD_BOUNCE":{"errno":134,"message":"Your email was just returned. Mistyped email?"},"EMAIL_SOFT_BOUNCE":{"errno":135,"message":"Unable to deliver email"},"EMAIL_EXISTS":{"errno":136,"message":"This email was already verified by another user"},"UNVERIFIED_SESSION":{"errno":138,"message":"Unverified session"},"EMAIL_PRIMARY_EXISTS":{"errno":139,"message":"Secondary email must be different than your account email"},"EMAIL_VERIFIED_PRIMARY_EXISTS":{"errno":140,"message":"Account already exists"},"MAX_SECONDARY_EMAILS_REACHED":{"errno":188,"message":"You have reached the maximum allowed secondary emails"},"ACCOUNT_OWNS_EMAIL":{"errno":189,"message":"This email already exists on your account"},"UNVERIFIED_PRIMARY_EMAIL_NEWLY_CREATED":{"errno":141,"message":"Account already exists"},"LOGIN_WITH_SECONDARY_EMAIL":{"errno":142,"message":"Primary account email required for sign-in"},"VERIFIED_SECONDARY_EMAIL_EXISTS":{"errno":144,"message":"Address in use by another account"},"RESET_PASSWORD_WITH_SECONDARY_EMAIL":{"errno":145,"message":"Primary account email required for reset"},"INVALID_SIGNIN_CODE":{"errno":146,"message":"Invalid signin code"},"CHANGE_EMAIL_TO_UNVERIFIED_EMAIL":{"errno":147,"message":"Can not change primary email to an unverified email"},"CHANGE_EMAIL_TO_UNOWNED_EMAIL":{"errno":148,"message":"Can not change primary email to an email that does not belong to this account"},"LOGIN_WITH_INVALID_EMAIL":{"errno":149,"message":"This email can not currently be used to login"},"RESEND_EMAIL_CODE_TO_UNOWNED_EMAIL":{"errno":150,"message":"Can not change primary email to an email that does not belong to this account"},"FAILED_TO_SEND_EMAIL":{"errno":151,"message":"Failed to send email"},"INVALID_OTP_CODE":{"errno":152,"message":"Valid code required"},"EXPIRED_TOKEN_VERIFICATION_CODE":{"errno":153,"message":"This verification code has expired"},"TOTP_TOKEN_EXISTS":{"errno":154,"message":"A TOTP token already exists for this account"},"TOTP_TOKEN_NOT_FOUND":{"errno":155,"message":"TOTP token not found"},"RECOVERY_CODE_NOT_FOUND":{"errno":156,"message":"Recovery code not found"},"DEVICE_COMMAND_UNAVAILABLE":{"errno":157,"message":"Unavailable device command"},"RECOVERY_KEY_NOT_FOUND":{"errno":158,"message":"Recovery key not found"},"INVALID_RECOVERY_KEY":{"errno":159,"message":"Invalid recovery key"},"TOTP_REQUIRED":{"errno":160,"message":"This request requires two step authentication enabled on your account."},"REDIS_CONFLICT":{"errno":165,"message":"Failed due to a conflicting request, please try again."},"INSUFFICIENT_ACR_VALUES":{"errno":170,"message":"This request requires two step authentication enabled on your account."},"UNKNOWN_SUBSCRIPTION_CUSTOMER":{"errno":176,"message":"Unknown customer for subscription."},"UNKNOWN_SUBSCRIPTION":{"errno":177,"message":"Unknown subscription."},"UNKNOWN_SUBSCRIPTION_PLAN":{"errno":178,"message":"Unknown plan for subscription."},"REJECTED_SUBSCRIPTION_PAYMENT_TOKEN":{"errno":179,"message":"Invalid payment token for subscription."},"SUBSCRIPTION_ALREADY_CANCELLED":{"errno":180,"message":"Subscription has already been cancelled"},"REJECTED_CUSTOMER_UPDATE":{"errno":181,"message":"Update was rejected, please try again"},"INVALID_EXPIRED_SIGNUP_CODE":{"errno":183,"message":"Invalid or expired verification code"},"SERVER_BUSY":{"errno":201,"message":"Server busy, try again soon"},"FEATURE_NOT_ENABLED":{"errno":202,"message":"Feature not enabled"},"BACKEND_SERVICE_FAILURE":{"errno":203,"message":"System unavailable, try again soon"},"DISABLED_CLIENT_ID":{"errno":204,"message":"System unavailable, try again soon"},"ENDPOINT_NOT_SUPPORTED":{"errno":116,"message":"This endpoint is no longer supported"},"SERVICE_UNAVAILABLE":{"errno":998,"message":"System unavailable, try again soon"},"USER_CANCELED_LOGIN":{"errno":1001,"message":"Login attempt cancelled"},"SESSION_EXPIRED":{"errno":1002,"message":"Session expired. Sign in to continue."},"COOKIES_STILL_DISABLED":{"errno":1003,"message":"Cookies are still disabled"},"PASSWORDS_DO_NOT_MATCH":{"errno":1004,"message":"Passwords do not match"},"WORKING":{"errno":1005,"message":"Working…"},"COULD_NOT_GET_PP":{"errno":1006,"message":"Could not get Privacy Notice"},"COULD_NOT_GET_TOS":{"errno":1007,"message":"Could not get Terms of Service"},"PASSWORDS_MUST_BE_DIFFERENT":{"errno":1008,"message":"Your new password must be different"},"PASSWORD_TOO_SHORT":{"errno":1009,"message":"Must be at least 8 characters"},"PASSWORD_REQUIRED":{"errno":1010,"message":"Valid password required"},"EMAIL_REQUIRED":{"errno":1011,"message":"Valid email required"},"UNUSABLE_IMAGE":{"errno":1013,"message":"A usable image was not found"},"NO_CAMERA":{"errno":1014,"message":"Could not initialize camera"},"URL_REQUIRED":{"errno":1015,"message":"Valid URL required"},"DESKTOP_CHANNEL_TIMEOUT":{"errno":1017,"message":"Unexpected error"},"SIGNUP_EMAIL_BOUNCE":{"errno":1018,"message":"Your verification email was just returned. Mistyped email?"},"DIFFERENT_EMAIL_REQUIRED":{"errno":1019,"message":"Valid email required"},"DIFFERENT_EMAIL_REQUIRED_FIREFOX_DOMAIN":{"errno":1020,"message":"Enter a valid email address. firefox.com does not offer email."},"CHANNEL_TIMEOUT":{"errno":1021,"message":"Unexpected error"},"ILLEGAL_IFRAME_PARENT":{"errno":1022,"message":"Firefox Accounts can only be placed into an IFRAME on approved sites"},"INVALID_EMAIL":{"errno":1023,"message":"Valid email required"},"EXPIRED_VERIFICATION_LINK":{"errno":1025,"message":"The link you clicked to verify your email is expired."},"DAMAGED_VERIFICATION_LINK":{"errno":1026,"message":"Verification link damaged"},"UNEXPECTED_POSTMESSAGE_ORIGIN":{"errno":1027,"message":"Unexpected error"},"INVALID_IMAGE_SIZE":{"errno":1028,"message":"The image dimensions must be at least 100x100px"},"IOS_SIGNUP_DISABLED":{"errno":1029,"message":"Signup is coming soon to Firefox for iOS"},"AGE_REQUIRED":{"errno":1031,"message":"You must enter your age to sign up"},"INVALID_AGE":{"errno":1032,"message":"You must enter a valid age to sign up"},"INVALID_CAMERA_DIMENSIONS":{"errno":1033,"message":"Unexpected error"},"DELETED_ACCOUNT":{"errno":1034,"message":"Account no longer exists."},"INVALID_RESUME_TOKEN_PROPERTY":{"errno":1035,"message":"Invalid property in resume token: %(property)s"},"MISSING_RESUME_TOKEN_PROPERTY":{"errno":1036,"message":"Missing property in resume token: %(property)s"},"INVALID_DATA_ATTRIBUTE":{"errno":1037,"message":"Invalid data attribute: %(property)s"},"MISSING_DATA_ATTRIBUTE":{"errno":1038,"message":"Missing data attribute: %(property)s"},"POLLING_FAILED":{"errno":1039,"message":"Server busy, try again soon"},"UNKNOWN_ACCOUNT_VERIFICATION":{"errno":1040,"message":"The link you clicked to verify your email is expired."},"REUSED_SIGNIN_VERIFICATION_CODE":{"errno":1041,"message":"That confirmation link was already used, and can only be used once."},"INPUT_REQUIRED":{"errno":1042,"message":"This is a required field"},"UNBLOCK_CODE_REQUIRED":{"errno":1043,"message":"Authorization code required"},"INVALID_UNBLOCK_CODE":{"errno":1044,"message":"Invalid authorization code"},"DAMAGED_REJECT_UNBLOCK_LINK":{"errno":1045,"message":"Link damaged"},"UNSAFE_INTERPOLATION_VARIABLE_NAME":{"errno":1046,"message":"String variable name does not have escape prefix: %(string)s"},"HTML_WILL_BE_ESCAPED":{"errno":1047,"message":"HTML will be escaped: %(string)s"},"CANNOT_CHANGE_INPUT_TYPE":{"errno":1048,"message":"Cannot change input type: %(type)s"},"PHONE_NUMBER_REQUIRED":{"errno":1049,"message":"Phone number required"},"ACCOUNT_HAS_NO_UID":{"errno":1050,"message":"Account has no uid"},"INVALID_WEB_CHANNEL":{"errno":1051,"message":"Browser not configured to accept WebChannel messages from this domain"},"REUSED_PRIMARY_EMAIL_VERIFICATION_CODE":{"errno":1052,"message":"That confirmation link was already used, and can only be used once."},"TOTP_CODE_REQUIRED":{"errno":1053,"message":"Two-step authentication code required"},"INVALID_TOTP_CODE":{"errno":1054,"message":"Invalid two-step authentication code"},"RECOVERY_CODE_REQUIRED":{"errno":1055,"message":"Recovery code required"},"INVALID_RECOVERY_CODE":{"errno":1056,"message":"Invalid recovery code"},"PASSWORD_SAME_AS_EMAIL":{"errno":1057,"message":"Password must not be your email address"},"PASSWORD_TOO_COMMON":{"errno":1058,"message":"Password is too common"},"RECOVERY_KEY_REQUIRED":{"errno":1059,"message":"Recovery key required"},"OTP_CODE_REQUIRED":{"errno":1060,"message":"Please enter verification code"},"INVALID_REDIRECT_TO":{"errno":1062,"message":"Invalid redirect"},"INVALID_EMAIL_DOMAIN":{"errno":1064,"message":"Mistyped email? %(domain)s does not offer email."},"IMAGE_TOO_LARGE":{"errno":1065,"message":"The image file size is too large to be uploaded."},"ECOSYSTEM_ANON_ID_UPDATE_CONFLICT":{"errno":190,"message":"Could not update Ecosystem Anon ID because precondition failed."}},"NAMESPACE":"auth"}}

What did you expect to happen?

Log in is successful

Anything else we should know?

Logging out is also not functional. Clicking on log out will not trigger the logout process correctly and after a while a 504 error will be returned.

AlexandraMoga commented 2 years ago

This seems to have been a temporary issue. Logins are functioning now.