Error when attempting to do gvfs clone with BitBucket Server and GVFS plugin

I've installed BitBucket server trial on an AWS vm. The vm is inside our network and has full access to all resources required. I have followed all of the setup instructions for GVFS available on that GitHub (https://github.com/Microsoft/GVFS). I can do a normal git clone of this repo, so I'm fairly certain there is no issue with the actual repo, but I keep getting the same error when trying to do a gvfs clone command: 

 

C:\Repos\Test2>gvfs clone <my remote repo address> .
Clone parameters:
Repo URL: <my remote repo address>
Cache Server: Default
Destination: C:\Repos\Test2
Authenticating...Succeeded
Querying remote for config...Succeeded
Cannot clone @ C:\Repos\Test2: System.ArgumentNullException: Value cannot be null.
Parameter name: source
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
at GVFS.Common.Http.CacheServerResolver.TryResolveUrlFromRemote(String cacheServerName, GVFSConfig gvfsConfig, CacheS
erverInfo& cacheServer, String& error) in C:\Repos\GVFS\src\GVFS\GVFS.Common\Http\CacheServerResolver.cs:line 59
at GVFS.CommandLine.GVFSVerb.ResolveCacheServerUrlIfNeeded(ITracer tracer, CacheServerInfo cacheServer, CacheServerRe
solver cacheServerResolver, GVFSConfig gvfsConfig) in C:\Repos\GVFS\src\GVFS\GVFS\CommandLine\GVFSVerb.cs:line 307
at GVFS.CommandLine.CloneVerb.Execute() in C:\Repos\GVFS\src\GVFS\GVFS\CommandLine\CloneVerb.cs:line 134

 

It appears to connect and authenticate just fine, but when it actually does the query for the clone operation it barfs. After debugging the local GVFS code (and based on the error above), the error seems to indicate that a null value is being referenced where it expects an enum, but it doesn't appear to be coming from the GVFS code. I think this may be originating from the BitBucket GVFS plugin. 

Any help you can provide to help me get this up and running before Friday (11/3/17) would be very much appreciated. I have a tight window on this POC for security reasons and must destroy my test vm by Friday. Maybe we can solve a bug with the current GVFS plugin and make it better for everyone else. =)  Or maybe I'm missing something silly.

Thanks!

1 answer

0 vote
Sreekanth I'm New Here Jan 29, 2018

We are facing this problem still now.

Any update on the solution please?

 

Thanks!

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jul 10, 2018 in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

172 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you