-
Notifications
You must be signed in to change notification settings - Fork 883
Closed
Description
Noticed the issue June 13th, June 12th was the last day this was working correctly.
I have a feeling this has to do with the June 17th icon changes bring brought in. I'm guessing there was a possible regression that was missed on the Google API
This issue was also mirrored in the widely used open source library fastlane (which I'm not using for my use of the publisher api)
fastlane/fastlane#14914
I also upgraded from publisher_v2 to publisher_v3 to see if this fixed the issue, but it appears the issue affects publisher_v3 as well.
Environment details
- OS: MacOS Mojave (latest)
- Ruby version: 2.5.3
- Gem name and version:
google-api-client (0.23.9)
addressable (~> 2.5, >= 2.5.1)
googleauth (>= 0.5, < 0.7.0)
httpclient (>= 2.8.1, < 3.0)
mime-types (~> 3.0)
representable (~> 3.0)
retriable (>= 2.0, < 4.0)
signet (~> 0.9)
google-cloud-core (1.3.0)
google-cloud-env (~> 1.0)
google-cloud-env (1.1.0)
faraday (~> 0.11)
google-cloud-storage (1.16.0)
digest-crc (~> 0.4)
google-api-client (~> 0.23)
google-cloud-core (~> 1.2)
googleauth (>= 0.6.2, < 0.10.0)
googleauth (0.6.7)
faraday (~> 0.12)
jwt (>= 1.4, < 3.0)
memoist (~> 0.16)
multi_json (~> 1.11)
os (>= 0.9, < 2.0)
signet (~> 0.7)
Steps to reproduce
Used a 512 x 512 32bit PNG
# used imagemagick to identify
identify -verbose groot-32.png | grep bit
Depth: 8-bit
Red: 8-bit
Green: 8-bit
Blue: 8-bit
Alpha: 1-bit
png:IHDR.bit-depth-orig: 8
png:IHDR.bit_depth: 8
uploaded using the standard publisher.upload_edit_image but receiving a Server Error without any detailed information.
Code example
# had these flags on
Google::Apis::RequestOptions.default.retries = 5
Google::Apis.logger.level = Logger::DEBUG
# - created with @publisher = Google::Apis::AndroidpublisherV3::AndroidPublisherService.new
# - updated edit_id with self.publisher.insert_edit(@package)
self.publisher.upload_edit_image(
package_name,
self.edit_id,
locale,
"icon",
upload_source: path
)
# Response
Uploading icon: icon.png
D, [2019-06-17T20:23:09.122225 #48466] DEBUG -- : Sending upload start command to https://www.googleapis.com/upload/androidpublisher/v3/applications/com.***.name/edits/00****46/listings/en-US/icon?
D, [2019-06-17T20:23:09.224366 #48466] DEBUG -- : Upload status active
D, [2019-06-17T20:23:09.224496 #48466] DEBUG -- : Sending upload command to https://www.googleapis.com/upload/androidpublisher/v3/applications/com.groot.recollect.waste/edits/00****46/listings/en-US/icon?upload_id=AE****RA&upload_protocol=resumable
D, [2019-06-17T20:23:10.420321 #48466] DEBUG -- : Upload status final
D, [2019-06-17T20:23:10.420628 #48466] DEBUG -- : Error - #<Google::Apis::ServerError: Server error>
D, [2019-06-17T20:23:11.286753 #48466] DEBUG -- : Error - #<Google::Apis::ServerError: Server error>
D, [2019-06-17T20:23:11.286935 #48466] DEBUG -- : Error - #<Google::Apis::ServerError: Server error>
D, [2019-06-17T20:23:12.794153 #48466] DEBUG -- : Error - #<Google::Apis::ServerError: Server error>
D, [2019-06-17T20:23:12.794381 #48466] DEBUG -- : Error - #<Google::Apis::ServerError: Server error>
D, [2019-06-17T20:23:17.105889 #48466] DEBUG -- : Error - #<Google::Apis::ServerError: Server error>
D, [2019-06-17T20:23:17.106188 #48466] DEBUG -- : Error - #<Google::Apis::ServerError: Server error>
D, [2019-06-17T20:23:21.398681 #48466] DEBUG -- : Error - #<Google::Apis::ServerError: Server error>
D, [2019-06-17T20:23:21.398888 #48466] DEBUG -- : Error - #<Google::Apis::ServerError: Server error>
D, [2019-06-17T20:23:45.468666 #48466] DEBUG -- : Error - #<Google::Apis::ServerError: Server error>
D, [2019-06-17T20:23:45.468814 #48466] DEBUG -- : Error - #<Google::Apis::ServerError: Server error>
Server errorReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels