boarding icon indicating copy to clipboard operation
boarding copied to clipboard

Deploy to heroku fails

Open Adverbly opened this issue 6 years ago • 6 comments

I was first seeing this issue on the docker image, but I get it when trying to deploy to heroku as well.

Spaceship::Tunes::Error: {"authType"=>"sa"}

The same config was working until recently but I am now seeing this on startup.

Adverbly avatar May 31 '18 13:05 Adverbly

Same here. Doesn't seem to be able to authenticate with Apple's servers. I take it they've made a change on their side.

/usr/local/rvm/gems/ruby-2.4.1/gems/fastlane-2.86.2/spaceship/lib/spaceship/client.rb:469:in `send_shared_login_request': {"authType"=>"sa"} (Spaceship::Tunes::Error)
aa=934B9839AD1621E0B5C0A6108384BEDC; Domain=idmsa.apple.com; Path=/; Secure; HttpOnly, dslang=US-EN; Domain=apple.com; Path=/; Secure; HttpOnly, site=USA; Domain=apple.com; Path=/; Secure; HttpOnly, acn01=Df3NdIHcB9fM9/3lkPZoSGfw8W2vN1ubZ5QRuysAE5W8/Gr20A==; Max-Age=31536000; Expires=Sat, 01-Jun-2019 01:11:18 GMT; Domain=apple.com; Path=/; Secure; HttpOnly

davidsomen avatar Jun 01 '18 01:06 davidsomen

This may have something to do with Apple's introduction of their own App Store Connect API being released this summer. Including TestFlight public links.

davidsomen avatar Jun 08 '18 05:06 davidsomen

Sad to see very little discussion within 17 days of this issue being opened. Also experiencing this issue with no resolution yet.

KaneCheshire avatar Jun 18 '18 00:06 KaneCheshire

Hi Guys, the error is caused from Apple requiring you to accept a new privacy policy.

This thread has more details: https://github.com/fastlane/fastlane/issues/12577

To fix - login to here: https://appleid.apple.com and here: https://itunesconnect.apple.com

Ensure there is nothing to accept. I had to do this for a few accounts.

After that, my Heroku boarding deployment that is now 2 months old just worked after a restart. Didn't need to deploy any new code.

👍

Thwaitesy avatar Jun 20 '18 22:06 Thwaitesy

Thank you @Thwaitesy ! I had forgotten that I had used a secondary account for the heroku app so that I didn't have to give them my main Apple ID and password. Logged in and accepted aaaaand.... it didn't work. A redeploy seemed to kick start it though.

davidsomen avatar Jun 21 '18 00:06 davidsomen

Ah yes this works great now. Thank you :)

KaneCheshire avatar Jun 27 '18 06:06 KaneCheshire