Giter VIP home page Giter VIP logo

Comments (7)

jakubgarfield avatar jakubgarfield commented on May 27, 2024

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.

DawsonG avatar DawsonG commented on May 27, 2024

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.

DawsonG avatar DawsonG commented on May 27, 2024

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.

jakubgarfield avatar jakubgarfield commented on May 27, 2024

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.

DawsonG avatar DawsonG commented on May 27, 2024

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.

jakubgarfield avatar jakubgarfield commented on May 27, 2024

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.

DawsonG avatar DawsonG commented on May 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.