Closed planecobra closed 3 years ago
Tried debugging the error SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
error 1 IOException: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count) at System.Net.Security._SslStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security._SslStream.StartReading(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslStream.Read(Byte[] buffer, Int32 offset, Int32 count) at Leaf.xNet.HttpResponse.ReceiverHelper.ReadLine() at Leaf.xNet.HttpResponse.ReceiveStartingLine() at Leaf.xNet.HttpResponse.LoadResponse(HttpMethod method, Boolean trackMiddleHeaders) --- End of inner exception stack trace --- at Leaf.xNet.HttpResponse.LoadResponse(HttpMethod method, Boolean trackMiddleHeaders) at Leaf.xNet.HttpRequest.ReceiveResponseHeaders(HttpMethod method) at Leaf.xNet.HttpRequest.Request(HttpMethod method, Uri address, HttpContent content) at Leaf.xNet.HttpRequest.Raw(HttpMethod method, Uri address, HttpContent content) at Leaf.xNet.HttpRequest.Raw(HttpMethod method, String address, HttpContent content) at Leaf.xNet.HttpRequest.Get(String address, RequestParams urlParams) at Youtube_Viewers.Program.Main(String[] args) in D:\projects\Youtube-Viewers\Youtube-Viewers\Program.cs:line 146