Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid URL at http request in server-client webcam demo #87

Open
martinussuijkerbuijk opened this issue Dec 13, 2018 · 0 comments
Open

Comments

@martinussuijkerbuijk
Copy link

Hi,

After struggling for the last two days this is my last resort. I manage to get everything up and running up to the point where the server returns the below error in chrome:

web-client.js:144 Uncaught DOMException: Failed to execute 'open' on 'XMLHttpRequest': Invalid URL at captureImage (https://cs.stanford.edu/people/jcjohns/densecap/demo/web-client.js:144:13) at HTMLButtonElement.<anonymous> (https://cs.stanford.edu/people/jcjohns/densecap/demo/web-client.js:196:5) at HTMLButtonElement.dispatch (https://code.jquery.com/jquery-2.1.4.min.js:3:6466) at HTMLButtonElement.r.handle (https://code.jquery.com/jquery-2.1.4.min.js:3:3241)

Adressing this line of code in the webclient.js request.open('POST', SERVER_URL, true);

I keep thinking there's something wrong with the server_url I add to the end. Could somebody confirm if this is the right way? Followed this thread #24

https://cs.stanford.edu/people/jcjohns/densecap/demo/web-client.html?server_url=ip.nu.mb.ers:5000

I can connect to the server and I do receive a confirmation that the Densecap server is running when accepting the certificate, but if I continue to the Stanford site it errors.

Problem appears in different browsers. Any help appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant