Git Product home page Git Product logo

Comments (48)

Srthk avatar Srthk commented on August 22, 2024

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.

SPAHI4 avatar SPAHI4 commented on August 22, 2024

same error too

from produce.

robwithhair avatar robwithhair commented on August 22, 2024

@KrauseFx same error here too

from produce.

robwithhair avatar robwithhair commented on August 22, 2024
�[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.

robwithhair avatar robwithhair commented on August 22, 2024

Updated fastlane, still seeing bug

from produce.

robwithhair avatar robwithhair commented on August 22, 2024

Attempting to manually create app in itunes connect

from produce.

KrauseFx avatar KrauseFx commented on August 22, 2024

Working on it right now 👍

from produce.

robwithhair avatar robwithhair commented on August 22, 2024

Awesome thanks Felix. Can confirm that it still fails if I manually create app in iTC.

from produce.

robwithhair avatar robwithhair commented on August 22, 2024

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.

KrauseFx avatar KrauseFx commented on August 22, 2024

I can reproduce the error, thanks

from produce.

gianghd avatar gianghd commented on August 22, 2024

Should I update gem ?

from produce.

KrauseFx avatar KrauseFx commented on August 22, 2024

Found the issue, will push it in a few minutes

from produce.

KrauseFx avatar KrauseFx commented on August 22, 2024

No, it's not yet live

from produce.

KrauseFx avatar KrauseFx commented on August 22, 2024

Please update using sudo gem update spaceship and let me know if that works for you.

from produce.

robwithhair avatar robwithhair commented on August 22, 2024

All hail @KrauseFx! Thanks Felix. We are past produce and on to the rest of the script.

from produce.

KrauseFx avatar KrauseFx commented on August 22, 2024

@robwithhair so it's working for you?

from produce.

robwithhair avatar robwithhair commented on August 22, 2024

Script still running but yes, so far

from produce.

robwithhair avatar robwithhair commented on August 22, 2024

Script succeeded. All good @KrauseFx.

from produce.

robwithhair avatar robwithhair commented on August 22, 2024

@KrauseFx however, just tested with an app which didn't already exist it iTC and it failed! Same place.

from produce.

robwithhair avatar robwithhair commented on August 22, 2024

@KrauseFx worked fine on third try? How odd.

from produce.

Srthk avatar Srthk commented on August 22, 2024

I am still receiving the same error on produce after updating spaceship. Have you pushed a gem update for fastlane too?

from produce.

robwithhair avatar robwithhair commented on August 22, 2024

@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.

KrauseFx avatar KrauseFx commented on August 22, 2024

@Srthk are you using bundler? If so, you'll have to run bundle update

from produce.

Srthk avatar Srthk commented on August 22, 2024

Error solved. produce worked on updating sudo gem update fastlane

from produce.

gianghd avatar gianghd commented on August 22, 2024

Thank @KrauseFx . With my app, run OK. No problem after update spaceship.

from produce.

KrauseFx avatar KrauseFx commented on August 22, 2024

Thanks everybody 👍

from produce.

Srthk avatar Srthk commented on August 22, 2024

@SPAHI4 Try updating spaceship as well using sudo gem update spaceship

from produce.

SPAHI4 avatar SPAHI4 commented on August 22, 2024

Now all ok, dont know whats happend

from produce.

robwithhair avatar robwithhair commented on August 22, 2024

@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.

robwithhair avatar robwithhair commented on August 22, 2024

@KrauseFx we rebuilt with exact same parameters and it succeeded this time. Must be an intermittent issue at iTC's end maybe.

from produce.

robwithhair avatar robwithhair commented on August 22, 2024

@KrauseFx we are seeing this bug again this morning. Builds failing with the same error message.

from produce.

shoshRose avatar shoshRose commented on August 22, 2024

me too

from produce.

robwithhair avatar robwithhair commented on August 22, 2024

@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.

robwithhair avatar robwithhair commented on August 22, 2024

@KrauseFx consistently failing again. Could you re-open this issue?

from produce.

Srthk avatar Srthk commented on August 22, 2024

Yes same issue is occurring again.

from produce.

Srthk avatar Srthk commented on August 22, 2024

@KrauseFx When will this be resolved?

from produce.

KrauseFx avatar KrauseFx commented on August 22, 2024

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.

robwithhair avatar robwithhair commented on August 22, 2024

We've had this issue sporadically while building. It seemed like manually creating the version on iTC made the build work again.

from produce.

robwithhair avatar robwithhair commented on August 22, 2024

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.

robwithhair avatar robwithhair commented on August 22, 2024

@KrauseFx one's we built were re-builds through jenkins so same user/pass each time.

from produce.

robwithhair avatar robwithhair commented on August 22, 2024

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.

gfpacheco avatar gfpacheco commented on August 22, 2024

Just saying, I'm having this issue sporadically as well

from produce.

Srthk avatar Srthk commented on August 22, 2024

@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.

KrauseFx avatar KrauseFx commented on August 22, 2024

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.

Srthk avatar Srthk commented on August 22, 2024

produce is working fine for now. Hope this error doesn't crop up again 😄

from produce.

KrauseFx avatar KrauseFx commented on August 22, 2024

@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.

KrauseFx avatar KrauseFx commented on August 22, 2024

@Srthk Great to hear 🚀

from produce.

fastlane-bot avatar fastlane-bot commented on August 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.