stats page inaccessible in 5.2.2086

Hi,

-Version: 5.2-2086 (Amazon AWS)
-WebSDK: 2.0.248


I recently upgraded my flashphoner server and now realized that the stats page is inaccessible. The url was

http://<my ip>8081/?action=stat&params=streams_viewers&format=json

How can i turn it on again?
Additionally, how can i configure it in a way that it is only accessible via https and (if possible), that the flashphoner admin username and password are required for access?


Best,
Thomas
 

Max

Administrator
Staff member
Hello.
We raised the ticket WCS-4240 to fix the issue. You have the following options to workaround:
1. Downgrade to previous version where it worked until we fix it
2. Use a group request http://<my ip>8081/?action=stat&groups=streams_stats&format=json then parse JSON object to get streams_viewers parameter
3. Use other form: plain text http://<my ip>8081/?action=stat&params=streams_viewers or Prometheus http://<my ip>8081/?action=stat&params=streams_viewers&format=prometheus
Additionally, how can i configure it in a way that it is only accessible via https and (if possible), that the flashphoner admin username and password are required for access?
You can use nginx reverse proxy for authentication and security.
 
Last edited:

Max

Administrator
Staff member
Good day.
We fixed the issue with a single statistics parameter getting in JSON form in build 5.2.2090. Please update and check.
 
Top