Comments (7)
Since it has been a while I would suggest using Fiddler to compare both versions to see what is missing.
Maybe there is a problem in returning EmptyResponse in MVC and not returning anything (writing to response) from your handler?
Also I assume that you debugged to assure yourself that the correct path in the handler is being hit.
from bonobo-git-server.
The empty response was my first guess as well. Unfortunately I haven't used Fiddler before and am having trouble getting it to capture the response from Git Bash.
The handler is being hit and it is pulling information from the correct path.
from bonobo-git-server.
I figured out Fiddler. It appears that "If GitSharp.Repository.IsValid(dir.FullName, True) Then" on line 64 is returning false but I'm not entirely sure why. dir.FullName has the correct directory name and the permissions for the directory are correct. Removing the ctx.Response.StatusCode = 400 from line 70 causes it to hang without giving an error.
The error is actually RPC failed, error=20
from bonobo-git-server.
As I remember correctly, your repository needs to be bare. Try it with IsValid(..., false) and then convert your repository to the bare one.
from bonobo-git-server.
That did the trick! Thanks for your help. I'm going to play around with this some more and try to get authentication working then publish it as a separate repository on GitHub. Thanks!
from bonobo-git-server.
If you are interested in windows authentication please connect with @hupseb on twitter. I believe that he created a working implementation - https://twitter.com/hupseb/status/308480562455265281
from bonobo-git-server.
Thanks for all your help! I was able to get everything working. I created a Gist of my handler here: https://gist.github.com/DawsonG/5103482
from bonobo-git-server.
Related Issues (20)
- Is the current commit 6.5.0? HOT 3
- How can I put the repository folder to another share folder?
- Install after compile
- Getting SourceLink to work with Bonobo (git archive problem?) HOT 7
- Trivial Versioning
- 使用vs推送的时候一直提示本地低于远程版本 无法同步 Merge branch 'master' of ht HOT 6
- git clone failed large project
- Active directory user - login problem with special Char
- too many dependencies,support self contained
- Tags Not Showing on Tags Page
- is it somehow possible to search within the repo
- Feature Request: Restrict user access to selected files and folder in repository
- Restrict push into master branch
- Enabling SSH access to repositories
- Database Encryption
- Redirect loop with .NET 4.8
- Certain Characters in Passwords Cause Authentication Error in GIT Client
- 请求添加同步(镜像)功能
- If this is dead, please tell us HOT 1
- .git/info/refs not valid: is this a git repository?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bonobo-git-server.