Importing a repository from an external source fails due to

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform Notice: Server and Data Center Only - This article only applies to Atlassian products on the server and data center platforms.


When importing a repository into Bitbucket Server from existing Git projects hosted with Bitbucket Cloud, GitHub, GitHub Enterprise, or a standalone Git repository using the web interface, the import does not start and the following is displayed in the Bitbucket Server user interface:

Unable to reach server.

The following appears in the atlassian-bitbucket.log:

[httpclient-callbacks:thread-1] <username> XYS1Q7x561x9182x0 <id> <ip address> "POST /rest/importer/latest/external-source/missing-oauth-scopes HTTP/1.1" c.a.b.i.i.DefaultExternalRequestExecutor External request failed
	at ~[guava-18.0.jar:na]
... null
	at org.apache.http.nio.pool.RouteSpecificPool.timeout( ~[na:na]


An outbound proxy is configured for connecting to the externally hosted repository web site.


Follow the steps on the configure an outbound HTTP and HTTPS proxy for Bitbucket Server page and restart Bitbucket Server.


Last modified on Nov 2, 2018

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.