none
Azure ML Studio(Classic) Web Service RRS feed

  • Question

  • After creating Azure ML Studio, deploying Web, and creating Web Service, when calling using C# source from Consume, the following error appears and the call is not working.


    Unhandled Exception: System.AggregateException: One or more errors occurred. -
    --> System.Net.Http.HttpRequestException: An error occurred during this request wishlist. 
    ---> System.Net.WebException: The underlying connection was closed. There was an error in sending. 
    ---> System.IO.IOException: Transfer connection The current connection was forcibly used by the remote host. The data cannot be read. 
    ---> System.Net.Sockets.SocketException: Current connection was forcibly won by remote host

        Location: System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)
       Location: System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)
       --- End of inner exception stack trace ---
       Location: System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)
       Location: System.Net.PooledStream.EndWrite(IAsyncResult asyncResult)
       Location: System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)
       --- End of inner exception stack trace ---
       Location: System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context)
       Location: System.Net.Http.HttpClientHandler.GetRequestStreamCallback(IAsyncResult ar)
       --- End of inner exception stack trace ---
       Location: System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       Location: System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       Location: System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
       Location: CallRequestResponseService.Program.<InvokeRequestResponseService>d__1.MoveNext() File D:\02_Source\CJ\MLTEST01\MLTEST01\Program.cs:Line 51
       --- End of inner exception stack trace ---
       Location: System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
       Location: System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
       Location: System.Threading.Tasks.Task.Wait()
       Location: CallRequestResponseService.Program.Main(String[] args) file D:\02_Source\CJ\MLTEST01\MLTEST01\Program.cs:line 21

    Tuesday, October 13, 2020 2:32 PM