Error: ConnectFailure (TLS Support not available.)Solved
I recently downloaded 2 versions of oxide/umod from github (due to the recent update), NONE of them had the compiler included, I did a search on github, and found a VERY old version of the compiler on the compiler repo, however, I noticed the game failed to update it. Here are the logs

04:23 [Info] Loading Oxide Core v2.0.3867...
04:23 [Info] Loading extensions...
04:23 [Error] Couldn't check for update to Compiler.x86_x64
04:23 [Error] Error: ConnectFailure (TLS Support not available.)
04:23 [Info] Loaded extension CSharp v2.0.3913 by Oxide and Contributors
04:23 [Info] Loaded extension Discord v1.0.0 by PsychoTea & DylanSMR
04:23 [Info] Loaded extension MySql v2.0.3755 by Oxide and Contributors
04:23 [Info] Loaded extension Rust v2.0.4098 by Oxide and Contributors
04:23 [Info] Loaded extension SQLite v2.0.3754 by Oxide and Contributors
04:23 [Info] Loaded extension Unity v2.0.3756 by Oxide and Contributors
04:23 [Info] Using Covalence provider for game 'Rust'
04:23 [Info] Loading plugins...
04:23 [Info] Loaded plugin Rust v2.0.4098 by Oxide and Contributors
04:23 [Info] Loaded plugin Unity v2.0.3756 by Oxide and Contributors
04:36 [Info] IP address from external API: 192.99.145.80
04:55 [Info] [Discord Ext] Disconnected all clients - server shutdown.
04:59 [Info] Loading Oxide Core v2.0.3867...
04:59 [Info] Loading extensions...
04:59 [Error] Couldn't check for update to Compiler.x86_x64
04:59 [Error] Error: ConnectFailure (TLS Support not available.)
04:59 [Info] Loaded extension CSharp v2.0.3913 by Oxide and Contributors
04:59 [Info] Loaded extension Discord v1.0.0 by PsychoTea & DylanSMR
04:59 [Info] Loaded extension Rust:IO for Oxide v2.15.0 by playrust.io / dcode
04:59 [Info] Loaded extension MySql v2.0.3755 by Oxide and Contributors
04:59 [Info] Loaded extension Rust v2.0.4098 by Oxide and Contributors
04:59 [Info] Loaded extension SQLite v2.0.3754 by Oxide and Contributors
04:59 [Info] Loaded extension Unity v2.0.3756 by Oxide and Contributors
04:59 [Info] Using Covalence provider for game 'Rust'
04:59 [Info] Loading plugins...
04:59 [Info] Loaded plugin Rust v2.0.4098 by Oxide and Contributors
04:59 [Info] Loaded plugin Unity v2.0.3756 by Oxide and Contributors
04:59 [Info] Loaded plugin Rust:IO for Oxide v2.15.0 by playrust.io / dcode
04:59 [Error] Couldn't check for update to Compiler.x86_x64
04:59 [Error] Error: ConnectFailure (TLS Support not available.)
05:06 [Info] Loading Oxide Core v2.0.3867...
05:06 [Info] Loading extensions...
05:06 [Error] Couldn't check for update to Compiler.x86_x64
05:06 [Error] Error: ConnectFailure (TLS Support not available.)
05:06 [Info] Loaded extension CSharp v2.0.3913 by Oxide and Contributors
05:06 [Info] Loaded extension Discord v1.0.0 by PsychoTea & DylanSMR
05:06 [Info] Loaded extension Rust:IO for Oxide v2.15.0 by playrust.io / dcode
05:06 [Info] Loaded extension MySql v2.0.3755 by Oxide and Contributors
05:06 [Info] Loaded extension Rust v2.0.4098 by Oxide and Contributors
05:06 [Info] Loaded extension SQLite v2.0.3754 by Oxide and Contributors
05:06 [Info] Loaded extension Unity v2.0.3756 by Oxide and Contributors
05:06 [Info] Using Covalence provider for game 'Rust'
05:06 [Info] Loading plugins...
05:06 [Info] Loaded plugin Rust v2.0.4098 by Oxide and Contributors
05:06 [Info] Loaded plugin Unity v2.0.3756 by Oxide and Contributors
05:06 [Info] Loaded plugin Rust:IO for Oxide v2.15.0 by playrust.io / dcode
05:06 [Error] Plugin filename discordbot.cs must match the main class DiscordExtExample (should be DiscordExtExample.cs)
05:06 [Error] Couldn't check for update to Compiler.x86_x64
05:06 [Error] Error: ConnectFailure (TLS Support not available.)
05:06 [Error] Exception while starting compiler version Unknown:  (Win32Exception: ApplicationName='/home/amp/.ampdata/instances/Rust01/rust/258550/Compiler.x86_x64', CommandLine='/service /logPath:/home/amp/.ampdata/instances/Rust01/rust/258550/oxide/logs', CurrentDirectory='', Native error= Cannot find the specified file)
  at System.Diagnostics.Process.StartWithCreateProcess (System.Diagnostics.ProcessStartInfo startInfo) [0x002dc] in <4b9f316768174388be8ae5baf2e6cc02>:0 
  at System.Diagnostics.Process.Start () [0x0003a] in <4b9f316768174388be8ae5baf2e6cc02>:0 
  at (wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()
  at Oxide.Plugins.PluginCompiler.CheckCompiler () [0x001f3] in <9affce1cd15c4ec183941adef8db1722>:0 
05:06 [Warning] Compiler may not be set as executable; chmod +x or 0744/0755 required
05:06 [Error] Win32 NativeErrorCode: 2 ErrorCode: -2147467259 HelpLink: 
05:06 [Error] Error while compiling: compiler version Unknown couldn't be started
05:06 [Error] Error while compiling: compiler version Unknown couldn't be started
05:06 [Error] Error while compiling: compiler version Unknown couldn't be started
05:06 [Error] Error while compiling: compiler version Unknown couldn't be started
05:06 [Error] Error while compiling: compiler version Unknown couldn't be started
05:14 [Warning] Calling 'OnEntitySpawned' on 'RustIO v2.15.0' took 164ms
05:15 [Info] IP address from external API: 192.99.145.80
05:15 [Info] Updating Rust:IO ...
05:15 [Info] Rust:IO: Update complete
05:15 [Info] Installing Rust:IO ...
05:15 [Info] Rust:IO> Setting up Rust:IO 2.3.6854.11652 ...
05:15 [Info] Rust:IO> Creating directories ...
05:15 [Info] Rust:IO> Applying config ...
05:15 [Info] Rust:IO> Initializing database ...
05:15 [Info] Rust:IO> Generating map image (this may take a while) ...
05:17 [Info] Rust:IO> Generation complete
--------- Summary --------
Render       :  129516.466ms
Postprocess  :  8097.291ms
  Shadows    :  1164.515ms
  FXAA       :  6909.253ms
Encoding     :    73.837ms
Other        :    80.031ms
--------------------------
Total        :  137767.625ms
05:17 [Info] Rust:IO> Starting HTTP server on *:28015 ...
05:17 [Info] Rust:IO> Installed.
05:17 [Info] Rust:IO> Now ticking
05:17 [Warning] Calling 'OnTick' on 'RustIO v2.15.0' took 138915ms [GARBAGE COLLECT]
05:17 [Warning] Calling 'OnTick' on 'RustIO v2.15.0' took average 0ms [GARBAGE COLLECT]
05:17 [Info] Rust:IO> External IP address obtained from lookup: 192.99.145.80
08:14 [Warning] Calling 'OnTick' on 'RustIO v2.15.0' took 730ms [GARBAGE COLLECT]
14:17 [Warning] Calling 'OnTick' on 'RustIO v2.15.0' took 325ms [GARBAGE COLLECT]
18:39 [Info] Uninstalling Rust:IO ...
18:39 [Info] Rust:IO> Uninstalling ...
18:39 [Info] Rust:IO> No longer ticking
18:39 [Info] Rust:IO> Stopping server ...
18:39 [Info] Rust:IO> Removing listeners ...
18:39 [Info] Rust:IO> Performing maintenance ...
18:39 [Info] Rust:IO> Closing database ...
18:39 [Info] Rust:IO> Uninstalled.
18:39 [Info] Unloaded plugin Rust:IO for Oxide v2.15.0 by playrust.io / dcode
18:39 [Info] [Discord Ext] Disconnected all clients - server shutdown.
18:46 [Info] Loading Oxide Core v2.0.3867...
18:46 [Info] Loading extensions...
18:46 [Error] Couldn't check for update to Compiler.x86_x64
18:46 [Error] Error: ConnectFailure (TLS Support not available.)
18:46 [Info] Loaded extension CSharp v2.0.3913 by Oxide and Contributors
18:46 [Info] Loaded extension Discord v1.0.0 by PsychoTea & DylanSMR
18:46 [Info] Loaded extension Rust:IO for Oxide v2.15.0 by playrust.io / dcode
18:46 [Info] Loaded extension MySql v2.0.3755 by Oxide and Contributors
18:46 [Info] Loaded extension Rust v2.0.4099 by Oxide and Contributors
18:46 [Info] Loaded extension SQLite v2.0.3754 by Oxide and Contributors
18:46 [Info] Loaded extension Unity v2.0.3756 by Oxide and Contributors
18:46 [Info] Using Covalence provider for game 'Rust'
18:46 [Info] Loading plugins...
18:46 [Info] Loaded plugin Rust v2.0.4099 by Oxide and Contributors
18:46 [Info] Loaded plugin Unity v2.0.3756 by Oxide and Contributors
18:46 [Info] Loaded plugin Rust:IO for Oxide v2.15.0 by playrust.io / dcode
18:46 [Error] Plugin filename discordbot.cs must match the main class DiscordExtExample (should be DiscordExtExample.cs)
18:46 [Info] CraftingController, CustomDecay, FauxAdmin and MasterKey were compiled successfully in 3547ms
18:46 [Error] Error while compiling: InstaSmelt.cs(46,21): error CS0246: The type or namespace name `EntityStatResourceTransition' could not be found. Are you missing an assembly reference?
18:46 [Warning] [Crafting Controller] New configuration file created.
18:46 [Info] [Crafting Controller] Configuration file updated.
18:46 [Info] Loaded plugin Crafting Controller v2.5.1 by Mughisi/nivex
18:46 [Info] [CustomDecay] New configuration file created.
18:46 [Info] Loaded plugin CustomDecay v1.0.2 by Wizera
18:46 [Info] [FauxAdmin] Creating a new config file
18:46 [Info] Loaded plugin FauxAdmin v1.0.15 by Colon Blow
18:46 [Info] Loaded plugin Master Key v0.7.4 by Tori1157
18:54 [Info] IP address from external API: 192.99.145.80
18:54 [Info] Updating Rust:IO ...
18:54 [Info] Rust:IO: Update complete
18:54 [Info] Installing Rust:IO ...
18:54 [Info] Rust:IO> Setting up Rust:IO 2.3.6854.11652 ...
18:54 [Info] Rust:IO> Creating directories ...
18:54 [Info] Rust:IO> Applying config ...
18:54 [Info] Rust:IO> Initializing database ...
18:54 [Info] Rust:IO> Generating map image (this may take a while) ...
18:56 [Info] Rust:IO> Generation complete
--------- Summary --------
Render       :  109475.677ms
Postprocess  :  7258.763ms
  Shadows    :   901.952ms
  FXAA       :  6337.789ms
Encoding     :    70.251ms
Other        :    86.352ms
--------------------------
Total        :  116891.044ms
18:56 [Info] Rust:IO> Starting HTTP server on *:28015 ...
18:56 [Info] Rust:IO> Installed.
18:56 [Info] Rust:IO> Now ticking
18:56 [Warning] Calling 'OnTick' on 'RustIO v2.15.0' took 117617ms [GARBAGE COLLECT]
18:56 [Warning] Calling 'OnTick' on 'RustIO v2.15.0' took average 185ms [GARBAGE COLLECT]
18:56 [Info] Rust:IO> External IP address obtained from lookup: 192.99.145.80
19:07 [Info] [CustomDecay] Saving decay confiuration file
20:50 [Error] Plugin filename discordbot.cs must match the main class DiscordBot (should be DiscordBot.cs)
20:54 [Error] Could not load plugin 'DiscordBot' (no plugin found with that file name)
20:54 [Error] Could not load plugin 'DiscordBot.cs' (no plugin found with that file name)
20:54 [Error] Could not load plugin 'DiscordBot' (no plugin found with that file name)
20:55 [Warning] Calling 'OnEntityTakeDamage' on 'CustomDecay v1.0.2' took 283ms
20:55 [Info] DiscordBot was compiled successfully in 6647ms
20:55 [Info] Loaded plugin discordbot v1.0.0 by DrHax9908
20:55 [Error] ExType: WebException
20:55 [Error] [Discord Ext] A web request exception occured (internal error). (NotSupportedException: No such TLS Provider: `btls'.)
  at Mono.Net.Security.MonoTlsProviderFactory.LookupProvider (System.String name, System.Boolean throwOnError) [0x00032] in <4b9f316768174388be8ae5baf2e6cc02>:0 
  at Mono.Net.Security.MonoTlsProviderFactory.CreateDefaultProviderImpl () [0x00019] in <4b9f316768174388be8ae5baf2e6cc02>:0 
  at Mono.Net.Security.MonoTlsProviderFactory.InitializeInternal () [0x0001e] in <4b9f316768174388be8ae5baf2e6cc02>:0 
20:55 [Error] [Discord Ext] Request URL: [GET] https://discordapp.com/api/gateway
20:55 [Error] [Discord Ext] Exception message: Error: ConnectFailure (TLS Support not available.)
20:55 [Error] ExType: WebException
20:55 [Error] [Discord Ext] A web request exception occured (internal error). (NotSupportedException: No such TLS Provider: `btls'.)
  at Mono.Net.Security.MonoTlsProviderFactory.LookupProvider (System.String name, System.Boolean throwOnError) [0x00032] in <4b9f316768174388be8ae5baf2e6cc02>:0 
  at Mono.Net.Security.MonoTlsProviderFactory.CreateDefaultProviderImpl () [0x00019] in <4b9f316768174388be8ae5baf2e6cc02>:0 
  at Mono.Net.Security.MonoTlsProviderFactory.InitializeInternal () [0x0001e] in <4b9f316768174388be8ae5baf2e6cc02>:0 
20:55 [Error] [Discord Ext] Request URL: [GET] https://discordapp.com/api/gateway
20:55 [Error] [Discord Ext] Exception message: Error: ConnectFailure (TLS Support not available.)
20:55 [Error] ExType: WebException
20:55 [Error] [Discord Ext] A web request exception occured (internal error). (NotSupportedException: No such TLS Provider: `btls'.)
  at Mono.Net.Security.MonoTlsProviderFactory.LookupProvider (System.String name, System.Boolean throwOnError) [0x00032] in <4b9f316768174388be8ae5baf2e6cc02>:0 
  at Mono.Net.Security.MonoTlsProviderFactory.CreateDefaultProviderImpl () [0x00019] in <4b9f316768174388be8ae5baf2e6cc02>:0 
  at Mono.Net.Security.MonoTlsProviderFactory.InitializeInternal () [0x0001e] in <4b9f316768174388be8ae5baf2e6cc02>:0 
20:55 [Error] [Discord Ext] Request URL: [GET] https://discordapp.com/api/gateway
20:55 [Error] [Discord Ext] Exception message: Error: ConnectFailure (TLS Support not available.)
20:55 [Error] ExType: WebException
20:55 [Error] [Discord Ext] A web request exception occured (internal error). (NotSupportedException: No such TLS Provider: `btls'.)
  at Mono.Net.Security.MonoTlsProviderFactory.LookupProvider (System.String name, System.Boolean throwOnError) [0x00032] in <4b9f316768174388be8ae5baf2e6cc02>:0 
  at Mono.Net.Security.MonoTlsProviderFactory.CreateDefaultProviderImpl () [0x00019] in <4b9f316768174388be8ae5baf2e6cc02>:0 
  at Mono.Net.Security.MonoTlsProviderFactory.InitializeInternal () [0x0001e] in <4b9f316768174388be8ae5baf2e6cc02>:0 
20:55 [Error] [Discord Ext] Request URL: [GET] https://discordapp.com/api/gateway
20:55 [Error] [Discord Ext] Exception message: Error: ConnectFailure (TLS Support not available.)
20:55 [Error] ExType: WebException
20:55 [Error] [Discord Ext] A web request exception occured (internal error). (NotSupportedException: No such TLS Provider: `btls'.)
  at Mono.Net.Security.MonoTlsProviderFactory.LookupProvider (System.String name, System.Boolean throwOnError) [0x00032] in <4b9f316768174388be8ae5baf2e6cc02>:0 
  at Mono.Net.Security.MonoTlsProviderFactory.CreateDefaultProviderImpl () [0x00019] in <4b9f316768174388be8ae5baf2e6cc02>:0 
  at Mono.Net.Security.MonoTlsProviderFactory.InitializeInternal () [0x0001e] in <4b9f316768174388be8ae5baf2e6cc02>:0 
20:55 [Error] [Discord Ext] Request URL: [GET] https://discordapp.com/api/gateway
20:55 [Error] [Discord Ext] Exception message: Error: ConnectFailure (TLS Support not available.)
20:55 [Error] ExType: WebException
20:55 [Error] [Discord Ext] A web request exception occured (internal error). (NotSupportedException: No such TLS Provider: `btls'.)
  at Mono.Net.Security.MonoTlsProviderFactory.LookupProvider (System.String name, System.Boolean throwOnError) [0x00032] in <4b9f316768174388be8ae5baf2e6cc02>:0 
  at Mono.Net.Security.MonoTlsProviderFactory.CreateDefaultProviderImpl () [0x00019] in <4b9f316768174388be8ae5baf2e6cc02>:0 
  at Mono.Net.Security.MonoTlsProviderFactory.InitializeInternal () [0x0001e] in <4b9f316768174388be8ae5baf2e6cc02>:0 
20:55 [Error] [Discord Ext] Request URL: [GET] https://discordapp.com/api/gateway
20:55 [Error] [Discord Ext] Exception message: Error: ConnectFailure (TLS Support not available.)
20:55 [Error] ExType: WebException
20:55 [Error] [Discord Ext] A web request exception occured (internal error). (NotSupportedException: No such TLS Provider: `btls'.)
  at Mono.Net.Security.MonoTlsProviderFactory.LookupProvider (System.String name, System.Boolean throwOnError) [0x00032] in <4b9f316768174388be8ae5baf2e6cc02>:0 
  at Mono.Net.Security.MonoTlsProviderFactory.CreateDefaultProviderImpl () [0x00019] in <4b9f316768174388be8ae5baf2e6cc02>:0 
  at Mono.Net.Security.MonoTlsProviderFactory.InitializeInternal () [0x0001e] in <4b9f316768174388be8ae5baf2e6cc02>:0 
20:55 [Error] [Discord Ext] Request URL: [GET] https://discordapp.com/api/gateway
20:55 [Error] [Discord Ext] Exception message: Error: ConnectFailure (TLS Support not available.)​

The logs mention a btls error, and yes, I am using the discord extension on this server. Not sure if the error is entirely caused by btls, or if it's an error on my system, I've NEVER had this error before. I only got back into rust within the last few DAYS, and I'm stumped on this. Can someone tell me if I'm missing something obvious? Cause I've never had this error with umod.

EDIT: The discordbot load error regarding the file not being found was when I was correcting the issue with that file. I accidentally typo'd the file name.

EDIT 2: The above edit is NOT a confirmation the main error is fixed, I haven't found the source of the problem yet. I suspect it's possibly a compile oversight with umod. I am unable to test that without attempting to build my own copy, and that would be unsupported.
Hi, did you replace the Mono.Security.dll from our bundle when you installed Oxide?
Guess what? It wasn't in the zip file! Your umod copy is incomplete!

Merged post

The zip file contents. Unaltered

Here's the proof. This is a fresh copy of the oxide/umod rust zip. No mono.securirty dll

Merged post

sorry if my response seems like an "in your face". It's not. I'm just surprised an oversight like this occured.
Mono.Security comes with Rust natively, the one we have distributed on the past is a slightly updated version, but was likely removed from our bundle in the past because it was thought to not be necessary anymore. My question to you was not implying that you were missing it, but rather asking if you had used it from one of our zip files or not.
ah, I see. Well, I don't have the file, so I can't use it. I'd need to check a specific autodownloader to see if it used it though

EDIT: Just checked the Autodownloaded file. Wasn't in it
I tried it, but I aborted the startup because a DIFFERENT error caused by THIS file showed up in the logs.
20:50 [Info] Loading Oxide Core v2.0.3867...
20:50 [Info] Loading extensions...
20:50 [Error] Failed to load extension Oxide.CSharp (TypeLoadException: Could not load type of field 'System.Net.HttpWebRequest:tlsProvider' (51) due to: Could not resolve type with token 01000045 (from typeref, class/assembly Mono.Security.Interface.MonoTlsProvider, Mono.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756) assembly:Mono.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756 type:Mono.Security.Interface.MonoTlsProvider member:(null) signature:<none>)
  at Oxide.Plugins.PluginCompiler.CheckCompilerBinary () [0x000ad] in <9affce1cd15c4ec183941adef8db1722>:0 
  at Oxide.Plugins.CSharpPluginLoader..ctor (Oxide.Plugins.CSharpExtension extension) [0x0001d] in <9affce1cd15c4ec183941adef8db1722>:0 
  at Oxide.Plugins.CSharpExtension.Load () [0x00000] in <9affce1cd15c4ec183941adef8db1722>:0 
  at Oxide.Core.Extensions.ExtensionManager.LoadExtension (System.String filename, System.Boolean forced) [0x00168] in <4452f821def6406d834e4149849fe7ea>:0 
20:50 [Info] Loaded extension Discord v1.0.0 by PsychoTea & DylanSMR
20:50 [Info] Loaded extension Rust:IO for Oxide v2.15.0 by playrust.io / dcode
20:50 [Info] Loaded extension MySql v2.0.3755 by Oxide and Contributors
20:50 [Info] Loaded extension Rust v2.0.4099 by Oxide and Contributors
20:50 [Info] Loaded extension SQLite v2.0.3754 by Oxide and Contributors
20:50 [Info] Loaded extension Unity v2.0.3756 by Oxide and Contributors
20:50 [Info] Using Covalence provider for game 'Rust'
20:50 [Info] Loading plugins...
20:50 [Info] Loaded plugin Rust v2.0.4099 by Oxide and Contributors
20:50 [Info] Loaded plugin Unity v2.0.3756 by Oxide and Contributors
20:50 [Info] Loaded plugin Rust:IO for Oxide v2.15.0 by playrust.io / dcode
​


Merged post

UPDATE:   I told the rust mono runtime to use the legacy tls provider, much to my surprise, it might have actually FIXED the issue, bear in mind I DID upload some additional mono dlls from the official mono runtime.

Merged post

UPDATE 2: just great. Found the REAL problem. The mono runtime that the Cubecoders AMP control panel uses is interfering with rust. I need to NOT use that panel to make it work. ****!!!!
Ahh yes, any version of Mono installed on the system could potentially interfere.
Locked automatically