fastlane-plugin-firebase_app_distribution: SendTimeoutError when upgrading to 0.7.0
Issue Description
The newest 0.7.0 is using deprecated google-api-client and makes the firebase_app_distribution plugin not working
Configuration
app: "appId",
firebase_cli_token: ENV['FIREBASE_TOKEN'],
android_artifact_type: "APK",
android_artifact_path: "app/build/outputs/apk/production/debug/app-production-debug.apk",
release_notes_file: options[:releaseNotesFile],
testers: "testers",
debug: true
Complete verbose output
[07:26:13]: Installing Ruby gem 'fastlane-plugin-firebase_app_distribution'...
*******************************************************************************
The google-api-client gem is deprecated and will likely not be updated further.
Instead, please install the gem corresponding to the specific service to use.
For example, to use the Google Drive V3 client, install google-apis-drive_v3.
For more information, see the FAQ in the OVERVIEW.md file or the YARD docs.
*******************************************************************************
[07:26:32]: Successfully installed 'fastlane-plugin-firebase_app_distribution'
...
[07:26:32]: Warning: Debug logging enabled. Output may include sensitive information.
[07:26:32]: π Authenticating with --firebase_cli_token parameter
[07:26:32]: β Uploading the APK.
D, [2023-08-02T07:26:32.661476 #14] DEBUG -- : Sending HTTP post https://firebaseappdistribution.googleapis.com/upload/v1/projects/XXXX/apps/XXXXX/releases:upload?
D, [2023-08-02T07:42:16.520[91](https://gitlab.com/XXXXX/XXXX/mobile/android/XXXX/-/jobs/XXXX#XXX)3 #14] DEBUG -- : Caught error execution expired
D, [2023-08-02T07:42:16.521087 #14] DEBUG -- : Error - #<HTTPClient::SendTimeoutError: execution expired>
+------------------+----------------------------------------------+
| Lane Context |
+------------------+----------------------------------------------+
| DEFAULT_PLATFORM | android |
| PLATFORM_NAME | android |
| LANE_NAME | android deploy_development_debug_to_firebase |
+------------------+----------------------------------------------+
[07:42:16]: execution expired
+------+---------------------------+-------------+
| fastlane summary |
+------+---------------------------+-------------+
| Step | Action | Time (in s) |
+------+---------------------------+-------------+
| 1 | default_platform | 0 |
| π₯ | firebase_app_distribution | [94](https://gitlab.com/XXXX/XXXX/mobile/android/XXXXXX/-/jobs/XXXX#XXXXX)4 |
+------+---------------------------+-------------+
[07:42:16]: fastlane finished with errors
For the error stacktrace:
/usr/lib/ruby/2.7.0/openssl/buffering.rb:326:in `[]=': \e[31m[!] execution expired\e[0m (Google::Apis::TransmissionError)
from /usr/lib/ruby/2.7.0/openssl/buffering.rb:326:in `do_write'
from /usr/lib/ruby/2.7.0/openssl/buffering.rb:339:in `block in write'
from /usr/lib/ruby/2.7.0/openssl/buffering.rb:338:in `each'
from /usr/lib/ruby/2.7.0/openssl/buffering.rb:338:in `inject'
from /usr/lib/ruby/2.7.0/openssl/buffering.rb:338:in `write'
from /var/lib/gems/2.7.0/gems/httpclient-2.8.3/lib/httpclient/ssl_socket.rb:80:in `<<'
from /var/lib/gems/2.7.0/gems/httpclient-2.8.3/lib/httpclient/http.rb:510:in `dump'
from /var/lib/gems/2.7.0/gems/httpclient-2.8.3/lib/httpclient/http.rb:962:in `dump'
from /var/lib/gems/2.7.0/gems/httpclient-2.8.3/lib/httpclient/session.rb:517:in `block in query'
from /usr/lib/ruby/2.7.0/timeout.rb:105:in `timeout'
from /var/lib/gems/2.7.0/gems/httpclient-2.8.3/lib/httpclient/session.rb:515:in `query'
from /var/lib/gems/2.7.0/gems/httpclient-2.8.3/lib/httpclient/session.rb:177:in `query'
from /var/lib/gems/2.7.0/gems/httpclient-2.8.3/lib/httpclient.rb:1242:in `do_get_block'
from /var/lib/gems/2.7.0/gems/httpclient-2.8.3/lib/httpclient.rb:1019:in `block in do_request'
from /var/lib/gems/2.7.0/gems/httpclient-2.8.3/lib/httpclient.rb:1133:in `protect_keep_alive_disconnected'
from /var/lib/gems/2.7.0/gems/httpclient-2.8.3/lib/httpclient.rb:1014:in `do_request'
from /var/lib/gems/2.7.0/gems/httpclient-2.8.3/lib/httpclient.rb:1104:in `follow_redirect'
from /var/lib/gems/2.7.0/gems/httpclient-2.8.3/lib/httpclient.rb:854:in `request'
from /var/lib/gems/2.7.0/gems/google-apis-core-0.11.0/lib/google/apis/core/http_command.rb:313:in `execute_once'
from /var/lib/gems/2.7.0/gems/google-apis-core-0.11.0/lib/google/apis/core/http_command.rb:126:in `block (2 levels) in do_retry'
from /var/lib/gems/2.7.0/gems/retriable-3.1.2/lib/retriable.rb:61:in `block in retriable'
from /var/lib/gems/2.7.0/gems/retriable-3.1.2/lib/retriable.rb:56:in `times'
from /var/lib/gems/2.7.0/gems/retriable-3.1.2/lib/retriable.rb:56:in `retriable'
from /var/lib/gems/2.7.0/gems/google-apis-core-0.11.0/lib/google/apis/core/http_command.rb:123:in `block in do_retry'
from /var/lib/gems/2.7.0/gems/retriable-3.1.2/lib/retriable.rb:61:in `block in retriable'
from /var/lib/gems/2.7.0/gems/retriable-3.1.2/lib/retriable.rb:56:in `times'
from /var/lib/gems/2.7.0/gems/retriable-3.1.2/lib/retriable.rb:56:in `retriable'
from /var/lib/gems/2.7.0/gems/google-apis-core-0.11.0/lib/google/apis/core/http_command.rb:113:in `do_retry'
from /var/lib/gems/2.7.0/gems/google-apis-core-0.11.0/lib/google/apis/core/http_command.rb:104:in `execute'
from /var/lib/gems/2.7.0/gems/google-apis-core-0.11.0/lib/google/apis/core/base_service.rb:418:in `execute_or_queue_command'
from /var/lib/gems/2.7.0/gems/google-apis-core-0.11.0/lib/google/apis/core/base_service.rb:265:in `http'
from /var/lib/gems/2.7.0/gems/fastlane-plugin-firebase_app_distribution-0.7.0/lib/fastlane/plugin/firebase_app_distribution/actions/firebase_app_distribution_action.rb:256:in `upload_binary'
from /var/lib/gems/2.7.0/gems/fastlane-plugin-firebase_app_distribution-0.7.0/lib/fastlane/plugin/firebase_app_distribution/actions/firebase_app_distribution_action.rb:49:in `run'
from /var/lib/gems/2.7.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/runner.rb:263:in `block (2 levels) in execute_action'
from /var/lib/gems/2.7.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/actions/actions_helper.rb:69:in `execute_action'
from /var/lib/gems/2.7.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/runner.rb:255:in `block in execute_action'
from /var/lib/gems/2.7.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/runner.rb:229:in `chdir'
from /var/lib/gems/2.7.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/runner.rb:229:in `execute_action'
from /var/lib/gems/2.7.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/runner.rb:157:in `trigger_action_by_name'
from /var/lib/gems/2.7.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/fast_file.rb:159:in `method_missing'
from Fastfile:130:in `block (2 levels) in parsing_binding'
from /var/lib/gems/2.7.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/lane.rb:33:in `call'
from /var/lib/gems/2.7.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
from /var/lib/gems/2.7.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/runner.rb:45:in `chdir'
from /var/lib/gems/2.7.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/runner.rb:45:in `execute'
from /var/lib/gems/2.7.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/lane_manager.rb:47:in `cruise_lane'
from /var/lib/gems/2.7.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/command_line_handler.rb:36:in `handle'
from /var/lib/gems/2.7.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/commands_generator.rb:110:in `block (2 levels) in run'
from /var/lib/gems/2.7.0/gems/commander-4.6.0/lib/commander/command.rb:187:in `call'
from /var/lib/gems/2.7.0/gems/commander-4.6.0/lib/commander/command.rb:157:in `run'
from /var/lib/gems/2.7.0/gems/commander-4.6.0/lib/commander/runner.rb:444:in `run_active_command'
from /var/lib/gems/2.7.0/gems/fastlane-2.212.2/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:124:in `run!'
from /var/lib/gems/2.7.0/gems/commander-4.6.0/lib/commander/delegates.rb:18:in `run!'
from /var/lib/gems/2.7.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/commands_generator.rb:[354](https://gitlab.com/XXXXX/XXXXXX/mobile/android/XXXXX/-/jobs/XXXXXX#XXXXX):in `run'
from /var/lib/gems/2.7.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/commands_generator.rb:43:in `start'
from /var/lib/gems/2.7.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/cli_tools_distributor.rb:123:in `take_off'
from /var/lib/gems/2.7.0/gems/fastlane-2.212.2/bin/fastlane:23:in `<top (required)>'
from /usr/local/bin/fastlane:23:in `load'
from /usr/local/bin/fastlane:23:in `<main>'
/usr/lib/ruby/2.7.0/openssl/buffering.rb:326:in `[]=': execution expired (HTTPClient::SendTimeoutError)
from /usr/lib/ruby/2.7.0/openssl/buffering.rb:326:in `do_write'
from /usr/lib/ruby/2.7.0/openssl/buffering.rb:339:in `block in write'
from /usr/lib/ruby/2.7.0/openssl/buffering.rb:338:in `each'
from /usr/lib/ruby/2.7.0/openssl/buffering.rb:338:in `inject'
from /usr/lib/ruby/2.7.0/openssl/buffering.rb:338:in `write'
from /var/lib/gems/2.7.0/gems/httpclient-2.8.3/lib/httpclient/ssl_socket.rb:80:in `<<'
from /var/lib/gems/2.7.0/gems/httpclient-2.8.3/lib/httpclient/http.rb:510:in `dump'
from /var/lib/gems/2.7.0/gems/httpclient-2.8.3/lib/httpclient/http.rb:962:in `dump'
from /var/lib/gems/2.7.0/gems/httpclient-2.8.3/lib/httpclient/session.rb:517:in `block in query'
from /usr/lib/ruby/2.7.0/timeout.rb:105:in `timeout'
from /var/lib/gems/2.7.0/gems/httpclient-2.8.3/lib/httpclient/session.rb:515:in `query'
from /var/lib/gems/2.7.0/gems/httpclient-2.8.3/lib/httpclient/session.rb:177:in `query'
from /var/lib/gems/2.7.0/gems/httpclient-2.8.3/lib/httpclient.rb:1242:in `do_get_block'
from /var/lib/gems/2.7.0/gems/httpclient-2.8.3/lib/httpclient.rb:1019:in `block in do_request'
from /var/lib/gems/2.7.0/gems/httpclient-2.8.3/lib/httpclient.rb:1133:in `protect_keep_alive_disconnected'
from /var/lib/gems/2.7.0/gems/httpclient-2.8.3/lib/httpclient.rb:1014:in `do_request'
from /var/lib/gems/2.7.0/gems/httpclient-2.8.3/lib/httpclient.rb:1104:in `follow_redirect'
from /var/lib/gems/2.7.0/gems/httpclient-2.8.3/lib/httpclient.rb:854:in `request'
from /var/lib/gems/2.7.0/gems/google-apis-core-0.11.0/lib/google/apis/core/http_command.rb:313:in `execute_once'
from /var/lib/gems/2.7.0/gems/google-apis-core-0.11.0/lib/google/apis/core/http_command.rb:126:in `block (2 levels) in do_retry'
from /var/lib/gems/2.7.0/gems/retriable-3.1.2/lib/retriable.rb:61:in `block in retriable'
from /var/lib/gems/2.7.0/gems/retriable-3.1.2/lib/retriable.rb:56:in `times'
from /var/lib/gems/2.7.0/gems/retriable-3.1.2/lib/retriable.rb:56:in `retriable'
from /var/lib/gems/2.7.0/gems/google-apis-core-0.11.0/lib/google/apis/core/http_command.rb:123:in `block in do_retry'
from /var/lib/gems/2.7.0/gems/retriable-3.1.2/lib/retriable.rb:61:in `block in retriable'
from /var/lib/gems/2.7.0/gems/retriable-3.1.2/lib/retriable.rb:56:in `times'
from /var/lib/gems/2.7.0/gems/retriable-3.1.2/lib/retriable.rb:56:in `retriable'
from /var/lib/gems/2.7.0/gems/google-apis-core-0.11.0/lib/google/apis/core/http_command.rb:113:in `do_retry'
from /var/lib/gems/2.7.0/gems/google-apis-core-0.11.0/lib/google/apis/core/http_command.rb:104:in `execute'
from /var/lib/gems/2.7.0/gems/google-apis-core-0.11.0/lib/google/apis/core/base_service.rb:418:in `execute_or_queue_command'
from /var/lib/gems/2.7.0/gems/google-apis-core-0.11.0/lib/google/apis/core/base_service.rb:265:in `http'
from /var/lib/gems/2.7.0/gems/fastlane-plugin-firebase_app_distribution-0.7.0/lib/fastlane/plugin/firebase_app_distribution/actions/firebase_app_distribution_action.rb:256:in `upload_binary'
from /var/lib/gems/2.7.0/gems/fastlane-plugin-firebase_app_distribution-0.7.0/lib/fastlane/plugin/firebase_app_distribution/actions/firebase_app_distribution_action.rb:49:in `run'
from /var/lib/gems/2.7.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/runner.rb:263:in `block (2 levels) in execute_action'
from /var/lib/gems/2.7.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/actions/actions_helper.rb:69:in `execute_action'
from /var/lib/gems/2.7.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/runner.rb:255:in `block in execute_action'
from /var/lib/gems/2.7.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/runner.rb:229:in `chdir'
from /var/lib/gems/2.7.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/runner.rb:229:in `execute_action'
from /var/lib/gems/2.7.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/runner.rb:157:in `trigger_action_by_name'
from /var/lib/gems/2.7.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/fast_file.rb:159:in `method_missing'
from Fastfile:130:in `block (2 levels) in parsing_binding'
from /var/lib/gems/2.7.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/lane.rb:33:in `call'
from /var/lib/gems/2.7.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
from /var/lib/gems/2.7.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/runner.rb:45:in `chdir'
from /var/lib/gems/2.7.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/runner.rb:45:in `execute'
from /var/lib/gems/2.7.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/lane_manager.rb:47:in `cruise_lane'
from /var/lib/gems/2.7.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/command_line_handler.rb:36:in `handle'
from /var/lib/gems/2.7.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/commands_generator.rb:110:in `block (2 levels) in run'
from /var/lib/gems/2.7.0/gems/commander-4.6.0/lib/commander/command.rb:187:in `call'
from /var/lib/gems/2.7.0/gems/commander-4.6.0/lib/commander/command.rb:157:in `run'
from /var/lib/gems/2.7.0/gems/commander-4.6.0/lib/commander/runner.rb:444:in `run_active_command'
from /var/lib/gems/2.7.0/gems/fastlane-2.212.2/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:124:in `run!'
from /var/lib/gems/2.7.0/gems/commander-4.6.0/lib/commander/delegates.rb:18:in `run!'
from /var/lib/gems/2.7.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/commands_generator.rb:354:in `run'
from /var/lib/gems/2.7.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/commands_generator.rb:43:in `start'
from /var/lib/gems/2.7.0/gems/fastlane-2.212.2/fastlane/lib/fastlane/cli_tools_distributor.rb:123:in `take_off'
from /var/lib/gems/2.7.0/gems/fastlane-2.212.2/bin/fastlane:23:in `<top (required)>'
from /usr/local/bin/fastlane:23:in `load'
from /usr/local/bin/fastlane:23:in `<main>'
Environment
0.7.0
| Library | Version |
|---|---|
| fastlane | [2.212.2] |
| fastlane-plugin-firebase_app_distribution | [0.7.0] |
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 7
- Comments: 20
This is now fixed in release v0.7.2.
@lfkellogg
Above is the upload speed of the existing 0.6.1.
15:26:38~15:26:46
=====================================================
Above is the upload speed of the existing. 0.7.2.pre.1
15:29:18 ~ 15:29:26
=====================================================
We now see that the upload speed of the previous 0.6.1 version is the same in the new. 0.7.2.pre.1 version! π
@fcsjesus Can you please create a new issue for this?
@lfkellogg, yeah after adding
upload_timeout: 1200, the upload is successful but with a ridiculous amount of time to upload. For now, Iβll stick to0.6.1Hereβs my comparison between
0.6.1vs0.7.1.pre.20.6.1
0.7.1.pre.2
@lfkellogg I created https://github.com/firebase/fastlane-plugin-firebase_app_distribution/issues/335 to track the issue and the testing I am doing with pre.2.
@lfkellogg my issue seems to be fixed in pre.2
Hi @lfkellogg, still got the same issue with
0.7.1.pre.2Hereβs the log, seems like it reports the correct time value on the
fastlane summarysectionsFull stacktrace:
@lfkellogg I am facing the same issue with my pipeline as well, just updated to
0.7.1.pre.2. Will keep you posted in a while.This, happened to our team as well.
Currently, forcing to go back to previous version 0.6.1 is our workaround.