Comments (48)
It was working till yesterday. Getting the same error from today-
[13:36:15]: ---------------------
[13:36:15]: --- Step: produce ---
[13:36:15]: ---------------------
[13:36:35]: Creating new app 'Pizza Hut Bake' on the Apple Dev Center
[13:36:37]: Created app 9EU97ART8J
[13:36:41]: Finished creating new app 'Pizza Hut Bake' on the Dev Center
[13:36:43]: Variable Dump:
[13:36:43]: {:DEFAULT_PLATFORM=>:ios, :ENVIRONMENT=>nil, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios deploy"}
[13:36:43]: {"data"=>nil, "messages"=>{"warn"=>nil, "error"=>["Unauthorized access"], "info"=>nil}, "statusCode"=>"ERROR"}
+------+-------------------------------------+-------------+
| fastlane summary |
+------+-------------------------------------+-------------+
| Step | Action | Time (in s) |
+------+-------------------------------------+-------------+
| 1 | Verifying required fastlane version | 0 |
| 2 | default_platform | 0 |
| 3 | produce | 27 |
+------+-------------------------------------+-------------+
[13:36:43]: fastlane finished with errors
/Library/Ruby/Gems/2.0.0/gems/spaceship-0.5.0/lib/spaceship/client.rb:241:in `parse_response': {"data"=>nil, "messages"=>{"warn"=>nil, "error"=>["Unauthorized access"], "info"=>nil}, "statusCode"=>"ERROR"} (Spaceship::Client::UnexpectedResponse)
from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.5.0/lib/spaceship/tunes/tunes_client.rb:128:in `applications'
from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.5.0/lib/spaceship/tunes/application.rb:63:in `all'
from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.5.0/lib/spaceship/tunes/application.rb:69:in `find'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.6.0/lib/produce/itunes_connect.rb:43:in `fetch_application'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.6.0/lib/produce/itunes_connect.rb:16:in `create_new_app'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.6.0/lib/produce/itunes_connect.rb:12:in `run'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.6.0/lib/produce/manager.rb:6:in `start_producing'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.17.0/lib/fastlane/actions/produce.rb:20:in `block in run'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.17.0/lib/fastlane/actions/produce.rb:18:in `chdir'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.17.0/lib/fastlane/actions/produce.rb:18:in `run'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.17.0/lib/fastlane/runner.rb:142:in `block (2 levels) in execute_action'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.17.0/lib/fastlane/actions/actions_helper.rb:62:in `execute_action'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.17.0/lib/fastlane/runner.rb:128:in `block in execute_action'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.17.0/lib/fastlane/runner.rb:127:in `chdir'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.17.0/lib/fastlane/runner.rb:127:in `execute_action'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.17.0/lib/fastlane/fast_file.rb:120:in `method_missing'
from (eval):64:in `block (3 levels) in parse'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.17.0/lib/fastlane/lane.rb:36:in `call'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.17.0/lib/fastlane/lane.rb:36:in `call'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.17.0/lib/fastlane/runner.rb:50:in `block in execute'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.17.0/lib/fastlane/runner.rb:44:in `chdir'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.17.0/lib/fastlane/runner.rb:44:in `execute'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.17.0/lib/fastlane/lane_manager.rb:36:in `cruise_lane'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.17.0/lib/fastlane/command_line_handler.rb:31:in `handle'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.17.0/bin/fastlane:35:in `block (2 levels) in run'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:68:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.17.0/bin/fastlane:124:in `run'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.17.0/bin/fastlane:130:in `<top (required)>'
from /usr/bin/fastlane:23:in `load'
from /usr/bin/fastlane:23:in `<main>'
from produce.
same error too
from produce.
@KrauseFx same error here too
from produce.
�[37m[10:03:59]: �[0m�[32m---------------------�[0m
�[37m[10:03:59]: �[0m�[32m--- �[0m�[32mStep: produce�[0m�[32m ---�[0m
�[37m[10:03:59]: �[0m�[32m---------------------�[0m
�[37m[10:04:04]: �[0m�[32m[DevCenter] App 'Granville's Farm Shop' already exists, nothing to do on the Dev Center�[0m
�[37m[10:04:05]: �[0m�[33mVariable Dump:�[0m
�[37m[10:04:05]: �[0m{:ENVIRONMENT=>nil, :PLATFORM_NAME=>nil, :LANE_NAME=>"deploy", :BUILD_NUMBER=>0}
�[1m�[31m[10:04:05]: �[0m�[0m{"data"=>nil, "messages"=>{"warn"=>nil, "error"=>["Unauthorized access"], "info"=>nil}, "statusCode"=>"ERROR"}
+------+-------------------------------------+-------------+
| �[32mfastlane summary�[0m |
+------+-------------------------------------+-------------+
| Step | Action | Time (in s) |
+------+-------------------------------------+-------------+
| 1 | Verifying required fastlane version | 0 |
| 2 | increment_build_number | 0 |
| 3 | produce | 5 |
+------+-------------------------------------+-------------+
�[1m�[31m[10:04:05]: �[0m�[0m�[31mfastlane finished with errors�[0m
/Library/Ruby/Gems/2.0.0/gems/spaceship-0.4.0/lib/spaceship/client.rb:239:in `parse_response': {"data"=>nil, "messages"=>{"warn"=>nil, "error"=>["Unauthorized access"], "info"=>nil}, "statusCode"=>"ERROR"} (Spaceship::Client::UnexpectedResponse)
from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.4.0/lib/spaceship/tunes/tunes_client.rb:129:in `applications'
from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.4.0/lib/spaceship/tunes/application.rb:63:in `all'
from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.4.0/lib/spaceship/tunes/application.rb:69:in `find'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.6.0/lib/produce/itunes_connect.rb:43:in `fetch_application'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.6.0/lib/produce/itunes_connect.rb:16:in `create_new_app'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.6.0/lib/produce/itunes_connect.rb:12:in `run'
from /Library/Ruby/Gems/2.0.0/gems/produce-0.6.0/lib/produce/manager.rb:6:in `start_producing'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.16.0/lib/fastlane/actions/produce.rb:20:in `block in run'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.16.0/lib/fastlane/actions/produce.rb:18:in `chdir'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.16.0/lib/fastlane/actions/produce.rb:18:in `run'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.16.0/lib/fastlane/runner.rb:142:in `block (2 levels) in execute_action'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.16.0/lib/fastlane/actions/actions_helper.rb:62:in `execute_action'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.16.0/lib/fastlane/runner.rb:128:in `block in execute_action'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.16.0/lib/fastlane/runner.rb:127:in `chdir'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.16.0/lib/fastlane/runner.rb:127:in `execute_action'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.16.0/lib/fastlane/fast_file.rb:120:in `method_missing'
from (eval):36:in `block (2 levels) in parse'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.16.0/lib/fastlane/lane.rb:32:in `call'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.16.0/lib/fastlane/lane.rb:32:in `call'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.16.0/lib/fastlane/runner.rb:50:in `block in execute'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.16.0/lib/fastlane/runner.rb:44:in `chdir'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.16.0/lib/fastlane/runner.rb:44:in `execute'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.16.0/lib/fastlane/lane_manager.rb:36:in `cruise_lane'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.16.0/lib/fastlane/command_line_handler.rb:31:in `handle'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.16.0/bin/fastlane:35:in `block (2 levels) in run'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:68:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.16.0/bin/fastlane:124:in `run'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.16.0/bin/fastlane:130:in `<top (required)>'
from /usr/bin/fastlane:23:in `load'
from /usr/bin/fastlane:23:in `<main>'
�[32m#######################################################################�[0m
�[32m# fastlane 1.17.0 is available. You are on 1.16.0.�[0m
�[32m# It is recommended to use the latest version.�[0m
�[32m# Update using 'sudo gem update fastlane'.�[0m
�[32m# To see what's new, open https://github.com/KrauseFx/fastlane/releases.�[0m
�[32m#######################################################################�[0m
Build step 'Execute shell' marked build as failure
Build did not succeed and the project is configured to only push after a successful build, so no pushing will occur.
Finished: FAILURE
Currently pulling new version of fastlane
from produce.
Updated fastlane, still seeing bug
from produce.
Attempting to manually create app in itunes connect
from produce.
Working on it right now
from produce.
Awesome thanks Felix. Can confirm that it still fails if I manually create app in iTC.
from produce.
if it's any help...
# Logfile created on 2015-08-14 09:55:11 +0100 by logger.rb/41954
[09:55:11]: POST: https://itunesconnect.apple.com/WebObjects/iTunesConnect.woa/wo/0.0.1.15.3.13.3.2.1.1.3.1.1 {theAccountName: [email protected]}
[09:55:20]: POST: https://itunesconnect.apple.com/WebObjects/iTunesConnect.woa/wo/0.0.1.15.3.13.3.2.1.1.3.1.1:
[09:55:20]: GET: ra/apps/manageyourapps/summary
[09:55:20]: GET: ra/apps/manageyourapps/summary: {"data"=>nil, "messages"=>{"warn"=>nil, "info"=>nil, "error"=>["Unauthorized access"]}, "statusCode"=>"ERROR"}
from produce.
I can reproduce the error, thanks
from produce.
Should I update gem ?
from produce.
Found the issue, will push it in a few minutes
from produce.
No, it's not yet live
from produce.
Please update using sudo gem update spaceship
and let me know if that works for you.
from produce.
All hail @KrauseFx! Thanks Felix. We are past produce and on to the rest of the script.
from produce.
@robwithhair so it's working for you?
from produce.
Script still running but yes, so far
from produce.
Script succeeded. All good @KrauseFx.
from produce.
@KrauseFx however, just tested with an app which didn't already exist it iTC and it failed! Same place.
from produce.
@KrauseFx worked fine on third try? How odd.
from produce.
I am still receiving the same error on produce
after updating spaceship. Have you pushed a gem update for fastlane too?
from produce.
@Srthk yes I believe one of my servers wasn't up to date. Seems to be working now for me but had to update fastlane too.
from produce.
@Srthk are you using bundler
? If so, you'll have to run bundle update
from produce.
Error solved. produce
worked on updating sudo gem update fastlane
from produce.
Thank @KrauseFx . With my app, run OK. No problem after update spaceship.
from produce.
Thanks everybody
from produce.
@SPAHI4 Try updating spaceship as well using sudo gem update spaceship
from produce.
Now all ok, dont know whats happend
from produce.
@KrauseFx I just had a build fail with this same issue when the version number was too low. Don't know if it was related but seems to be failing like this every so often perhaps.
from produce.
@KrauseFx we rebuilt with exact same parameters and it succeeded this time. Must be an intermittent issue at iTC's end maybe.
from produce.
@KrauseFx we are seeing this bug again this morning. Builds failing with the same error message.
from produce.
me too
from produce.
@KrauseFx The build seemed to work on 3rd attempt. Possibly down to time required for bundle ID to propagate to iTC? Possibly an issue at apple's end? Seems really odd.
from produce.
@KrauseFx consistently failing again. Could you re-open this issue?
from produce.
Yes same issue is occurring again.
from produce.
@KrauseFx When will this be resolved?
from produce.
I have to say, the login is working perfectly fine for me. I assume you checked the user credentials are correct?
I'll work on a new version of spaceship
that shows more debug information if the login isn't working, like the used username, the exact response and more.
from produce.
We've had this issue sporadically while building. It seemed like manually creating the version on iTC made the build work again.
from produce.
Of course could be nothing to do with that and could be intermittent but I have found twice now manually creating the app on iTC made the build script run.
from produce.
@KrauseFx one's we built were re-builds through jenkins so same user/pass each time.
from produce.
At one point I thought it might be to do with the time it takes for the bundle ID to propagate from dev centre to iTC but other failures don't fit that.
from produce.
Just saying, I'm having this issue sporadically as well
from produce.
@KrauseFx The username and login credentials are absolutely correct because its working with the same details but producing the above mentioned error intermittently. How was this issue resolved earlier, please try to fix it in the same manner.
from produce.
I just pushed a new release https://github.com/fastlane/spaceship/releases/tag/0.5.2, please update using sudo gem update spaceship
, special thanks to @sunboshan for helping me resolve this issue via fastlane-old/spaceship#93
Please let me know if that works for you
from produce.
produce
is working fine for now. Hope this error doesn't crop up again
from produce.
@ungun this is a different error that doesn't have anything to do with the login issue. Could you submit a separate issue?
from produce.
@Srthk Great to hear
from produce.
This issue was migrated to fastlane/fastlane#1793. Please post all further comments there.
fastlane
is now a mono repo, you can read more about the change in our blog post. All tools are now available in the fastlane main repo
from produce.
Related Issues (20)
- Runtime ERROR: undefined method `select_team' for #<Spaceship::TunesClient:....> HOT 3
- What itc_team_id and itc_team_name are ? HOT 3
- can't create app with "App Manager" credentials HOT 10
- Can't create any apps HOT 3
- iTunes Connect app produce crash HOT 3
- Getting the created app id HOT 4
- Not a git repository (or any of the parent directories): HOT 2
- Create new version HOT 2
- Invalid request body HOT 6
- Unexpected Error HOT 3
- Primary language HOT 6
- Upcase values not working for PRODUCE_SKIP_DEVCENTER HOT 4
- Asking for Team name again even if I specify in Fastlane HOT 3
- Get apple id of just created app HOT 3
- Any way to specify prefix? HOT 3
- How to handle apostrophes in SKU HOT 3
- doesn't support 2 step enabled accounts yet HOT 2
- Is there a way to upload the app icon when uploading with produce? HOT 1
- tvOS Support HOT 2
- Produce In-App Purchase HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from produce.