Trevliga Spel forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

The MIDI plugin V 3.7.0 doesn't work for me

2 posters

Go down

The MIDI plugin V 3.7.0 doesn't work for me Empty The MIDI plugin V 3.7.0 doesn't work for me

Post by jbg Wed Dec 27, 2023 12:02 am

Hello,

I have installed the MIDI-plugin version 3.6.1 and the Cubase plugin version 2.0.2. This is working together with SideShowFX profiles "Cubase Pro SFX XL Win V2.3" for the Stream Deck XL controller.
Faders and quick controls can be controlled in Cubase 12.0.70 Build 464.

When I update the Trevliga Spel MIDI plugin to the recommended actual version 3.7.0 the MIDI commands from the Stream Desk XL controller seem not to work as before. The quick controls and faders in Cubase
do not longer react.

If I uninstall the MIDI plugin version 3.7.0 and install the MIDI plugin version 3.6.1 again the controls and faders are immediately working again without rebooting the computer or reloading of the Stream Deck 176 software.

The reason for this behaviour is not visible for me. Therefore this software version 3.7.0 looks a little bit buggy to me. I do not recommend to install it.

Kind regards
jbg

jbg

Posts : 5
Join date : 2023-12-26

Back to top Go down

The MIDI plugin V 3.7.0 doesn't work for me Empty Re: The MIDI plugin V 3.7.0 doesn't work for me

Post by Admin Wed Dec 27, 2023 12:19 am

The midi plugin has around 85,000 users. Since the release of V 3.7 two weeks ago, I have heard of two other users with problems, which could be resolved with a restart of Stream Deck. I haven't heard of anyone else having the problems you describe and would disagree with your recommendation not to install it.

I'm not saying it's bug-free, but based on your description, it's hard to tell what the problem is, and I'd like to see more information. I'm assuming you're not keen on reinstalling 3.7, but if you do, I'd like to see a log file with extended logging enabled.
Admin
Admin
Admin

Posts : 1235
Join date : 2020-03-26

https://trevligaspel.forumotion.eu

Back to top Go down

The MIDI plugin V 3.7.0 doesn't work for me Empty Re: The MIDI plugin V 3.7.0 doesn't work for me

Post by jbg Wed Dec 27, 2023 1:31 am

Well, when I looked at the Stream Deck software in the details of the non working keys I got a message that the plugin has not yet been loaded completely. I should wait some time to finish this.

With the version 3.6.1 this message didn't show up. I was able to view the parameters behind a key and modify it.

Of course in the meantime I was successful. The 3.7.0 plugin could be loaded and the controls are operational now. A little bit irritating is that the Windows notepad editor is no longer starting now. It doesn't complete the start and needs to be canceled in the task manager.

When I log off from my computer and log on with a different user account notepad is working as usual.
So there seems to be an issue somehow with the user profile. I noticed this behaviour now after I have installed all the neccessary things for the Stream Deck controller.

I have intended this computer only for music work. Therefore no Office package but music software and a lot of VST plugins. Of course some tricky things like having an UAD Sattelite Firewire modul connected by two Apple adapters sequentially to convert the Firewire port to a Thunderbolt port on my laptop.

Please let me know how to create logs for the MIDI- and the Cubase-Plugin so that I can try to collect some informations before I renew the Windows user profile. I haven't found some switches to activate logging in the software. I'm a supporter too in an ITIL environment, used to search for issues in complex parameter structures and understand that some situations need a closer review.

Kind regards
jbg

jbg

Posts : 5
Join date : 2023-12-26

Back to top Go down

The MIDI plugin V 3.7.0 doesn't work for me Empty Re: The MIDI plugin V 3.7.0 doesn't work for me

Post by jbg Wed Dec 27, 2023 1:52 am

I have found a file "pluginlog.txt" in "AppData\Roaming\Elgato\StreamDeck\Plugins\se.trevligaspel.midi.sdPlugin" with the following content. Does it provide some useful information?


2023-12-27 00:28:06.1682|DEBUG|TrevligaSpel|Logger Initialized
2023-12-27 00:28:06.1994|INFO|TrevligaSpel|Plugin [se.trevligaspel.midi] Loading - 12 Actions Found
2023-12-27 00:28:06.5491|INFO|TrevligaSpel|RunAsync Start
2023-12-27 00:28:06.6218|DEBUG|TrevligaSpel|Plugin Loaded: UUID: EFA368C10D060D06415024C7D757EF6B Device Info: Devices:
[Id: 0240686CB7EC329BBD186917AFB3B78E Type: StreamDeckXL Size: Rows: 4 Columns: 8]
ApplicationInfo: Language: de Platform: windows Version: 6.5.0.19904
PluginInfo: Version: 3.7

2023-12-27 00:28:06.6218|INFO|TrevligaSpel|Plugin version: 3.7
2023-12-27 00:28:06.6218|INFO|TrevligaSpel|Connecting to Stream Deck...
2023-12-27 00:28:06.6492|INFO|TrevligaSpel|RunAsync WebSocketState.Open
2023-12-27 00:28:06.6791|INFO|TrevligaSpel|RunAsync registerEvent
2023-12-27 00:28:06.6791|INFO|TrevligaSpel|RunAsync OnConnected.Invoke
2023-12-27 00:28:06.6791|INFO|TrevligaSpel|Connected to Stream Deck
2023-12-27 00:28:06.6791|INFO|TrevligaSpel|GlobalSettingsManager initialized
2023-12-27 00:28:06.7395      0,00ms  INFO    10  Midi             plugin version 3.7, StreamDeck version 6.5.0.19904
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at StreamDeck_Midi.BackgroundScriptController.AreGlobalSettingsChanged() in E:\Projects\StreamDeck-Midi - Net 7 3.7\StreamDeck-Midi\Script\BackgroundScriptController.cs:line 49
   at StreamDeck_Midi.GlobalSettings.ReceivedGlobalSettings(ReceivedGlobalSettingsPayload payload) in E:\Projects\StreamDeck-Midi - Net 7 3.7\StreamDeck-Midi\Actions\GlobalSettings.cs:line 801
   at StreamDeck_Midi.PluginActionControlChange.ReceivedGlobalSettings(ReceivedGlobalSettingsPayload payload) in E:\Projects\StreamDeck-Midi - Net 7 3.7\StreamDeck-Midi\Actions\PluginActionControlChange.cs:line 2360
   at BarRaider.SdTools.PluginContainer.Connection_OnDidReceiveGlobalSettings(Object sender, SDEventReceivedEventArgs`1 e) in E:\Projects\barraider-sdtools 6.1.1\Backend\PluginContainer.cs:line 254
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object state)
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
2023-12-27 00:28:11.3175|DEBUG|TrevligaSpel|Logger Initialized
2023-12-27 00:28:11.3449|INFO|TrevligaSpel|Plugin [se.trevligaspel.midi] Loading - 12 Actions Found
2023-12-27 00:28:11.6802|INFO|TrevligaSpel|RunAsync Start
2023-12-27 00:28:11.7715|DEBUG|TrevligaSpel|Plugin Loaded: UUID: 9DA74E65F399FEB84508BD2896F98098 Device Info: Devices:
[Id: 0240686CB7EC329BBD186917AFB3B78E Type: StreamDeckXL Size: Rows: 4 Columns: 8]
ApplicationInfo: Language: de Platform: windows Version: 6.5.0.19904
PluginInfo: Version: 3.7

2023-12-27 00:28:11.7715|INFO|TrevligaSpel|Plugin version: 3.7
2023-12-27 00:28:11.7715|INFO|TrevligaSpel|Connecting to Stream Deck...
2023-12-27 00:28:11.8167|INFO|TrevligaSpel|RunAsync WebSocketState.Open
2023-12-27 00:28:11.8641|INFO|TrevligaSpel|RunAsync registerEvent
2023-12-27 00:28:11.8641|INFO|TrevligaSpel|RunAsync OnConnected.Invoke
2023-12-27 00:28:11.8641|INFO|TrevligaSpel|Connected to Stream Deck
2023-12-27 00:28:11.8641|INFO|TrevligaSpel|GlobalSettingsManager initialized
2023-12-27 00:28:11.9388      0,00ms  INFO    10  Midi             plugin version 3.7, StreamDeck version 6.5.0.19904
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at StreamDeck_Midi.BackgroundScriptController.AreGlobalSettingsChanged() in E:\Projects\StreamDeck-Midi - Net 7 3.7\StreamDeck-Midi\Script\BackgroundScriptController.cs:line 49
   at StreamDeck_Midi.GlobalSettings.ReceivedGlobalSettings(ReceivedGlobalSettingsPayload payload) in E:\Projects\StreamDeck-Midi - Net 7 3.7\StreamDeck-Midi\Actions\GlobalSettings.cs:line 801
   at StreamDeck_Midi.PluginActionControlChange.ReceivedGlobalSettings(ReceivedGlobalSettingsPayload payload) in E:\Projects\StreamDeck-Midi - Net 7 3.7\StreamDeck-Midi\Actions\PluginActionControlChange.cs:line 2360
   at BarRaider.SdTools.PluginContainer.Connection_OnDidReceiveGlobalSettings(Object sender, SDEventReceivedEventArgs`1 e) in E:\Projects\barraider-sdtools 6.1.1\Backend\PluginContainer.cs:line 254
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object state)
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
2023-12-27 00:29:16.9235|DEBUG|TrevligaSpel|Logger Initialized
2023-12-27 00:29:16.9491|INFO|TrevligaSpel|Plugin [se.trevligaspel.midi] Loading - 12 Actions Found
2023-12-27 00:29:17.2520|INFO|TrevligaSpel|RunAsync Start
2023-12-27 00:29:17.3199|DEBUG|TrevligaSpel|Plugin Loaded: UUID: 5EF82E23E284D1B12BA934B9EB885922 Device Info: Devices:
[Id: 0240686CB7EC329BBD186917AFB3B78E Type: StreamDeckXL Size: Rows: 4 Columns: 8]
ApplicationInfo: Language: de Platform: windows Version: 6.5.0.19904
PluginInfo: Version: 3.7

2023-12-27 00:29:17.3199|INFO|TrevligaSpel|Plugin version: 3.7
2023-12-27 00:29:17.3199|INFO|TrevligaSpel|Connecting to Stream Deck...
2023-12-27 00:29:17.3503|INFO|TrevligaSpel|RunAsync WebSocketState.Open
2023-12-27 00:29:17.3805|INFO|TrevligaSpel|RunAsync registerEvent
2023-12-27 00:29:17.3805|INFO|TrevligaSpel|RunAsync OnConnected.Invoke
2023-12-27 00:29:17.3805|INFO|TrevligaSpel|Connected to Stream Deck
2023-12-27 00:29:17.3805|INFO|TrevligaSpel|GlobalSettingsManager initialized
2023-12-27 00:29:17.4368      0,00ms  INFO     5  Midi             plugin version 3.7, StreamDeck version 6.5.0.19904
RunAsync completed, shutting down
BarRaider.SdTools.Communication.StreamDeckConnection DisconnectAsync failed to close connection. Exception: System.Net.WebSockets.WebSocketException (0x80004005): The remote party closed the WebSocket connection without completing the close handshake.
 ---> System.IO.IOException: Unable to write data to the transport connection: Eine bestehende Verbindung wurde softwaregesteuert
durch den Hostcomputer abgebrochen..
 ---> System.Net.Sockets.SocketException (10053): Eine bestehende Verbindung wurde softwaregesteuert
durch den Hostcomputer abgebrochen.
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.CreateException(SocketError error, Boolean forAsyncThrow)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.SendAsyncForNetworkStream(Socket socket, CancellationToken cancellationToken)
   at System.Net.Sockets.NetworkStream.WriteAsync(ReadOnlyMemory`1 buffer, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnection.WriteToStreamAsync(ReadOnlyMemory`1 source, Boolean async)
   at System.Net.Http.HttpConnection.WriteWithoutBufferingAsync(ReadOnlyMemory`1 source, Boolean async)
   at System.Net.Http.HttpConnection.RawConnectionStream.WriteAsync(ReadOnlyMemory`1 buffer, CancellationToken cancellationToken)
   at System.Net.WebSockets.ManagedWebSocket.SendFrameFallbackAsync(MessageOpcode opcode, Boolean endOfMessage, Boolean disableCompression, ReadOnlyMemory`1 payloadBuffer, Task lockTask, CancellationToken cancellationToken)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.Net.WebSockets.ManagedWebSocket.SendFrameFallbackAsync(MessageOpcode opcode, Boolean endOfMessage, Boolean disableCompression, ReadOnlyMemory`1 payloadBuffer, Task lockTask, CancellationToken cancellationToken)
   at System.Net.WebSockets.ManagedWebSocket.SendFrameAsync(MessageOpcode opcode, Boolean endOfMessage, Boolean disableCompression, ReadOnlyMemory`1 payloadBuffer, CancellationToken cancellationToken)
   at System.Net.WebSockets.ManagedWebSocket.SendCloseFrameAsync(WebSocketCloseStatus closeStatus, String closeStatusDescription, CancellationToken cancellationToken)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.Net.WebSockets.ManagedWebSocket.SendCloseFrameAsync(WebSocketCloseStatus closeStatus, String closeStatusDescription, CancellationToken cancellationToken)
   at System.Net.WebSockets.ManagedWebSocket.CloseAsyncPrivate(WebSocketCloseStatus closeStatus, String statusDescription, CancellationToken cancellationToken)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.Net.WebSockets.ManagedWebSocket.CloseAsyncPrivate(WebSocketCloseStatus closeStatus, String statusDescription, CancellationToken cancellationToken)
   at BarRaider.SdTools.Communication.StreamDeckConnection.DisconnectAsync() in E:\Projects\barraider-sdtools 6.1.1\Communication\StreamDeckConnection.cs:line 449
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at BarRaider.SdTools.Communication.StreamDeckConnection.DisconnectAsync()
   at BarRaider.SdTools.Communication.StreamDeckConnection.RunAsync() in E:\Projects\barraider-sdtools 6.1.1\Communication\StreamDeckConnection.cs:line 352
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.ExecutionContextCallback(Object s)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext()
   at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)
   at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)
   at System.Threading.Tasks.Task`1.TrySetResult(TResult result)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.SetExistingTaskResult(Task`1 task, TResult result)
   at BarRaider.SdTools.Communication.StreamDeckConnection.ReceiveAsync() in E:\Projects\barraider-sdtools 6.1.1\Communication\StreamDeckConnection.cs:line 438
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)
   at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)
   at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)
   at System.Threading.Tasks.Task`1.TrySetResult(TResult result)
   at System.Threading.Tasks.ValueTask`1.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state)
   at System.Net.WebSockets.ManagedWebSocket.ReceiveAsyncPrivate[TResult](Memory`1 payloadBuffer, CancellationToken cancellationToken)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.WebSockets.ManagedWebSocket.EnsureBufferContainsAsync(Int32 minimumRequiredBytes, CancellationToken cancellationToken)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.IO.Stream.ReadAtLeastAsyncCore(Memory`1 buffer, Int32 minimumBytes, Boolean throwOnEndOfStream, CancellationToken cancellationToken)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)
   at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)
   at System.Net.Http.HttpConnection.RawConnectionStream.ReadAsync(Memory`1 buffer, CancellationToken cancellationToken)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)
   at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)
   at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)
   at System.Threading.Tasks.Task`1.TrySetResult(TResult result)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.SetExistingTaskResult(Task`1 task, TResult result)
   at System.Net.Http.HttpConnection.ReadBufferedAsyncCore(Memory`1 destination)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.InvokeContinuation(Action`1 continuation, Object state, Boolean forceAsync, Boolean requiresExecutionContextFlow)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.OnCompleted(SocketAsyncEventArgs _)
   at System.Net.Sockets.SocketAsyncEventArgs.<>c.<.cctor>b__176_0(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
   at System.Threading.ThreadPoolTypedWorkItemQueue`2.System.Threading.IThreadPoolWorkItem.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
--- End of stack trace from previous location ---

   --- End of inner exception stack trace ---
   at System.Net.WebSockets.ManagedWebSocket.SendFrameFallbackAsync(MessageOpcode opcode, Boolean endOfMessage, Boolean disableCompression, ReadOnlyMemory`1 payloadBuffer, Task lockTask, CancellationToken cancellationToken)
   at System.Net.WebSockets.ManagedWebSocket.SendFrameFallbackAsync(MessageOpcode opcode, Boolean endOfMessage, Boolean disableCompression, ReadOnlyMemory`1 payloadBuffer, Task lockTask, CancellationToken cancellationToken)
   at System.Net.WebSockets.ManagedWebSocket.SendCloseFrameAsync(WebSocketCloseStatus closeStatus, String closeStatusDescription, CancellationToken cancellationToken)
   at System.Net.WebSockets.ManagedWebSocket.CloseAsyncPrivate(WebSocketCloseStatus closeStatus, String statusDescription, CancellationToken cancellationToken)
   at BarRaider.SdTools.Communication.StreamDeckConnection.DisconnectAsync() in E:\Projects\barraider-sdtools 6.1.1\Communication\StreamDeckConnection.cs:line 449
Disconnect event received
Plugin Disconnected - Exiting
2023-12-27 00:33:08.1633|DEBUG|TrevligaSpel|Logger Initialized
2023-12-27 00:33:08.2092|INFO|TrevligaSpel|Plugin [se.trevligaspel.midi] Loading - 12 Actions Found
2023-12-27 00:33:08.7161|INFO|TrevligaSpel|RunAsync Start
2023-12-27 00:33:08.8579|DEBUG|TrevligaSpel|Plugin Loaded: UUID: C3FA55C1DAA82C1EBDA82ACBBF7A3705 Device Info: Devices:
[Id: 0240686CB7EC329BBD186917AFB3B78E Type: StreamDeckXL Size: Rows: 4 Columns: 8]
ApplicationInfo: Language: de Platform: windows Version: 6.5.0.19904
PluginInfo: Version: 3.7

2023-12-27 00:33:08.8579|INFO|TrevligaSpel|Plugin version: 3.7
2023-12-27 00:33:08.8579|INFO|TrevligaSpel|Connecting to Stream Deck...
2023-12-27 00:33:09.3254|INFO|TrevligaSpel|RunAsync WebSocketState.Open
2023-12-27 00:33:09.3827|INFO|TrevligaSpel|RunAsync registerEvent
2023-12-27 00:33:09.3827|INFO|TrevligaSpel|RunAsync OnConnected.Invoke
2023-12-27 00:33:09.3827|INFO|TrevligaSpel|Connected to Stream Deck
2023-12-27 00:33:09.3827|INFO|TrevligaSpel|GlobalSettingsManager initialized
2023-12-27 00:33:17.5738      0,00ms  INFO     5  Midi             plugin version 3.7, StreamDeck version 6.5.0.19904
2023-12-27 00:47:38.9773|DEBUG|TrevligaSpel|Logger Initialized
2023-12-27 00:47:39.2340|INFO|TrevligaSpel|Plugin [se.trevligaspel.midi] Loading - 12 Actions Found
2023-12-27 00:47:40.4621|INFO|TrevligaSpel|RunAsync Start
2023-12-27 00:47:40.9526|DEBUG|TrevligaSpel|Plugin Loaded: UUID: 9E042C847634283967D390E560C8625D Device Info: Devices:
[Id: 0240686CB7EC329BBD186917AFB3B78E Type: StreamDeckXL Size: Rows: 4 Columns: 8]
ApplicationInfo: Language: de Platform: windows Version: 6.5.0.19904
PluginInfo: Version: 3.7

2023-12-27 00:47:40.9526|INFO|TrevligaSpel|Plugin version: 3.7
2023-12-27 00:47:40.9526|INFO|TrevligaSpel|Connecting to Stream Deck...
2023-12-27 00:47:41.0660|INFO|TrevligaSpel|RunAsync WebSocketState.Open
2023-12-27 00:47:41.1337|INFO|TrevligaSpel|RunAsync registerEvent
2023-12-27 00:47:41.1337|INFO|TrevligaSpel|RunAsync OnConnected.Invoke
2023-12-27 00:47:41.1337|INFO|TrevligaSpel|Connected to Stream Deck
2023-12-27 00:47:41.1337|INFO|TrevligaSpel|GlobalSettingsManager initialized
2023-12-27 00:50:32.6651      0,00ms  INFO     5  Midi             plugin version 3.7, StreamDeck version 6.5.0.19904
BarRaider.SdTools.Communication.StreamDeckConnection ReceiveAsync Exception: System.Net.WebSockets.WebSocketException (0x80004005): The remote party closed the WebSocket connection without completing the close handshake.
 ---> System.IO.IOException: Unable to read data from the transport connection: Eine bestehende Verbindung wurde softwaregesteuert
durch den Hostcomputer abgebrochen..
 ---> System.Net.Sockets.SocketException (10053): Eine bestehende Verbindung wurde softwaregesteuert
durch den Hostcomputer abgebrochen.
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.CreateException(SocketError error, Boolean forAsyncThrow)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ReceiveAsync(Socket socket, CancellationToken cancellationToken)
   at System.Net.Sockets.NetworkStream.ReadAsync(Memory`1 buffer, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnection.ReadBufferedAsyncCore(Memory`1 destination)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.Net.Http.HttpConnection.ReadBufferedAsyncCore(Memory`1 destination)
   at System.Net.Http.HttpConnection.RawConnectionStream.ReadAsync(Memory`1 buffer, CancellationToken cancellationToken)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.Net.Http.HttpConnection.RawConnectionStream.ReadAsync(Memory`1 buffer, CancellationToken cancellationToken)
   at System.IO.Stream.ReadAtLeastAsyncCore(Memory`1 buffer, Int32 minimumBytes, Boolean throwOnEndOfStream, CancellationToken cancellationToken)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.IO.Stream.ReadAtLeastAsyncCore(Memory`1 buffer, Int32 minimumBytes, Boolean throwOnEndOfStream, CancellationToken cancellationToken)
   at System.Net.WebSockets.ManagedWebSocket.ReceiveAsyncPrivate[TResult](Memory`1 payloadBuffer, CancellationToken cancellationToken)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at System.Net.WebSockets.ManagedWebSocket.ReceiveAsync(ArraySegment`1 buffer, CancellationToken cancellationToken)
   at BarRaider.SdTools.Communication.StreamDeckConnection.ReceiveAsync() in E:\Projects\barraider-sdtools 6.1.1\Communication\StreamDeckConnection.cs:line 366
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.ExecutionContextCallback(Object s)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext()
   at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)
   at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)
   at System.Threading.Tasks.Task`1.TrySetResult(TResult result)
   at System.Threading.Tasks.ValueTask`1.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state)
   at System.Net.WebSockets.ManagedWebSocket.ReceiveAsyncPrivate[TResult](Memory`1 payloadBuffer, CancellationToken cancellationToken)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.WebSockets.ManagedWebSocket.EnsureBufferContainsAsync(Int32 minimumRequiredBytes, CancellationToken cancellationToken)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.IO.Stream.ReadAtLeastAsyncCore(Memory`1 buffer, Int32 minimumBytes, Boolean throwOnEndOfStream, CancellationToken cancellationToken)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)
   at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)
   at System.Net.Http.HttpConnection.RawConnectionStream.ReadAsync(Memory`1 buffer, CancellationToken cancellationToken)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)
   at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(IAsyncStateMachineBox box, Boolean allowInlining)
   at System.Threading.Tasks.Task.RunContinuations(Object continuationObject)
   at System.Threading.Tasks.Task`1.TrySetResult(TResult result)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.SetExistingTaskResult(Task`1 task, TResult result)
   at System.Net.Http.HttpConnection.ReadBufferedAsyncCore(Memory`1 destination)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.InvokeContinuation(Action`1 continuation, Object state, Boolean forceAsync, Boolean requiresExecutionContextFlow)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.OnCompleted(SocketAsyncEventArgs _)
   at System.Net.Sockets.SocketAsyncEventArgs.<>c.<.cctor>b__176_0(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
   at System.Threading.ThreadPoolTypedWorkItemQueue`2.System.Threading.IThreadPoolWorkItem.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
--- End of stack trace from previous location ---

   --- End of inner exception stack trace ---
   at System.Net.Http.HttpConnection.ReadBufferedAsyncCore(Memory`1 destination)
   at System.Net.Http.HttpConnection.RawConnectionStream.ReadAsync(Memory`1 buffer, CancellationToken cancellationToken)
   at System.IO.Stream.ReadAtLeastAsyncCore(Memory`1 buffer, Int32 minimumBytes, Boolean throwOnEndOfStream, CancellationToken cancellationToken)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at System.Net.WebSockets.ManagedWebSocket.ReceiveAsyncPrivate[TResult](Memory`1 payloadBuffer, CancellationToken cancellationToken)
   at System.Net.WebSockets.ManagedWebSocket.ReceiveAsyncPrivate[TResult](Memory`1 payloadBuffer, CancellationToken cancellationToken)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at System.Threading.Tasks.ValueTask`1.GetTaskForValueTaskSource(IValueTaskSource`1 t)
--- End of stack trace from previous location ---
   at BarRaider.SdTools.Communication.StreamDeckConnection.ReceiveAsync() in E:\Projects\barraider-sdtools 6.1.1\Communication\StreamDeckConnection.cs:line 366
RunAsync completed, shutting down
BarRaider.SdTools.Communication.StreamDeckConnection DisconnectAsync failed to close connection. Exception: System.Net.WebSockets.WebSocketException (0x80004005): The WebSocket is in an invalid state ('Aborted') for this operation. Valid states are: 'Open, CloseReceived, CloseSent'
   at System.Net.WebSockets.WebSocketValidate.ThrowIfInvalidState(WebSocketState currentState, Boolean isDisposed, WebSocketState[] validStates)
   at System.Net.WebSockets.ManagedWebSocket.CloseAsync(WebSocketCloseStatus closeStatus, String statusDescription, CancellationToken cancellationToken)
--- End of stack trace from previous location ---
   at BarRaider.SdTools.Communication.StreamDeckConnection.DisconnectAsync() in E:\Projects\barraider-sdtools 6.1.1\Communication\StreamDeckConnection.cs:line 449
Disconnect event received
Plugin Disconnected - Exiting
2023-12-27 00:52:38.6482|DEBUG|TrevligaSpel|Logger Initialized
2023-12-27 00:52:38.8240|INFO|TrevligaSpel|Plugin [se.trevligaspel.midi] Loading - 12 Actions Found
2023-12-27 00:52:39.9505|INFO|TrevligaSpel|RunAsync Start
2023-12-27 00:52:40.4820|DEBUG|TrevligaSpel|Plugin Loaded: UUID: 4184965ABAE2E27D0CD7FBB75F8DD863 Device Info: Devices:
[Id: 0240686CB7EC329BBD186917AFB3B78E Type: StreamDeckXL Size: Rows: 4 Columns: 8]
ApplicationInfo: Language: de Platform: windows Version: 6.5.0.19904
PluginInfo: Version: 3.7

2023-12-27 00:52:40.4820|INFO|TrevligaSpel|Plugin version: 3.7
2023-12-27 00:52:40.4820|INFO|TrevligaSpel|Connecting to Stream Deck...
2023-12-27 00:52:40.6347|INFO|TrevligaSpel|RunAsync WebSocketState.Open
2023-12-27 00:52:40.7068|INFO|TrevligaSpel|RunAsync registerEvent
2023-12-27 00:52:40.7068|INFO|TrevligaSpel|RunAsync OnConnected.Invoke
2023-12-27 00:52:40.7068|INFO|TrevligaSpel|Connected to Stream Deck
2023-12-27 00:52:40.7079|INFO|TrevligaSpel|GlobalSettingsManager initialized
2023-12-27 00:53:18.7895      0,00ms  INFO     5  Midi             plugin version 3.7, StreamDeck version 6.5.0.19904
RunAsync completed, shutting down
Disconnect event received
Plugin Disconnected - Exiting
2023-12-27 01:02:30.7692|DEBUG|TrevligaSpel|Logger Initialized
2023-12-27 01:02:30.7966|INFO|TrevligaSpel|Plugin [se.trevligaspel.midi] Loading - 12 Actions Found
2023-12-27 01:02:31.2080|INFO|TrevligaSpel|RunAsync Start
2023-12-27 01:02:31.3055|DEBUG|TrevligaSpel|Plugin Loaded: UUID: 348A6003591028E7289C867C7935ABDF Device Info: Devices:
[Id: 0240686CB7EC329BBD186917AFB3B78E Type: StreamDeckXL Size: Rows: 4 Columns: 8]
ApplicationInfo: Language: de Platform: windows Version: 6.5.0.19904
PluginInfo: Version: 3.7

2023-12-27 01:02:31.3055|INFO|TrevligaSpel|Plugin version: 3.7
2023-12-27 01:02:31.3055|INFO|TrevligaSpel|Connecting to Stream Deck...
2023-12-27 01:02:31.4510|INFO|TrevligaSpel|RunAsync WebSocketState.Open
2023-12-27 01:02:31.4883|INFO|TrevligaSpel|RunAsync registerEvent
2023-12-27 01:02:31.4883|INFO|TrevligaSpel|RunAsync OnConnected.Invoke
2023-12-27 01:02:31.4883|INFO|TrevligaSpel|Connected to Stream Deck
2023-12-27 01:02:31.4895|INFO|TrevligaSpel|GlobalSettingsManager initialized
2023-12-27 01:06:13.1015|DEBUG|TrevligaSpel|Logger Initialized
2023-12-27 01:06:13.3319|INFO|TrevligaSpel|Plugin [se.trevligaspel.midi] Loading - 12 Actions Found
2023-12-27 01:06:14.9163|INFO|TrevligaSpel|RunAsync Start
2023-12-27 01:06:15.4089|DEBUG|TrevligaSpel|Plugin Loaded: UUID: 5489D4DF7D1C4BDC38F5310CC3DF1483 Device Info: Devices:
[Id: 0240686CB7EC329BBD186917AFB3B78E Type: StreamDeckXL Size: Rows: 4 Columns: 8]
ApplicationInfo: Language: de Platform: windows Version: 6.5.0.19904
PluginInfo: Version: 3.7

2023-12-27 01:06:15.4089|INFO|TrevligaSpel|Plugin version: 3.7
2023-12-27 01:06:15.4089|INFO|TrevligaSpel|Connecting to Stream Deck...
2023-12-27 01:06:15.5250|INFO|TrevligaSpel|RunAsync WebSocketState.Open
2023-12-27 01:06:15.6079|INFO|TrevligaSpel|RunAsync registerEvent
2023-12-27 01:06:15.6079|INFO|TrevligaSpel|RunAsync OnConnected.Invoke
2023-12-27 01:06:15.6079|INFO|TrevligaSpel|Connected to Stream Deck
2023-12-27 01:06:15.6079|INFO|TrevligaSpel|GlobalSettingsManager initialized

jbg

Posts : 5
Join date : 2023-12-26

Back to top Go down

The MIDI plugin V 3.7.0 doesn't work for me Empty Re: The MIDI plugin V 3.7.0 doesn't work for me

Post by jbg Wed Dec 27, 2023 2:01 am

In the logfile the following location is mentioned several times:

E:\Projects\barraider-sdtools 6.1.1\Communication\StreamDeckConnection.cs:line 366

This location doesn't exist on my computer.

jbg

Posts : 5
Join date : 2023-12-26

Back to top Go down

The MIDI plugin V 3.7.0 doesn't work for me Empty Re: The MIDI plugin V 3.7.0 doesn't work for me

Post by Admin Wed Dec 27, 2023 2:04 am

You are affected by the same problem as the other two users. There is a problem with V 3.7 that, depending on the installation procedure used and some other criteria, will cause problems with buttons claiming that the plugin isn't loaded.

The problem is solved by restarting the Stream Deck software, and I guess the logoff/logon sequence "solved" the problem for you. The end of the log file shows that the plugin starts without problems.
(I recommend stopping the Stream Deck software by right-clicking the Stream Deck icon in the notification area and selecting "Quit Stream Deck" instead of killing the process in Task Manager since it gives the plugin a nicer shutdown.)

I have version 3.7.0.2, where the problem is fixed, but I can't get it published now since the Elgato personnel are on holiday leave. I will create a sticky post in this forum for the download of that version. If you need to reinstall 3.7 (especially if you switch between 3.6 and 3.7), I recommend using that version instead of the version on Marketplace.

The paths in the exception logs in the log file reference the path to the source code on the development computer.
Admin
Admin
Admin

Posts : 1235
Join date : 2020-03-26

https://trevligaspel.forumotion.eu

Back to top Go down

The MIDI plugin V 3.7.0 doesn't work for me Empty Re: The MIDI plugin V 3.7.0 doesn't work for me

Post by jbg Wed Dec 27, 2023 2:10 am

This is fine for me. Thank you for reacting in a calm and polite way here.

I will of course recreate the user profile to check the strange behaviour of the notepad application.

Kind regards
jbg.

jbg

Posts : 5
Join date : 2023-12-26

Back to top Go down

The MIDI plugin V 3.7.0 doesn't work for me Empty Re: The MIDI plugin V 3.7.0 doesn't work for me

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum