rstudio / shinyloadtest

Tools for load testing Shiny applications
https://rstudio.github.io/shinyloadtest/
110 stars 22 forks source link

Playback failed: Failed to resolve hostname websocket:443: No such host is known (websocket) com.neovisionaries.ws.client.WebSocketException #152

Open JingCTyagi opened 2 years ago

JingCTyagi commented 2 years ago

To whom it may concern,

I was following the site https://rstudio.github.io/shinyloadtest/#:~:text=Load%20Testing%20Shiny%20Applications,users%20their%20application%20can%20support. and downloaded shinycannon-1.1.3-dd43f6b.jar to the directory you wish to run it in from this site https://rstudio.github.io/shinyloadtest/articles/shinycannon.html#installation

OS: Windows 10, C:\GSA\GAO\Source\ShinyApps\LoadTesting>java -version java version "16" 2021-03-16 Java(TM) SE Runtime Environment (build 16+36-2231) Java HotSpot(TM) 64-Bit Server VM (build 16+36-2231, mixed mode, sharing)

when I run the following command and got the errors below, any help would be greatly appreciated.

LoadTesting>java -jar ../shinycannon-1.1.3-dd43f6b.jar recording.log https://id_verification.ilx-test.net --workers 2 --loaded-duration-minutes 2 --output-dir run1
2022-03-03 06:55:01.374 INFO [thread00] - Detected target application type: R/Shiny
2022-03-03 06:55:01.380 INFO [progress] - Running: 0, Failed: 0, Done: 0
2022-03-03 06:55:01.381 INFO [thread00] - Waiting for warmup to complete
2022-03-03 06:55:01.381 INFO [thread01] - Warming up
2022-03-03 06:55:04.132 ERROR [thread01] - Playback failed: Failed to resolve hostname websocket:443: No such host is known (websocket)
com.neovisionaries.ws.client.WebSocketException: Failed to resolve hostname websocket:443: No such host is known (websocket)
        at com.neovisionaries.ws.client.SocketConnector.resolveHostname(SocketConnector.java:181)2022-03-03 06:55:04.134 INFO [thread01] - Running again
2022-03-03 06:55:04.553 ERROR [thread01] - Playback failed: Failed to resolve hostname websocket:443: websocket
com.neovisionaries.ws.client.WebSocketException: Failed to resolve hostname websocket:443: websocket
        at com.neovisionaries.ws.client.SocketConnector.resolveHostname(SocketConnector.java:181)2022-03-03 06:55:04.555 INFO [thread01] - Running again

Any idea and help would be greatly appreciated. Thanks for your help and time!

Thanks, Jing

schloerke commented 2 years ago

@JingCTyagi Can you supply me with your recording.log file so I can try on my end?

JingCTyagi commented 2 years ago

FYI,

HI Barret,

Thanks for your prompt response!

Attached please find the recording.log file. I also included a simple recording1.log file too.

Please let me know if you have any questions.

Thanks, Jing

On Thu, Mar 3, 2022 at 1:06 PM Tyagi, Jing C @.**@.>> wrote:

From: Barret Schloerke @.**@.>> Sent: Thursday, March 3, 2022 12:25 PM To: rstudio/shinyloadtest @.**@.>> Cc: Tyagi, Jing C @.**@.>>; Mention @.**@.>> Subject: Re: [rstudio/shinyloadtest] Playback failed: Failed to resolve hostname websocket:443: No such host is known (websocket) com.neovisionaries.ws.client.WebSocketException (Issue #152)

CAUTION EXTERNAL EMAIL: Do not click on any links or open any attachments unless you trust the sender and/or know the content is safe. If you are suspicious of the e-mail, click on the Report Suspicious Emails button.

@JingCTyagihttps://urldefense.com/v3/__https:/github.com/JingCTyagi__;!!E4HZMw!RKLRJ7pGJKljEk2nECj7k6F2gZlu5L2_1d39fYPRSzb0fgUtGqPWZnk04uV6mOM$ Can you supply me with your recording.log file so I can try on my end?

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/rstudio/shinyloadtest/issues/152*issuecomment-1058296227__;Iw!!E4HZMw!RKLRJ7pGJKljEk2nECj7k6F2gZlu5L2_1d39fYPRSzb0fgUtGqPWZnk0UxUplMk$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AUQKCRGGDP3IQE7BGG5QKH3U6DYXRANCNFSM5P2I5TOQ__;!!E4HZMw!RKLRJ7pGJKljEk2nECj7k6F2gZlu5L2_1d39fYPRSzb0fgUtGqPWZnk0p5W-RaI$. Triage notifications on the go with GitHub Mobile for iOShttps://urldefense.com/v3/__https:/apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675__;!!E4HZMw!RKLRJ7pGJKljEk2nECj7k6F2gZlu5L2_1d39fYPRSzb0fgUtGqPWZnk0j2ujKSo$ or Androidhttps://urldefense.com/v3/__https:/play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign*3Dnotification-email*26utm_medium*3Demail*26utm_source*3Dgithub__;JSUlJSU!!E4HZMw!RKLRJ7pGJKljEk2nECj7k6F2gZlu5L2_1d39fYPRSzb0fgUtGqPWZnk0AsRUE2w$. You are receiving this because you were mentioned.Message ID: @.**@.>>

JingCTyagi commented 2 years ago

@JingCTyagi Can you supply me with your recording.log file so I can try on my end?

HI Barret, I just sent you the recording.log file by replying your email. Please let me know if you haven't received it. recording.log

I also attached the file here, please see above.

JingCTyagi commented 2 years ago

@JingCTyagi Can you supply me with your recording.log file so I can try on my end?

Any update on this?