{"action":"created","issue":{"url":"https://api.github.com/repos/3ventic/BotVentic/issues/6","labels_url":"https://api.github.com/repos/3ventic/BotVentic/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/3ventic/BotVentic/issues/6/comments","events_url":"https://api.github.com/repos/3ventic/BotVentic/issues/6/events","html_url":"https://github.com/3ventic/BotVentic/issues/6","id":118723231,"number":6,"title":"Linux Support With Mono","user":{"login":"Zelakto","id":2054017,"avatar_url":"https://avatars.githubusercontent.com/u/2054017?v=3","gravatar_id":"","url":"https://api.github.com/users/Zelakto","html_url":"https://github.com/Zelakto","followers_url":"https://api.github.com/users/Zelakto/followers","following_url":"https://api.github.com/users/Zelakto/following{/other_user}","gists_url":"https://api.github.com/users/Zelakto/gists{/gist_id}","starred_url":"https://api.github.com/users/Zelakto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zelakto/subscriptions","organizations_url":"https://api.github.com/users/Zelakto/orgs","repos_url":"https://api.github.com/users/Zelakto/repos","events_url":"https://api.github.com/users/Zelakto/events{/privacy}","received_events_url":"https://api.github.com/users/Zelakto/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-24T23:08:23Z","updated_at":"2015-11-26T22:11:54Z","closed_at":"2015-11-25T04:08:58Z","body":"I love your bot! Is it possible to run it on linux with Mono? I run it with mono on the server and get this\r\n\r\n[root@everything Debug]# mono BotVentic.exe\r\nVersion 1.0.5803.28485\r\nStarted!\r\n\r\nUnhandled Exception:\r\nSystem.NullReferenceException: Object reference not set to an instance of an object\r\n  at BotVentic.Program.UpdateBttvEmotes () [0x00000] in <filename unknown>:0\r\n  at BotVentic.Program.UpdateAllEmotes () [0x00000] in <filename unknown>:0\r\n  at BotVentic.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0\r\n[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object\r\n  at BotVentic.Program.UpdateBttvEmotes () [0x00000] in <filename unknown>:0\r\n  at BotVentic.Program.UpdateAllEmotes () [0x00000] in <filename unknown>:0\r\n  at BotVentic.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0\r\n[root@everything Debug]#\r\n\r\nIs there something i'm doing wrong? Are you guys adding Linux support later? Thank you."},"comment":{"url":"https://api.github.com/repos/3ventic/BotVentic/issues/comments/159998891","html_url":"https://github.com/3ventic/BotVentic/issues/6#issuecomment-159998891","issue_url":"https://api.github.com/repos/3ventic/BotVentic/issues/6","id":159998891,"user":{"login":"Zelakto","id":2054017,"avatar_url":"https://avatars.githubusercontent.com/u/2054017?v=3","gravatar_id":"","url":"https://api.github.com/users/Zelakto","html_url":"https://github.com/Zelakto","followers_url":"https://api.github.com/users/Zelakto/followers","following_url":"https://api.github.com/users/Zelakto/following{/other_user}","gists_url":"https://api.github.com/users/Zelakto/gists{/gist_id}","starred_url":"https://api.github.com/users/Zelakto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zelakto/subscriptions","organizations_url":"https://api.github.com/users/Zelakto/orgs","repos_url":"https://api.github.com/users/Zelakto/repos","events_url":"https://api.github.com/users/Zelakto/events{/privacy}","received_events_url":"https://api.github.com/users/Zelakto/received_events","type":"User","site_admin":false},"created_at":"2015-11-26T22:11:54Z","updated_at":"2015-11-26T22:11:54Z","body":"Interesting, I downloaded the new build and I still seem to be having issues.\r\n`[root@everything Release]# mono BotVentic.exe\r\nVersion 1.0.5808.30814\r\nStarted!\r\nError loading bttv emotes\r\nError loading twitch emotes!\r\nEmotes acquired!\r\nConnecting...\r\nSystem.Net.WebException: Error getting response stream (Write: The authenticatio                                                                                                                                                             n or decryption has failed.): SendFailure ---> System.IO.IOException: The authen                                                                                                                                                             tication or decryption has failed. ---> Mono.Security.Protocol.Tls.TlsException:                                                                                                                                                              Invalid certificate received from server. Error code: 0xffffffff800b010a\r\n  at Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.RemoteVali                                                                                                                                                             dation (Mono.Security.Protocol.Tls.ClientContext context, AlertDescription descr                                                                                                                                                             iption) [0x00000] in <filename unknown>:0\r\n  at Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.validateCe                                                                                                                                                             rtificates (Mono.Security.X509.X509CertificateCollection certificates) [0x00000]                                                                                                                                                              in <filename unknown>:0\r\n  at Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.ProcessAsT                                                                                                                                                             ls1 () [0x00000] in <filename unknown>:0\r\n  at Mono.Security.Protocol.Tls.Handshake.HandshakeMessage.Process () [0x00000]                                                                                                                                                              in <filename unknown>:0\r\n  at (wrapper remoting-invoke-with-check) Mono.Security.Protocol.Tls.Handshake.H                                                                                                                                                             andshakeMessage:Process ()\r\n  at Mono.Security.Protocol.Tls.ClientRecordProtocol.ProcessHandshakeMessage (Mo                                                                                                                                                             no.Security.Protocol.Tls.TlsStream handMsg) [0x00000] in <filename unknown>:0\r\n  at Mono.Security.Protocol.Tls.RecordProtocol.InternalReceiveRecordCallback (IA                                                                                                                                                             syncResult asyncResult) [0x00000] in <filename unknown>:0\r\n  --- End of inner exception stack trace ---\r\n  at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback (IAsyncResu                                                                                                                                                             lt asyncResult) [0x00000] in <filename unknown>:0\r\n  --- End of inner exception stack trace ---\r\n  at System.Net.HttpWebRequest.EndGetRequestStream (IAsyncResult asyncResult) [0                                                                                                                                                             x00000] in <filename unknown>:0\r\n  at RestSharp.Http.RequestStreamCallback (IAsyncResult result, System.Action`1                                                                                                                                                              callback) [0x00000] in <filename unknown>:0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] i                                                                                                                                                             n <filename unknown>:0\r\n  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwa                                                                                                                                                             iter[TResult].GetResult () [0x00000] in <filename unknown>:0\r\n  at Discord.API.RestClient+<Send>d__31.MoveNext () [0x00000] in <filename unkno                                                                                                                                                             wn>:0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] i                                                                                                                                                             n <filename unknown>:0\r\n  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwa                                                                                                                                                             iter[TResult].GetResult () [0x00000] in <filename unknown>:0\r\n  at Discord.API.RestClient+<Send>d__29`1[Discord.API.LoginResponse].MoveNext ()                                                                                                                                                              [0x00000] in <filename unknown>:0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] i                                                                                                                                                             n <filename unknown>:0\r\n  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwa                                                                                                                                                             iter[TResult].GetResult () [0x00000] in <filename unknown>:0\r\n  at Discord.DiscordAPIClient+<Login>d__15.MoveNext () [0x00000] in <filename un                                                                                                                                                             known>:0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] i                                                                                                                                                             n <filename unknown>:0\r\n  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwa                                                                                                                                                             iter[TResult].GetResult () [0x00000] in <filename unknown>:0\r\n  at Discord.Helpers.TaskHelper+<Timeout>d__5`1[Discord.API.LoginResponse].MoveN                                                                                                                                                             ext () [0x00000] in <filename unknown>:0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] i                                                                                                                                                             n <filename unknown>:0\r\n  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwa                                                                                                                                                             iter[TResult].GetResult () [0x00000] in <filename unknown>:0\r\n  at Discord.DiscordClient+<Connect>d__145.MoveNext () [0x00000] in <filename un                                                                                                                                                             known>:0\r\n--- End of stack trace from previous location where exception was thrown ---\r\n  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] i                                                                                                                                                             n <filename unknown>:0\r\n  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x0000                                                                                                                                                             0] in <filename unknown>:0\r\n  at BotVentic.Program+<>c__DisplayClass16_0+<<Main>b__0>d.MoveNext () [0x00000]                                                                                                                                                              in <filename unknown>:0\r\nPress Any key to quit\r\n`"}}