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> .
Repo URL: <my remote repo address>
Cache Server: Default
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.
Try adding --cache-server-url None to the gvfs clone command.
Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...
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!
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