• Calls to the sleep agent failing in the Server Log.

    By Simon Badham 2 decades ago

    It looks like the call made to the sleep agent is failing.



    I've dug around and the jsNotesView2.1.7 Script Library makes a call to the sleep function with a parameter of 1 second. The jsUtility Script Library contains the definition for the sleep function and allows for the agenturlbase to be passed.



    I'm seeing messages in the log that show the URL for the call to sleep is failing.



    The jsNotesView2.1.7 Script Library defines the sleepPath, but this is not passed to the sleep function so the URL becomes invalid.



    I have corrected the problem in my example by re-writing the sleep call in jsNotesView2.1.7 from:



    sleep(1);



    To:



    sleep(1, this.sleepPath);



    Hope this helps.