REST API Not Connecting issue

Hi everybody,

I have a question. I have 2 wowza software. What could be the reason why REST API works on one and not the other? When connecting my streaming files it also gives an error that the stream file is not found.

Not Working REST API Server Features
Wowza Streaming Engine Version
4.8.12+1 (build 20210419174623)
Wowza Streaming Engine Manager Version
4.8.12+1 (build 20210419174623)

Working REST API Server Features
Wowza Streaming Engine Version
4.8.0 (build 20200213142111)
Wowza Streaming Engine Manager Version
4.8.0 (build 20200213142111)

Request:

curl -X GET \
 --digest -u "user:passwd"  \
-H "Accept:application/json; charset=utf-8" \
-H "Content-Type:application/json; charset=utf-8" \
http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/live/streamfiles

Response:

{"message":"The server has not found anything matching the request URI","success":false,"wowzaServer":"4.8.12+1","code":"404"}
1 Like

Did you get this resolved? It probably had to do with some of the breaking changes that were introduced in between 4.8.0 and 4.8.12. Some of them did involve REST API user authentication changes that were fixed in 4.8.8-01

https://www.wowza.com/docs/wowza-streaming-engine-4-8-8-01-release-notes#breaking

The problem was due to the absence of the application in the live name.
Thank you for your help.