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

sigh: authentication.failed / Your session has expired. Please log in. #4157

Closed
jab11 opened this issue Apr 11, 2016 · 16 comments
Closed

sigh: authentication.failed / Your session has expired. Please log in. #4157

jab11 opened this issue Apr 11, 2016 · 16 comments

Comments

@jab11
Copy link

jab11 commented Apr 11, 2016

Starting login with user 'jan.batora'

[!] Apple provided the following error info:
authentication.failed
Your session has expired. Please log in.

sigh won't even ask for password. It works with a different account I have but not with this one that does not have email address for name. It works fine on developer.apple.com, doesn't work with fastlane. It used to work a few months back.

everything updated, fastlane 1.81.0, no Fastfile

@stueccles
Copy link

I have the same issue with match 0.4

{"responseId"=>"3a57cd84-e207-47b0-a245-e64da7bfc07c", "resultCode"=>1100, "resultString"=>"authentication.failed", "userString"=>"Your session has expired. Please log in.", "creationTimestamp"=>"2016-04-11T18:35:10Z", "protocolVersion"=>"QH65B2", "userLocale"=>"en_US", "requestUrl"=>"https://developerservices2.apple.com/services/QH65B2/listTeams.action", "httpCode"=>200}

Just upgraded fastlane to 1.81.0, but Apple have just updated the member center so 2:1 and pick em they broke the api...

@msywensky
Copy link

Also failing for me in sigh. Tried out in spaceship and am getting the same response as stueccles on the 'playground'. Was working prior to Apple site update. Upgraded fastlane to 1.81.0 but did not help.

@pj4533
Copy link

pj4533 commented Apr 11, 2016

Yep...bit me as well. Lemme know if I can do anything to help test or provide more information.

@pj4533
Copy link

pj4533 commented Apr 11, 2016

I just logged into http://appleid.apple.com and it prompted me to update my 3 security questions. After I did that, sigh had no issues.

I was able to log into the dev center with no prompting of questions, only appleid.apple.com

@msywensky
Copy link

Thanks for tip! I logged into appleid.apple.com as well with the account. I did not need to update my security questions. Once I did this, sigh started working again.

@vpolouchkine
Copy link
Contributor

@jab11 Can you login per #4157 (comment)?

@jab11
Copy link
Author

jab11 commented Apr 12, 2016

So my apple id was not an email address. appleid.apple.com made me change it to an actual email address and that way it works now even without adding any security questions.
I've had that account for almost 7 years and it still worked for the developer center only fastlane had a problem with it.
But yeah, solved.

@vpolouchkine
Copy link
Contributor

Glad to hear you're up and running!

@KrauseFx
Copy link
Member

Thanks @pj4533 for providing a solution that seem to work for most users. I still have to reproduce the issue to show an appropriate error message when that happens.

@sharat
Copy link

sharat commented May 24, 2016

@KrauseFx @pj4533

I had similar issue when fastlane was initialized.

  1. I have prepared a new Apple ID for demo purpose.
  2. I had all 3 security questions filled up during registration.
  3. I hadn't accepted team invite

Here are the error I have seen

[22:58:59]: {"responseId"=>"dd6a554e-a2f8-497b-88f3-075ab9f6e840", "resultCode"=>1100, "resultString"=>"authentication.failed", "userString"=>"Your session has expired.  Please log in.", "creationTimestamp"=>"2016-05-24T17:28:59Z", "protocolVersion"=>"QH65B2", "userLocale"=>"en_US", "requestUrl"=>"https://developerservices2.apple.com/services/QH65B2/listTeams.action", "httpCode"=>200}
[22:58:59]: An error occured during the setup process. Falling back to manual setup!

Then I followed @pj4533's step login to Apple account. I was not prompted with security questions. Then I tried fastlane init again.

ERROR [2016-05-24 23:02:54.60]: Your account is in no teams
ERROR [2016-05-24 23:02:54.60]: An error occured during the setup process. Falling back to manual setup!

Finally I accepted team invite and bumped in to this.

[23:10:29]: Unauthorized Access
[23:10:29]: An error occured during the setup process. Falling back to manual setup!

As a final attempt I went ahead with manual setup

[23:14:41]: Error occurred with the setup program! Reverting changes now!
[23:14:41]: Deleting the 'fastlane' folder

[!] The request could not be completed because:
    Unauthorized Access

@TKBurner
Copy link

@sharat Do you have a team associated with your Apple ID in Apple Developer Portal? It seems like this is the problem. Do any other apps exist in this account? Thanks 👍

@sharat
Copy link

sharat commented May 26, 2016

@TKBurner The team connected doesn't have iTunes connect enabled.

@TKBurner
Copy link

@sharat Thanks for following up. Have you tried with an iTC enabled account? Spaceship uses the iTC API and this is probably why you are seeing this issue.

@sharat
Copy link

sharat commented May 26, 2016

@TKBurner yes it's working with ITC enabled account.

What if I need only build distribution with crashlytics beta?

@TKBurner
Copy link

Hi @sharat! Great to hear from you again. Do you have a signed IPA? Can you give me the output if you run the crashlytics action on your ipa?

@vinnybad
Copy link

@msywensky's solution worked for me. I first checked the system status at https://www.apple.com/support/systemstatus/ and verified that the portal was still up.

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

No branches or pull requests

9 participants