JsonReaderException at CheckServerConnectionSolved
Hi this error occours on server start:

Web request callback raised an exception in 'ServerArmour v0.5.63' plugin (JsonReaderException: Unexpected character encountered while parsing value: E. Path '', line 0, position 0.)
  at Newtonsoft.Json.JsonTextReader.ParseValue () [0x002b3] in <45c13f2b01574d8b82248736e42013a4>:0
  at Newtonsoft.Json.JsonTextReader.Read () [0x0004c] in <45c13f2b01574d8b82248736e42013a4>:0
  at Newtonsoft.Json.Linq.JObject.Load (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Linq.JsonLoadSettings settings) [0x00013] in <45c13f2b01574d8b82248736e42013a4>:0
  at Newtonsoft.Json.Linq.JObject.Parse (System.String json, Newtonsoft.Json.Linq.JsonLoadSettings settings) [0x0000c] in <45c13f2b01574d8b82248736e42013a4>:0
  at Newtonsoft.Json.Linq.JObject.Parse (System.String json) [0x00000] in <45c13f2b01574d8b82248736e42013a4>:0
  at Oxide.Plugins.ServerArmour.<CheckServerConnection>m__0 (System.Int32 code, System.String response) [0x00054] in <aadb19e0142a4ab99ef267e4ead0f13b>:0
  at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>b__42_0 () [0x00034] in <ec05e0208c9149bba43236ca58fea105>:0​

Here my config:

{
  "API: Owner Email": "[email protected]",
  "API: Owner Real Name": "XXX",
  "API: Owner Steam64 ID": "7656XXXXXXXXXX",
  "API: Server Key": "4a24e2f559006fccd72278f031.XXXXXXXXX",
  "API: Share details with other server owners": true,
  "API: Submit Arkan Data": true,
  "Auto Kick": true,
  "Auto Kick: Ban: Contains previous Aimbot ban": true,
  "Auto Kick: Ban: Contains previous Cheat ban": true,
  "Auto Kick: Ban: Contains previous ESP ban": true,
  "Auto Kick: Ban: Contains previous Hack ban": true,
  "Auto Kick: Ban: Contains previous Insult ban": false,
  "Auto Kick: Ban: Contains previous Ping ban": false,
  "Auto Kick: Ban: Contains previous Racism ban": false,
  "Auto Kick: Ban: Contains previous Script ban": false,
  "Auto Kick: Ban: Contains previous Toxic ban": false,
  "Auto Kick: Family share accounts": false,
  "Auto Kick: Family share accounts that are dirty": true,
  "Auto Kick: Kick if user owns a bloody device (now and past)": true,
  "Auto Kick: Max allowed Game bans": 2,
  "Auto Kick: Max allowed previous bans": 3,
  "Auto Kick: Max allowed VAC bans": 1,
  "Auto Kick: Min age of VAC ban allowed": 90,
  "Auto Kick: Min Allowed Steam Level (-1 disables)": -1,
  "Auto Kick: Private Steam Profiles": false,
  "Auto Kick: Profiles that do no conform to the Steam64 IDs (Highly recommended)": true,
  "Auto Kick: Users that have been banned on rusthackreport": true,
  "Auto Kick: VPN and Proxy": true,
  "Auto Kick: VPN and Proxy: Sensitivity": 1.0,
  "Auto Kick: When Steam Level Hidden": false,
  "Better Chat: Tag for dirty users": "",
  "Broadcast: Kicks": true,
  "Broadcast: New bans": true,
  "Broadcast: Player Reports": true,
  "Broadcast: RCON": false,
  "Broadcast: When VAC is younger than": 120,
  "Clan Ban: Ban Native Team Members": true,
  "Clan Ban: Reason Prefix": "Assoc Ban -> {playerId}: {reason}",
  "Debug: Show additional debug console logs": false,
  "Discord: Bans Webhook URL": "https://discord.com/api/webhooks/XXXXX",
  "Discord: Notify when a player has received a game ban": true,
  "Discord: Send Ban Report": true,
  "Discord: Send Kick Report": true,
  "Discord: Send Only Dirty Player Reports": true,
  "Discord: Show Quick Connect On report": true,
  "Discord: Webhook URL": "https://discord.com/api/webhooks/XXXXX",
  "Game Port": "28015",
  "Ignore Admins": true,
  "Query Port": "28015",
  "RCON Port": "28017",
  "Show Protected MSG": true,
  "Your Server IP": "85.XXX.XXX.XX"
}

Thanks for help.

Thanks, could you please have a look who the user was that logged in just before that error. 
This error occours without any users on Server, it occours after loading amour and after this error the plugin geting unloadet.

-->[Server Armour] Server Armour is being initialized.
-->[Server Armour] Server IP is 85.XXX.XXX.XX / *.*.*.*
-->[Server Armour] Server Port is 28015
-->Server startup complete
Web request callback raised an exception in 'ServerArmour v0.5.63' plugin (JsonReaderException: Unexpected character encountered while parsing value: E. Path '', line 0, position 0.)
  at Newtonsoft.Json.JsonTextReader.ParseValue () [0x002b3] in <45c13f2b01574d8b82248736e42013a4>:0
  at Newtonsoft.Json.JsonTextReader.Read () [0x0004c] in <45c13f2b01574d8b82248736e42013a4>:0
  at Newtonsoft.Json.Linq.JObject.Load (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Linq.JsonLoadSettings settings) [0x00013] in <45c13f2b01574d8b82248736e42013a4>:0
  at Newtonsoft.Json.Linq.JObject.Parse (System.String json, Newtonsoft.Json.Linq.JsonLoadSettings settings) [0x0000c] in <45c13f2b01574d8b82248736e42013a4>:0
  at Newtonsoft.Json.Linq.JObject.Parse (System.String json) [0x00000] in <45c13f2b01574d8b82248736e42013a4>:0
  at Oxide.Plugins.ServerArmour.<CheckServerConnection>m__0 (System.Int32 code, System.String response) [0x00054] in <c6159951b04b4fabb3bce77a945487f7>:0
  at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>b__42_0 () [0x00034] in <ec05e0208c9149bba43236ca58fea105>:0
-->SteamServer Connected​

Thanks for help

Thank you, this will be fixed in the next release
5e6f8629518b5.jpg Pho3niX90
Thank you, this will be fixed in the next release

Thanks



Merged post

Hello, i think i fixed the startup error. This error seems to be occour becouse of false oxide configs.... I changed in oxide.config.json some entries and now it works :) But thanks for help and sorry for my failure.

{
  "Options": {
    "Modded": true,
    "PluginWatchers": true,
    "DefaultGroups": {
      "Players": "default",
      "Administrators": "admin"
    },
  this -->  "WebRequestIP": "*.*.*.*"
  },
  "OxideConsole": {
    "Enabled": true,
    "MinimalistMode": false,
    "ShowStatusBar": true
  },
  "OxideRcon": {
this -->    "Enabled": false,
    "Port": 25580,
    "Password": "XXX",
    "ChatPrefix": "[Server:]"
  }
}​


Merged post

Ok i stuck error dont occour but it dosnt work....

[Oxide] 09:43 [Error] [Server Armour] User not checked. Server armour is not loaded.
XX.XX.XX.XX:50144/76561198XXXXXX/XXX joined [windows/76561198XXXXX]
XXX[76561198XXXX] has spawned​

what am I doing wrong ?

This error doesn't have anything to do with OxideRcon, and you'd see a completely different error if it was because of the IP setting.
5e13a8d5b2bc5.jpg Wulf
This error doesn't have anything to do with OxideRcon, and you'd see a completely different error if it was because of the IP setting.

Ok but i only changed the settings for oxide rcon and now the first error dont occours..... Sry but Rust Server hosting is new for me and i want to understand why all other plugins work but server armour not.

mrsecret83

Ok but i only changed the settings for oxide rcon and now the first error dont occours..... Sry but Rust Server hosting is new for me and i want to understand why all other plugins work but server armour not.

This plugin uses web requests, which is different than what both Rust RCON and Oxide RCON uses; web sockets. No worries though, just clarifying!
mrsecret83

Thanks



Merged post

Hello, i think i fixed the startup error. This error seems to be occour becouse of false oxide configs.... I changed in oxide.config.json some entries and now it works :) But thanks for help and sorry for my failure.

{
  "Options": {
    "Modded": true,
    "PluginWatchers": true,
    "DefaultGroups": {
      "Players": "default",
      "Administrators": "admin"
    },
  this -->  "WebRequestIP": "*.*.*.*"
  },
  "OxideConsole": {
    "Enabled": true,
    "MinimalistMode": false,
    "ShowStatusBar": true
  },
  "OxideRcon": {
this -->    "Enabled": false,
    "Port": 25580,
    "Password": "XXX",
    "ChatPrefix": "[Server:]"
  }
}​


Merged post

Ok i stuck error dont occour but it dosnt work....

[Oxide] 09:43 [Error] [Server Armour] User not checked. Server armour is not loaded.
XX.XX.XX.XX:50144/76561198XXXXXX/XXX joined [windows/76561198XXXXX]
XXX[76561198XXXX] has spawned​

what am I doing wrong ?

Please PM me your servers apikey in the server armour config. 
Plugin is is working now. Big thanks for helping
Locked automatically