ydekova
ydekova
In our case, this was the reason https://github.com/aspnet/Security/issues/1510 It results in the same behavior so I decided to drop this here.
We are having this issue after upgrade to 2.1 (from 1.1) with Ubuntu 16.04.1. There is really nothing special about this machine. Probably some of the problematic certificates are installed...
@danmosemsft thanks for your quick reply. I tried to run the process with root user, check the /etc/ssl/certs/ for broken links and what their permissions are, but none of those...
@tmds this program gives me ls /usr/lib/ssl/certs lrwxrwxrwx 1 root root 14 Sep 23 2016 /usr/lib/ssl/certs -> /etc/ssl/certs ls /usr/lib/ssl/cert.pem ls: cannot access '/usr/lib/ssl/cert.pem': No such file or directory -->...
@tmds thanks for your assistance. DOTNET_SYSTEM_NET_HTTP_USESOCKETSHTTPHANDLER - if this is an environment variable setting it to 0 didn't really fixed it for us. I'll add my temp workaround here https://github.com/dotnet/corefx/issues/30388
It happens only on Linux, at least in my case. I ended up with this workaround for now. Not sure if it's a viable one, I'd be thankful if you...
@tmds I set it in /etc/environment: ``` /etc$ cat environment PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" ASPNETCORE_ENVIRONMENT=Staging DOTNET_SYSTEM_NET_HTTP_USESOCKETSHTTPHANDLER=0 ``` I restarted the dot net application and there was no change. The same error as before.
@tmds can you tell me what this setting (DOTNET_SYSTEM_NET_HTTP_USESOCKETSHTTPHANDLER) does exactly and how it will affect the app's behavior? Does it affect the SignalR support? Not sure if its OK...
@karelz 'locally' it's windows so the problem does not exist. Aside from this, testing this on a Linux machine is not a problem yes, it does fix the problem on...
@karelz I would prefer to use the new sockets handler because otherwise, we encounter the memory leak problem. In my code above this would mean using "new SocketsHttpHandler()" instead of...