[JIRA] (JENKINS-61200) Missing authentication when downloading Avatar

3 views
Skip to first unread message

bochenski.kuba+jenkins@gmail.com (JIRA)

unread,
Feb 24, 2020, 9:31:04 AM2/24/20
to jenkinsc...@googlegroups.com
Jakub Bochenski created an issue
 
Jenkins / Bug JENKINS-61200
Missing authentication when downloading Avatar
Issue Type: Bug Bug
Assignee: Unassigned
Components: bitbucket-branch-source-plugin
Created: 2020-02-24 14:30
Priority: Major Major
Reporter: Jakub Bochenski

I'm seeing those errors in the log, I expect the credentials are valid since other functions of the plugin work

Feb 24, 2020 2:27:18 PM INFO com.cloudbees.jenkins.plugins.bitbucket.BitbucketTeamMetadataAction$BitbucketAvatarCacheSource fetch

IOException: I/O error when accessing URL: /rest/api/1.0/projects/J4A/avatar.png
com.cloudbees.jenkins.plugins.bitbucket.api.BitbucketRequestException: HTTP request error. Status: 401: .
HttpResponseProxy{HTTP/1.1 401  [Server: nginx/1.6.2, Date: Mon, 24 Feb 2020 14:27:18 GMT, Content-Type: application/json;charset=UTF-8, Transfer-Encoding: chunked, Connection: keep-alive, X-AREQUESTID: @16SCIDTx987x473696093x3, X-ASEN: SEN-9755481, WWW-Authenticate: Basic realm="Atlassian Bitbucket", Vary: Accept-Encoding] org.apache.http.client.entity.DecompressingEntity@7fe95b62}
	at com.cloudbees.jenkins.plugins.bitbucket.server.client.BitbucketServerAPIClient.getImageRequest(BitbucketServerAPIClient.java:877)
	at com.cloudbees.jenkins.plugins.bitbucket.server.client.BitbucketServerAPIClient.getTeamAvatar(BitbucketServerAPIClient.java:728)
Caused: java.io.IOException: I/O error when accessing URL: /rest/api/1.0/projects/J4A/avatar.png
	at com.cloudbees.jenkins.plugins.bitbucket.server.client.BitbucketServerAPIClient.getTeamAvatar(BitbucketServerAPIClient.java:733)
	at com.cloudbees.jenkins.plugins.bitbucket.BitbucketTeamMetadataAction$BitbucketAvatarCacheSource.fetch(BitbucketTeamMetadataAction.java:80)
	at com.cloudbees.jenkins.plugins.bitbucket.avatars.AvatarCache$FetchImage.call(AvatarCache.java:624)
	at com.cloudbees.jenkins.plugins.bitbucket.avatars.AvatarCache$FetchImage.call(AvatarCache.java:612)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages