Cannot publish artifacts to AWS S3 storage, TC failed to parse aws storage region.

Completed

After upgrading TC to the latest version:  TeamCity Professional 2019.2.3 (build 72031)

publishing to S3 fails with the following error:

failed to publish artifacts: AWS error: The authorization header is malformed; the region 'US' is wrong; expecting 'us-east-1'

 

And If I try to manually edit S3 configuration via TC UI and set 'us-east-1' instead of 'US" the system is overriding the region after save button pressed back to 'US'

The workaround for this issue is to manually modify S3 artifacts configuration section in project-config.xml and never try to edit s3 artifacts configuration via UI to avoid overriding of the region...... Which is less than ideal.......

 

0
2 comments
Avatar
Fedor Rumyantsev

Hello Ekaterina,

Yes, this issue has been confirmed as a bug: https://youtrack.jetbrains.com/issue/TW-64670. It has been already fixed - please see the updated plugin attached on the link in question. This version is also going to be included into the next release. The details on manual plugin installation could be found here: https://www.jetbrains.com/help/teamcity/installing-additional-plugins.html#InstallingAdditionalPlugins-Installingapluginmanually
Alternative workaround which has been suggested (if you do not want or can not upgrade the plugin) is to use any region other than us-east-1.

My apologies for any inconvenience this issue may have caused.

0
Avatar
Permanently deleted user

Ok thanks for the quick fix.

0

Please sign in to leave a comment.