nuget-server icon indicating copy to clipboard operation
nuget-server copied to clipboard

server hang after started for a while

Open raymondiwi opened this issue 7 years ago • 9 comments
trafficstars

Tried to deploy zip(v0.0.6535.20611-pre) and ran Svenkle.NuGetServer.Service.exe,

When it was just up, functions work, but after a while, server seems to stay in hang state.

Though I deployed on Windows server 2008 R2, it does not meet requirement.

Web server IIS 6.0 and IIS 7.5 exists also.

When started up, IIS express warning always shows. image

raymondiwi avatar Nov 28 '17 09:11 raymondiwi

I am also experiencing the same issue . Running windows 2016 server

gowthamrang avatar Nov 29 '17 00:11 gowthamrang

@raymondiwi are you running a 32 or 64 bit OS? Please provide as much information as you can to allow me to replicate the issue.

svenkle avatar Nov 29 '17 13:11 svenkle

So this is what I did. applicationhost.config file was modified <!-- <binding protocol="http" bindingInformation=":8080:localhost" /> --> <binding protocol="http" bindingInformation="*:8080:" /> window authentication was enabled.

The server hangs after few hours after it has been started. Sometimes it hangs after a few minutes. It seems to me that the problem does not occur if bindingInformation=":8080:localhost" is not modified, but i am not too sure of it.

Details of the machine: Windows Server 2016, 64 bit OS (x64 processor)

gowthamrang avatar Nov 29 '17 19:11 gowthamrang

Hi, @svenkle Windows server 2008 R2, 64bit, 1 CPU 4 cores, 8GB RAM run on VmWare ESXi 6.0.0 .net framework 4.6.2

I also modified some configuration settings applicationhost.config <binding protocol="http" bindingInformation=":8080:HostName" /> web.config <add key="requireApiKey" value="false" />

Svenkle.NuGetServer.Service.exe.config I leave it as default setting <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" />

server hang seems taking few minutes after been started.

raymondiwi avatar Nov 30 '17 05:11 raymondiwi

Same here

KimSchneider avatar Dec 27 '17 10:12 KimSchneider

I, too, am having this issue...

Server 2016, running in VM, 64-Bit, port changed to 5111. Nothing else changed.

v0.0.6535.20611-pre

adrian-andersson avatar Mar 26 '18 03:03 adrian-andersson

More information:

Seems to list my repositories just fine for about 1 minute. I can make 5 successful calls to list the repo (1 package only), after which the call will time out.

If I end the svenkle service from the console (i.e. press enter or Ctrl-C, then enter again) it ends the nuget provider, and I can immediately rerun it and get a good response from a call that is still awaiting response.

If I end the nuget service via task-manager whilst a call is being made, I get an INSTANT and FINAL response from the nuget provider, and cannot start it again - error message from IIS Express

It seems like the thread is awaiting input of some kind, rather than hanging. I've attached a zipped-up MP4 video to illustrate exactly what is happening

brokenNuget.zip

@svenkle

adrian-andersson avatar Mar 26 '18 04:03 adrian-andersson

I am also having this issue with v0.0.6535.20611-pre and v0.0.6330.3877-pre.

Filipsi avatar Sep 17 '18 08:09 Filipsi

Hi, @svenkle Windows server 2008 R2, 64bit, 1 CPU 4 cores, 8GB RAM run on VmWare ESXi 6.0.0 .net framework 4.6.2

I also modified some configuration settings applicationhost.config <binding protocol="http" bindingInformation=":8080:HostName" /> web.config <add key="requireApiKey" value="false" />

Svenkle.NuGetServer.Service.exe.config I leave it as default setting <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" />

server hang seems taking few minutes after been started.

Not sure, but i see a requirement not met : *** Requirements .NET 4.8 or higher

tunisiano187 avatar Mar 28 '24 17:03 tunisiano187