Skip to content
This repository was archived by the owner on Dec 18, 2018. It is now read-only.

http request to localhost kestrel server hangs when using node.js client #601

Closed
mypark opened this issue Jan 24, 2016 · 8 comments
Closed

Comments

@mypark
Copy link

mypark commented Jan 24, 2016

This is more a of a quesiton than a confirmed issue.

I have some testing tools in node.js that I would like to run against my asp web-api running on my localhost kestrel server, but it seems to hang whenever I make the request using a node.js client.

Node.js makes the request but then seems to hang and timeout. I can see in the kestrel logs that the http request is made and successful, and making the request to the local kestrel server using postman and other client tools seem to work.

What is it about the interaction between node.js and kestrel that is making it hang on localhost?

@benaadams
Copy link
Contributor

Kestrel version? May be an issue that was resolved in RC2 #406

@mypark
Copy link
Author

mypark commented Jan 24, 2016

"Microsoft.AspNet.Server.Kestrel": "1.0.0-rc1-final",

@mypark
Copy link
Author

mypark commented Jan 25, 2016

How do I install rc2 using nuget or dnu in my asp.net project?

@benaadams
Copy link
Contributor

Its not released yet, so you'd need to use the myget feed from https://www.myget.org/gallery/aspnetvnext (urls are on page)

However, as you may have to make some changes between RC1 and RC2 and there is a rename going on which means you'll have to make some more changes; you may want to wait a little while otherwise you will need to make two sets of changes,

@mypark
Copy link
Author

mypark commented Jan 27, 2016

Ok, I'll wait. When is the planned date for rc2? Is that going to coincide with an update of the asp.net RC as well?

@muratg
Copy link
Contributor

muratg commented Jan 29, 2016

@mypark ASP.NET Core roadmap will be updated when we know the release date for RC2. Like RC1 and previous releases, all of ASP.NET Core packages will be released, including Kestrel.

@muratg
Copy link
Contributor

muratg commented Mar 14, 2016

Dup of #406

@muratg muratg closed this as completed Mar 14, 2016
@mshanak
Copy link

mshanak commented Dec 24, 2017

This blog post could help

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants