Hello i have this error: Error while compiling: DiscordCore.cs(382,117): error CS1503: Argument `#2' cannot convert `System.Collections.Generic.Liststring>' expression to type `string[]'
Any idea how to fix?
Hello i have this error: Error while compiling: DiscordCore.cs(382,117): error CS1503: Argument `#2' cannot convert `System.Collections.Generic.Liststring>' expression to type `string[]'
Any idea how to fix?
This is fixed in version 2.1.3.
Okay but next:
[Discord Extension] [Exception]: A web request exception occured (internal error) [RETRY=3/3].
Request URL: [GET] https://discord.com/api/v9/gateway
System.Net.WebException: Error getting response stream (Write: The authentication or decryption has failed.): SendFailure ---> System.IO.IOException: The authentication or decryption has failed. ---> System.IO.IOException: The authentication or decryption has failed. ---> Mono.Security.Protocol.Tls.TlsException: The authentication or decryption has failed.
at Mono.Security.Protocol.Tls.RecordProtocol.ProcessAlert (AlertLevel alertLevel, AlertDescription alertDesc) [0x00000] in filename unknown>:0
at Mono.Security.Protocol.Tls.RecordProtocol.InternalReceiveRecordCallback (IAsyncResult asyncResult) [0x00000] in filename unknown>:0
--- End of inner exception stack trace ---
at Mono.Security.Protocol.Tls.SslClientStream.EndNegotiateHandshake (IAsyncResult result) [0x00000] in filename unknown>:0
at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback (IAsyncResult asyncResult) [0x00000] in filename unknown>:0
--- End of inner exception stack trace ---
at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback (IAsyncResult asyncResult) [0x00000] in filename unknown>:0
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000] in filename unknown>:0
at System.Net.HttpWebRequest.GetResponse () [0x00000] in filename unknown>:0
at Oxide.Ext.Discord.Rest.Request.Fire () [0x00000] in filename unknown>:0 (TlsException: The authentication or decryption has failed.)
at Mono.Security.Protocol.Tls.RecordProtocol.ProcessAlert (AlertLevel alertLevel, AlertDescription alertDesc) [0x00000] in filename unknown>:0
at Mono.Security.Protocol.Tls.RecordProtocol.InternalReceiveRecordCallback (IAsyncResult asyncResult) [0x00000] in filename unknown>:0
Are you running the latest version of the Discord Extension? If so what game is this for?
Yes latest version and game hurtworld
So that is probably the issue. Discord made a change requiring TLS 1.2 for Websocket and API's. This breaks any game using dotnet versions lower than 4.5. Hurtworld is using 3.5. I'm not sure if there will be a way to update the extension to support this. It's something that hurtworld would need to do on their end
:( not good
Merged post
I use discord for chat, commands, top, auth, logs and now not work ;/ brutal life.