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;
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.