Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Connection issue from Bitbucket server --> Bitbucket cloud

Jagadeeswar Reddy May 10, 2022

Hello Team,

We are using "Bitbucket Cloud Migration Assistant" plugin for the migration of Bitbucket server to cloud. But when it is trying to connect to cloud Bitbucket it is not able to reach and we get below error logs are server level.

 ===

2022-05-10 11:22:36,602 DEBUG [http-nio-8991-exec-5] xxxxx @KWOZFWx682x18466x0 1qkobh5  "POST /rest/migration/latest/mas/event/screen HTTP/1.0" c.a.b.p.bcma.version.VersionService Found version 1.3.11 for plugin with key com.atlassian.bitbucket.migration.bitbucket-migration-plugin.
2022-05-10 11:22:38,697 DEBUG [http-nio-8991-exec-1] xxxxxx@KWOZFWx682x18470x0 1qkobh5  "POST /rest/migration/latest/mas/event/screen HTTP/1.0" c.a.b.p.bcma.version.VersionService Found version 1.3.11 for plugin with key com.atlassian.bitbucket.migration.bitbucket-migration-plugin.
2022-05-10 11:22:42,890 ERROR [http-nio-8991-exec-6] xxx @KWOZFWx682x18472x0 1qkobh5  "POST /rest/migration/latest/cloud/generate-setup-url HTTP/1.0" c.a.p.r.c.e.j.ThrowableExceptionMapper Uncaught exception thrown by REST service: service matching filter=[(objectClass=com.atlassian.analytics.api.services.AnalyticsConfigService)] unavailable

===

Using browser "Development tool" we could see below error message.

===

Request URL: https://xxxxx/bitbucket/rest/migration/latest/cloud/generate-setup-url
Request Method: POST
Status Code: 500 Internal Server Error
Remote Address: xxxxxx:8080
Referrer Policy: no-referrer

 

Note: Bitbucket server hosted behind nginx reverse proxy and below is the configuration we are using.

===

}
location /bitbucket {
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://xxxxx:xxx/bitbucket;
proxy_redirect off;
client_max_body_size 20M;

1 answer

0 votes
DH January 26, 2024

Ever find what was causing this?  Just ran into the same issue trying to use the migration assistant, and this server has successfully run the migration previously during testing.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events