Git Product home page Git Product logo

Comments (11)

pcibraro avatar pcibraro commented on August 29, 2024

Sorry for the delay. I was on vacations. Let me check if this is still a bug with the latest owin nuget packages or otherwise, I will try to report it as a bug to Microsoft.

from hawknet.

BrannonKing avatar BrannonKing commented on August 29, 2024

It appears this is till an issue. Hawknet works with Owin running on port 80 but not 19000. You say this is an Owin bug? What is the exact bug?

from hawknet.

BrannonKing avatar BrannonKing commented on August 29, 2024

I filed an issue: https://katanaproject.codeplex.com/workitem/400

from hawknet.

BrannonKing avatar BrannonKing commented on August 29, 2024

It ends up that the issue is with the HawkNet library. I found it and put in a pull request: #28 . The HawkClientMessageHandler.SendAsync override has this line: request.Headers.Host = request.RequestUri.Host;. That line is wrong; it needs the port. The OwinRequest.Host property includes the port but the Uri.Host does not; I can see where it would get confusing. The SignRequest method actually gets it right when the header is absent, so I just removed that header setter to fix the issue. Setting the Host header from the client doesn't seem quite right anyhow.

from hawknet.

pcibraro avatar pcibraro commented on August 29, 2024

Awesome. Thanks for working on this. I will apply your pull request

from hawknet.

pcibraro avatar pcibraro commented on August 29, 2024

I just pushed the updated version of the nuget package. Thanks

from hawknet.

BrannonKing avatar BrannonKing commented on August 29, 2024

I see that the HawkNet.Owin package was renewed today. However, wasn't this fix in the HawkNet.WebApi package?

from hawknet.

pcibraro avatar pcibraro commented on August 29, 2024

Yes. Let me release that package as well

from hawknet.

BrannonKing avatar BrannonKing commented on August 29, 2024

Any ETA on releasing the WebApi package? Thanks for your time on this.

from hawknet.

pcibraro avatar pcibraro commented on August 29, 2024

I just pushed it. Sorry it took so long. Thanks

from hawknet.

BrannonKing avatar BrannonKing commented on August 29, 2024

It's working well. Thank you.

from hawknet.

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.