Exception at System.Runtime.Remoting.Channels.ChannelServices.RegisterChannel SingeInstanceIPCChannel is not securable while ensureSecurity is specified as true
yura@YuraPC:~/Games/Hellgate$ WINE_MONO_TRACE=E:Type wine Launcher.exe
0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
[00000024:] EXCEPTION handling: System.Runtime.Remoting.RemotingException: Channel London2038_Launcher_Mutexyura:SingeInstanceIPCChannel is not securable while ensureSecurity is specified as true
Unhandled Exception:
System.Runtime.Remoting.RemotingException: Channel London2038_Launcher_Mutexyura:SingeInstanceIPCChannel is not securable while ensureSecurity is specified as true
at System.Runtime.Remoting.Channels.ChannelServices.RegisterChannel (System.Runtime.Remoting.Channels.IChannel chnl, System.Boolean ensureSecurity) [0x0002a] in <7713cb95b33244ed9608bf0b23fbdce9>:0
at Microsoft.Shell.SingleInstance`1[TApplication].CreateRemoteService (System.String channelName) [0x00045] in <37cd14dfd05448cc84f66836eea43ecd>:0
at Microsoft.Shell.SingleInstance`1[TApplication].InitializeAsFirstInstance (System.String uniqueName) [0x00039] in <37cd14dfd05448cc84f66836eea43ecd>:0
at Launcher.App.Main () [0x00000] in <37cd14dfd05448cc84f66836eea43ecd>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.Runtime.Remoting.RemotingException: Channel London2038_Launcher_Mutexyura:SingeInstanceIPCChannel is not securable while ensureSecurity is specified as true
at System.Runtime.Remoting.Channels.ChannelServices.RegisterChannel (System.Runtime.Remoting.Channels.IChannel chnl, System.Boolean ensureSecurity) [0x0002a] in <7713cb95b33244ed9608bf0b23fbdce9>:0
at Microsoft.Shell.SingleInstance`1[TApplication].CreateRemoteService (System.String channelName) [0x00045] in <37cd14dfd05448cc84f66836eea43ecd>:0
at Microsoft.Shell.SingleInstance`1[TApplication].InitializeAsFirstInstance (System.String uniqueName) [0x00039] in <37cd14dfd05448cc84f66836eea43ecd>:0
at Launcher.App.Main () [0x00000] in <37cd14dfd05448cc84f66836eea43ecd>:0
is there any solution? wine-5.13 whine-mono 5.1.0
Can you get a log with WINE_MONO_TRACE=M:System.Runtime.Remoting.Channels.ChannelServices:RegisterChannel?
yura@YuraPC:~/Games/Hellgate$ WINE_MONO_TRACE=M:System.Runtime.Remoting.Channels.ChannelServices:RegisterChannel wine Launcher.exe
0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
[00000024: 0.00000 0] ENTER:c System.Runtime.Remoting.Channels.ChannelServices:RegisterChannel (System.Runtime.Remoting.Channels.IChannel,bool)([System.Runtime.Remoting.Channels.Ipc.IpcServerChannel:02000F00], 1)
[00000024:] EXCEPTION handling: System.Runtime.Remoting.RemotingException: Channel London2038_Launcher_Mutexyura:SingeInstanceIPCChannel is not securable while ensureSecurity is specified as true
Unhandled Exception:
System.Runtime.Remoting.RemotingException: Channel London2038_Launcher_Mutexyura:SingeInstanceIPCChannel is not securable while ensureSecurity is specified as true
at System.Runtime.Remoting.Channels.ChannelServices.RegisterChannel (System.Runtime.Remoting.Channels.IChannel chnl, System.Boolean ensureSecurity) [0x0002a] in <7713cb95b33244ed9608bf0b23fbdce9>:0
at Microsoft.Shell.SingleInstance`1[TApplication].CreateRemoteService (System.String channelName) [0x00045] in <37cd14dfd05448cc84f66836eea43ecd>:0
at Microsoft.Shell.SingleInstance`1[TApplication].InitializeAsFirstInstance (System.String uniqueName) [0x00039] in <37cd14dfd05448cc84f66836eea43ecd>:0
at Launcher.App.Main () [0x00000] in <37cd14dfd05448cc84f66836eea43ecd>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.Runtime.Remoting.RemotingException: Channel London2038_Launcher_Mutexyura:SingeInstanceIPCChannel is not securable while ensureSecurity is specified as true
at System.Runtime.Remoting.Channels.ChannelServices.RegisterChannel (System.Runtime.Remoting.Channels.IChannel chnl, System.Boolean ensureSecurity) [0x0002a] in <7713cb95b33244ed9608bf0b23fbdce9>:0
at Microsoft.Shell.SingleInstance`1[TApplication].CreateRemoteService (System.String channelName) [0x00045] in <37cd14dfd05448cc84f66836eea43ecd>:0
at Microsoft.Shell.SingleInstance`1[TApplication].InitializeAsFirstInstance (System.String uniqueName) [0x00039] in <37cd14dfd05448cc84f66836eea43ecd>:0
at Launcher.App.Main () [0x00000] in <37cd14dfd05448cc84f66836eea43ecd>:0
sure how can i help you solve this error?
perhaps mono itself does not support such a function? https://forums.xamarin.com/discussion/73218/xamarin-does-not-implement-isecurablechannel-on-tcpchannel
The log shows that this is an IpcServerChannel, not TcpChannel, but it seems to be the same situation.
I'm not sure what ISecurableChannel is supposed to do. MSDN just says "Gets or sets a Boolean value that indicates whether the current channel is secure."
found some information here ChannelServices.RegisterChannel
Do not decompile .NET Framework code.
thanks for the safety.
I suspect the whole thing is the default IChannel secure field for mono and net.framework
This sounds like the same problem, posted way back in 2007: http://www.claassen.net/geek/blog/2007/06/isecurablechannel-in-tcpchannel-not.html
The MSDN documentation for RegisterChannel offers this explanation:
If the
ensureSecurityparameter is set totrue, the remoting system determines whether the channel implements ISecurableChannel, and if so, enables encryption and digital signatures. An exception is thrown if the channel does not implement ISecurableChannel.
I thought about adding a stub ISecurableChannel implementation to Mono's IpcServerChannel implementation and Mono's TcpChannel implementation, which would do no encryption even if the IsSecured property is set to true. However, I don't know how we would ensure that the fake implementation is only used for connections that stay on the local machine. If there's any chance that data sent to the channel could be sent over the internet unencrypted, that could be very bad.
Is there a way to disable ensureSecurity?
Is there a way to disable ensureSecurity?
The application you're running would have to do that. There's no override option in Mono.
Noting that the launcher for The Amazing Spider-Man hits this issue. Proton log: steam-212580.log