Hello again,
I'm having an interesting bug with network connectivity to the JRiver server. Thanks in advance for your help, jitterjames!
Steps to reproduce1. Open or restart VoxCommando
2. Perform any action that performs a network request to JRiver
3. Wait at least 90 seconds
4. Repeat #2 and observe that this error occurs:
JRiver error: System.Net.WebException: The operation has timed outOther observations- The behavior is consistent: the first network request always works, network requests after 90 seconds of inactivity always time out
- While the error is happening in VoxCommando, requesting the same JRiver URL in the browser works OK
- If I swap Scraper.Simple for JRiver.Raw (and request precisely the same URL), the bug does not happen
LogsHere is an example where I click "Stop playback", wait 90 seconds, then click "Stop playback" again.
4/20/2020 9:23:30 PM 356 doCommand:Stop playback
4/20/2020 9:23:30 PM 366 Action is NOT threadsafe: JRiver.Stop
4/20/2020 9:23:30 PM 416 action repeat set to: 1
4/20/2020 9:23:30 PM 416 Action: JRiver.Stop
4/20/2020 9:23:30 PM 416 addHistoryItem [action] JRiver.Stop:
4/20/2020 9:23:30 PM 416 Action from plugin: C:\Users\leepingdiablo\AppData\Roaming\VoxCommando\Plugins\JRiver\JRiver.dll
4/20/2020 9:23:30 PM 416 [plugin] http://localhost:52199/MCWS/v1/Playback/Stop
4/20/2020 9:23:30 PM 416 Action INFO: <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<Response Status="OK"/>
4/20/2020 9:23:32 PM 566 Focused: VoxCommando
4/20/2020 9:23:35 PM 567 Focused: ShellExperienceHost
4/20/2020 9:23:49 PM 457 Check for updates required.
4/20/2020 9:23:49 PM 457 Updates: True
4/20/2020 9:25:01 PM 860 doCommand:Stop playback
4/20/2020 9:25:01 PM 860 Action is NOT threadsafe: JRiver.Stop
4/20/2020 9:25:01 PM 860 action repeat set to: 1
4/20/2020 9:25:01 PM 860 Action: JRiver.Stop
4/20/2020 9:25:01 PM 860 addHistoryItem [action] JRiver.Stop:
4/20/2020 9:25:01 PM 860 Action from plugin: C:\Users\leepingdiablo\AppData\Roaming\VoxCommando\Plugins\JRiver\JRiver.dll
4/20/2020 9:25:01 PM 860 [plugin] http://localhost:52199/MCWS/v1/Playback/Stop
4/20/2020 9:25:03 PM 880 [plugin] JRiver error: System.Net.WebException: The operation has timed out
at System.Net.HttpWebRequest.GetResponse()
at vcPlugin.webstuff.scrapeRawText(String strURL, Int32 reqTimeout)
4/20/2020 9:25:03 PM 880 Action INFO: JRiver error :
http://localhost:52199/MCWS/v1/Playback/Stop?token=JQ642QrK
System.Net.WebException: The operation has timed out
at System.Net.HttpWebRequest.GetResponse()
at vcPlugin.webstuff.scrapeRawText(String strURL, Int32 reqTimeout)