Did you read the guide?
Yes
What is the base version number of Motion being used?
4.5.x
What was the install method?
Installed via package tool
What is base architecture?
x86
What is the distro being used?
Other
Disto version number
Alpine Edge (docker)
Camera type(s) being used?
Network camera with RTSP
Describe the issue/problem and steps to reproduce
Hello.
When I'm trying to get JSON object with information about all cameras I'm getting "Empty reply from server":
# curl -v localhost:8081/status.json
* Trying 127.0.0.1:8081...
* Connected to localhost (127.0.0.1) port 8081 (#0)
> GET /status.json HTTP/1.1
> Host: localhost:8081
> User-Agent: curl/7.86.0
> Accept: */*
>
* Empty reply from server
* Closing connection 0
curl: (52) Empty reply from server
The same response when I'm trying to get JSON object with IDs and names of all cameras (/cameras.json).
Urls look correct according to documentation, so I don't really understand why it doesn't work.
{IP}:{port0}/cameras.json JSON object with IDs and names of all cameras
{IP}:{port0}/status.json JSON object with information about all cameras
Relevant Motion log output (at log_level 8)
[0:cn0] [DBG] [STR] webu_parseurl: Sent url: /status.json
[0:cn0] [DBG] [STR] webu_parseurl: Decoded url: /status.json
[0:cn0] [DBG] [STR] webu_parseurl: camid: >status.json< cmd1: >< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
[0:st0] [DBG] [STR] webu_answer_strm: Stream picture is not ready yet
[0:cn0] [DBG] [STR] webu_parseurl: Sent url: /cameras.json
[0:cn0] [DBG] [STR] webu_parseurl: Decoded url: /cameras.json
[0:cn0] [DBG] [STR] webu_parseurl: camid: >cameras.json< cmd1: >< cmd2: >< parm1:>< val1:>< parm2:>< val2:><
[0:st0] [DBG] [STR] webu_answer_strm: Stream picture is not ready yet
Did you read the guide?
Yes
What is the base version number of Motion being used?
4.5.x
What was the install method?
Installed via package tool
What is base architecture?
x86
What is the distro being used?
Other
Disto version number
Alpine Edge (docker)
Camera type(s) being used?
Network camera with RTSP
Describe the issue/problem and steps to reproduce
Hello.
When I'm trying to get JSON object with information about all cameras I'm getting "
Empty reply from server":The same response when I'm trying to get JSON object with IDs and names of all cameras (
/cameras.json).Urls look correct according to documentation, so I don't really understand why it doesn't work.
{IP}:{port0}/cameras.json JSON object with IDs and names of all cameras
{IP}:{port0}/status.json JSON object with information about all cameras
Relevant Motion log output (at log_level 8)