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.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Atlas Camp is our developer event which will take place in Barcelona, Spain from the 6th -7th of September . This is a great opportunity to meet other developers and get n...
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