question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hi Hongzi,

I am trying to run a real experiment using pensive. What I want to do is 1, setting up a server on one real PC 2, setting up another client who will watch the video from the server via the Internet

I have followed the steps in the README file under the folder “real_exp”, but it doesn’t work. The error message in the chrome_retry_log is listed as follows:

` robustMPC_0

Message: u’unknown error: unhandled inspector error: {“code”:-32000,“message”:“Cannot navigate to invalid URL”}\n (Session info: chrome=84.0.4147.105)\n (Driver info: chromedriver=2.27.440175 (9bc1d90b8bfa4dd181fbbf769a5eb5e575574320),platform=Linux 4.15.0-1067-oem x86_64)’ ` So, I tried to directly load the video from my chrome via URL of “serverIP/myindex_FIXED.html”. I also tried other algorithms. What I get is that the web load correctly, the video displayed for around 2 seconds, and then the video player freezes. I guess it successfully downloads the first chunk and the streaming doesn’t work after that.

I also check the console and get the following error message image

I feel the error comes from the following code in the AbrController.js case 3: var xhr = new XMLHttpRequest(); xhr.open("POST", "http://localhost:8333", false); ... xhr.send(JSON.stringify(data));

Can I ask, am I doing the right thing if I want to achieve my goal of setting up a video server and client? If so, shall I modify the URL of “http://localhost:8333” to the IP of the server? Do you have any suggestions?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
YaxiongXiePrincetoncommented, Aug 5, 2020

Thanks, Hongzi. Yes, the problem is the server.

Also, I found another problem about the chrome_retry_log. The error message is: Message: u'unknown error: unhandled inspector error: {"code":-32000,"message":"Cannot navigate to invalid URL"}\n Such an error has also been observed by other users of Pensive in another issue.

I debugged a little bit and found that the reason is because of the URL. For example, I change the URL to url = '192.168.1.1/' + 'myindex_' + abr_algo + '.html' which is actually not correct. It should add the HTTP://, like the following: url = 'http://192.168.192.27/' + 'myindex_' + abr_algo + '.html' Hope this helps other users when they met the same problem.

0reactions
YaxiongXiePrincetoncommented, Aug 5, 2020

I saw similar questions asked in issue #65

Read more comments on GitHub >

github_iconTop Results From Across the Web

13 Creepy Real Experiments That Sound Like Science Fiction
13 Creepy Real Experiments That Sound Like Science Fiction · Scientists growing human brains in mice? · Pig bladders regrowing human limbs ·...
Read more >
9 evil medical experiments | Live Science
Nine of the most evil medical experiments ever committed in the name of science. ... Yet in real-life, while science often saves lives, ......
Read more >
Top 10 Controversial Real Life Science Experiments - YouTube
Say hello to the dark side of science. For this list, we'll be looking at experiments that generated debate as a result of...
Read more >
30 Most Unethical Psychology Human Experiments
Human experimentation in psychology has a dark history. Here's a list of the 30 most famous unethical psychology experiments in human history.
Read more >
Ugly past of U.S. human experiments uncovered - NBC News
Shocking as it may seem, U.S. government doctors once thought it was fine to experiment on disabled people and prison inmates.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found