Camera model
Original Raspberry Pi NOIR Camera Module V2
What is the problem?
I am not able to configure the webcam in the setup wizzard. Neither the stream nor the snapshot URL are working.
The error message:
Could not retrieve snapshot URL, please double check the URL
What did you already try to solve it?
I uninstalled Octopi and reinstalled it, but I always get the same error messages.
I've installed Octopi with this guide manually: Setting up OctoPrint on a Raspberry Pi running Raspbian or Raspberry Pi OS
Furthermore, I've various URLs, e.g.:
- IP:PORT/webcam/?action=snap
- IP:PORT/webcam/?action=snapshot
- IP:PORT/webcam/action=snap
- IP:PORT/webcam/action=snapshot
- IP:PORT/webcam/
- /webcam
- /webcam/action=snap
- ...
Logs (/var/log/webcamd.log
, syslog, dmesg, ... no logs, no support)
2021-12-26 16:48:52,975 - octoprint.server.api - ERROR - Error while running a test GET request on IP:PORT/webcam/?action=snap
Traceback (most recent call last):
File "/home/pi/OctoPrint/venv/lib/python3.9/site-packages/octoprint/server/api/__init__.py", line 634, in _test_url
with requests.request(
File "/home/pi/OctoPrint/venv/lib/python3.9/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/home/pi/OctoPrint/venv/lib/python3.9/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/home/pi/OctoPrint/venv/lib/python3.9/site-packages/requests/sessions.py", line 649, in send
adapter = self.get_adapter(url=request.url)
File "/home/pi/OctoPrint/venv/lib/python3.9/site-packages/requests/sessions.py", line 742, in get_adapter
raise InvalidSchema("No connection adapters were found for {!r}".format(url))
requests.exceptions.InvalidSchema: No connection adapters were found for 'IP:PORT/webcam/?action=snap'
Error with http://...
Traceback (most recent call last):
File "/home/pi/OctoPrint/venv/lib/python3.9/site-packages/octoprint/server/api/__init__.py", line 634, in _test_url
with requests.request(
File "/home/pi/OctoPrint/venv/lib/python3.9/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/home/pi/OctoPrint/venv/lib/python3.9/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/home/pi/OctoPrint/venv/lib/python3.9/site-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/home/pi/OctoPrint/venv/lib/python3.9/site-packages/requests/adapters.py", line 529, in send
raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPConnectionPool(host='IP', port=PORT): Read timed out. (read timeout=5.0)
Traceback (most recent call last):
File "/home/pi/OctoPrint/venv/lib/python3.9/site-packages/octoprint/server/api/__init__.py", line 634, in _test_url
with requests.request(
File "/home/pi/OctoPrint/venv/lib/python3.9/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/home/pi/OctoPrint/venv/lib/python3.9/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/home/pi/OctoPrint/venv/lib/python3.9/site-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/home/pi/OctoPrint/venv/lib/python3.9/site-packages/requests/adapters.py", line 529, in send
raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPConnectionPool(host='IP', port=PORT): Read timed out. (read timeout=5.0)
Additional information about your setup (OctoPrint version, OctoPi version, ...)
I've installed Octopi with the official guide for manual installation.
Thank you in advance for any help.