noobot / SlackConnector

A simple to use connector/client for the Slack API in C#
http://github.com/noobot
MIT License
73 stars 44 forks source link

Doesn't connect with proxy #73

Closed malygin-g closed 6 years ago

malygin-g commented 6 years ago

Hi, I can't connect with proxy: p.s. The error seems to be with the nuget library is WebsocketClientLite.PCL System.InvalidOperationException HResult=0x80131509 Message=The operation is not allowed on non-connected sockets. Source=System StackTrace: at System.Net.Sockets.TcpClient.GetStream() at SocketLite.Services.TcpSocketClient.d19.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at WebsocketClientLite.PCL.MessageWebSocketRx.d15.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at SlackConnector.Connections.Sockets.WebSocketClientLite.d7.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at SlackConnector.Connections.ConnectionFactory.d0.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at SlackConnector.SlackConnector.d5.MoveNext() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at TopShelf2.SlackConnect.d4.MoveNext() in C:\mygit\TopShelf2\TopShelf2\Program.cs:line 40

Workshop2 commented 6 years ago

@malygin-g can you post this on that nuget library issues? https://github.com/1iveowl/WebsocketClientLite.PCL/issues