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

Failed to load resource: the server responded with a status of 404 (NOT FOUND) #1

Open
raychandan opened this issue Nov 22, 2022 · 1 comment

Comments

@raychandan
Copy link

raychandan commented Nov 22, 2022

I have follow all steps as described but got this error when I try to connect an URL.
Please look into this error, what I am doing wrong. If you have any other example implementing pywb?
I need to connect to remote URL with headless chrome (Like co-browsing).

URL :- /api/flock/start/UVALFHP74PWF2NZN5IY3QL4A

Payload:-
{
"SCREEN_WIDTH": 1120,
"SCREEN_HEIGHT": 312,
"AUDIO_TYPE": "webrtc",
"REQ_ID": "UVALFHP74PWF2NZN5IY3QL4A"
}

Response:-

{"details": "Traceback (most recent call last):\n File "/usr/local/lib/python3.5/site-packages/docker/api/client.py", line 261, in _raise_for_status\n response.raise_for_status()\n File "/usr/local/lib/python3.5/site-packages/requests/models.py", line 940, in raise_for_status\n raise HTTPError(http_error_msg, response=self)\nrequests.exceptions.HTTPError: 404 Client Error: Not Found for url: http+docker://localhost/v1.35/containers/create?name=xserver-UVALFHP74PWF2NZN5IY3QL4A\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/app/shepherd/shepherd.py", line 190, in start_flock\n auto_remove=auto_remove)\n File "/app/shepherd/shepherd.py", line 359, in run_container\n volumes=volumes\n File "/usr/local/lib/python3.5/site-packages/docker/api/container.py", line 430, in create_container\n return self.create_container_from_config(config, name)\n File "/usr/local/lib/python3.5/site-packages/docker/api/container.py", line 441, in create_container_from_config\n return self._result(res, True)\n File "/usr/local/lib/python3.5/site-packages/docker/api/client.py", line 267, in _result\n self._raise_for_status(response)\n File "/usr/local/lib/python3.5/site-packages/docker/api/client.py", line 263, in _raise_for_status\n raise create_api_error_from_http_exception(e)\n File "/usr/local/lib/python3.5/site-packages/docker/errors.py", line 31, in create_api_error_from_http_exception\n raise cls(e, response=response, explanation=explanation)\ndocker.errors.ImageNotFound: 404 Client Error: Not Found ("No such image: oldwebtoday/remote-desktop-server:latest")\n", "error": "start_error"}

image

@Devhercule
Copy link

you should do this before docker-compose up -d :

docker pull oldwebtoday/remote-desktop-server:latest

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

2 participants