1. After around a day of the server being up, the webrequests stop working without error.

    There's no error in any of the logs and my plugin continues to function but from then on, every time it sends a webrequest the callback doesn't get called.

    This issue did not occur with the previous Oxide version but I doubt the code for webrequests has changed? Maybe it has.

    Here's the code for the webrequest:
    Code:
    webrequest.EnqueueGet(url, (code, response) => GetCallback(code, response), this, headers, timeout);
    Reloading the plugin does not fix the issue - the plugin reloads fine but the same error persists. Reloading other plugins does not fix/change this either.

    As this has happened every day for the last 4 days I started logging when the "GetCallback" function was called and in the main logs I can see it stopped at 5:04 PM

    This is what's in the Error Log around that time:
    Code:
    [10/01/2016 17:02:17] [Oxide] 5:02 PM [Error] Rust:IO> Steam authentication failed: WebException The request timed out
      at System.Net.HttpWebRequest.GetRequestStream () [0x00000] in <filename unknown>:0
      at B.v.A (A.y , System.String& ) [0x00000] in <filename unknown>:0
    [10/01/2016 17:02:55] [Oxide] 5:02 PM [Error] Rust:IO> Steam authentication failed: WebException The request timed out
      at System.Net.HttpWebRequest.GetRequestStream () [0x00000] in <filename unknown>:0
      at B.v.A (A.y , System.String& ) [0x00000] in <filename unknown>:0
    [10/01/2016 17:04:27] [Oxide] 5:04 PM [Error] Rust:IO> Steam authentication failed: WebException The request timed out
      at System.Net.HttpWebRequest.GetRequestStream () [0x00000] in <filename unknown>:0
      at B.v.A (A.y , System.String& ) [0x00000] in <filename unknown>:0
    [10/01/2016 17:05:07] [Oxide] 5:05 PM [Error] Rust:IO> Steam authentication failed: WebException The request timed out
      at System.Net.HttpWebRequest.GetRequestStream () [0x00000] in <filename unknown>:0
      at B.v.A (A.y , System.String& ) [0x00000] in <filename unknown>:0 
    Nothing to do with my plugin but could this be possibly related?

    Any advice on this is much appreciated!

    Thanks.
     
  2. Wulf

    Wulf Community Admin

    Please remove Rust:IO and see if the issue persists. Nothing has changed in Oxide, so them having no issues in the previous and current versions wouldn't be from a change to Oxide.
     
  3. Why would you run a server 24 hours without restarting it?
     
  4. It runs fine for 72+ hours before the issue started @Rusty are there any downsides for not restarting often?

    @Wulf Ah I thought nothing had changed. I'll try removing Rust:IO and seeing if the issue persists. Thanks.
     
  5. @Wulf It has been successfully calling back without Rust:IO for over 24 hours now - is it safe to assume that Rust:IO is causing the issue and if so, do you know of any fixes for this problem or if you could direct me to where I can ask Rust:IO support.

    Thanks
     
  6. Support is in the plugin topic is the best place
     
  7. Wulf

    Wulf Community Admin

    I'd post in the extensions support thread.
     
  8. Will do!

    Thanks again for all your help!