Comments (5)
Can you provide a project or code that reproduces this exception? At the moment I don't have enough information to understand the problem
from h.pipes.
Hi @HavenDV ,
Below is the code snippet:
PipeClient m_client = new PipeClient("NamedPipeServer", formatter: new NewtonsoftJsonFormatter(), reconnectionInterval: new TimeSpan(0, 0, 0, 0, 100));
m_client.MessageReceived += OnMessageReceived;
m_client.ExceptionOccurred += OnExceptionOccurred;
m_client.Connected += OnConnected;
m_client.Disconnected += OnDisconnected;
m_client.AutoReconnect = true;
await m_client.ConnectAsync();
await Task.Delay(Timeout.InfiniteTimeSpan);
from h.pipes.
Hi @HavenDV ,
Any update on the issue?
from h.pipes.
Hi @HavenDV , Any update on the issue?
Please check 2.0.42
from h.pipes.
Hi @HavenDV ,
We dont see the above issue anymore, But the below error:
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ComponentModel.InvalidAsynchronousStateException
at System.Windows.Forms.Control.WaitForWaitHandle(System.Threading.WaitHandle)
at System.Windows.Forms.Control.MarshaledInvoke(System.Windows.Forms.Control, System.Delegate, System.Object[], Boolean)
at System.Windows.Forms.Control.Invoke(System.Delegate, System.Object[])
at App.Service.set_StatusUpdate(System.String)
at App.Service.OnExceptionOccurred(System.Object, H.Pipes.Args.ExceptionEventArgs)
at H.Pipes.PipeClient`1+<b__46_0>d[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
from h.pipes.
Related Issues (20)
- I can't transmit a simple message [question] HOT 9
- some windows 10 and windows 11 clients can't connect to the PipeServer if hosted in a service HOT 17
- Dependencies Inferno on will fail if not on windows and on supported .net versions HOT 15
- Interesting Bug...version 2.0.34 HOT 6
- ReadAsync length HOT 4
- Generic message type <T> HOT 4
- Returned by server pipeName is null HOT 2
- Large messages on .NET 6 fail to send HOT 9
- PipeServer crashing with many connections, IOException: 'Pipe is broken' HOT 13
- SemaphoreFullException when CancellationToken is cancelled before semaphore is entered
- Feature request: Have a connection identifier on the server based on a client connection HOT 3
- The server stops working HOT 8
- Feature request: Support CreatePipeStreamFunc on the client as well
- MessageReceived events do not provides any cancellation token HOT 3
- Stream access from Connection object HOT 1
- Tests fail sometimes in Github Actions only HOT 1
- Identify which user is connected HOT 8
- Missing resiliency options HOT 14
- Pipe name handling on client side HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from h.pipes.