List remote refs failed - invalid advertisement

I can't create a project hosted on company bitbucket repo, i can clone project with my credentials via command line or in intellij idea but with upsource

VCS connection test fails with error of:

List remote refs failed: org.eclipse.jgit.errors.PackProtocolException: invalid advertisement of <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title> Log in - Bitbucket </title> <script>

I assume somehow bitbucket redirects upsource to a login page as a response and cant pass that point via authentication, tried bot "Bitbucket Server" and "Generic" as Git hosting provider options but no luck.


1 comment
Comment actions Permalink

figured out it has to have username in the connection url.


Please sign in to leave a comment.