Not an Issue Webrequests stopped working

Discussion in 'Rust Discussion' started by ddo, Jun 12, 2015.

  1. ddo

    ddo

    I just realize that my plugins do not send any request after today update...

    p/s: In my case Javascript Plugins
     
  2. Wulf

    Wulf Community Admin

    Check your logs for errors, it's likely that the plugins are not loaded. Nothing changed with webrequests.
     
  3. ddo

    ddo

    it's loaded and there is no error/exception, i tried to log before send the request and 1 more in the callback, the callback just never called
     
  4. Wulf

    Wulf Community Admin

    Is this your own code? If it's an issue with someone else's plugin, you should post in its thread.
     
  5. ddo

    ddo

    yes, its my own code, before the update it worked well, i'm still debugging here...
    [DOUBLEPOST=1434171957,1434139988][/DOUBLEPOST]It works in the beginning after i restart the server then, nothing happen, even i reload the plugins. Note that before the yesterday update all was fine

    [DOUBLEPOST=1434278974][/DOUBLEPOST]i got the problem, if one of javascript plugins has this exception:
    Code:
    at Oxide.Ext.JavaScript.JavaScriptExtension.<JavaScriptExtension>m__0 (System.Exception ex) [0x00000] in <filename unknown>:0
      at Oxide.Core.ExceptionHandler.FormatException (System.Exception ex) [0x00000] in <filename unknown>:0
      at Oxide.Core.Logging.Logger.WriteException (System.String message, System.Exception ex) [0x00000] in <filename unknown>:0
      at Oxide.Core.OxideMod.LogException (System.String message, System.Exception ex) [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>m__1 () [0x00000] in <filename unknown>:0
      at Oxide.Core.OxideMod.OnFrame (Single delta) [0x00000] in <filename unknown>:0 
    all of the rest javascript plugins cant use the webrequests
    [DOUBLEPOST=1434279261][/DOUBLEPOST]even i reload the plugins, the webrequests will not throw you any more exceptions, it is hard for you guys to debug. After the server restart, everything will be ok till that exception happen

    Anyway that i can live refresh this case, instead of restart my server.
     
    Last edited by a moderator: Jun 17, 2015
  6. ddo

    ddo

    now, its fixed in the latest oxide. ty
     
  7. Wulf

    Wulf Community Admin

    Nothing changed. :p