Flash Media Server admin API connection reset -


i'm trying server stats off fms admin api this:

http://example.com:1111/admin/getiostats?auser=xxx&apswd=yyy

i have api commands enabled in users.xml config.

when use bad user name or password, xml error response, expected.

when use correct user name or password, "connection reset" error ("the connection server reset while page loading.")

my security group on ec2 should correct, because url works fine on dev fms box in same security group.

i looked @ apache logs , fms logs , don't see trace of admin requests, must looking in wrong place.

so, 3 questions:

  1. what's serving admin api on :1111? apache?
  2. where admin api access , error logs?
  3. what's causing connection reset errors?

for reference in case people run same problem: connection reset errors because need enable api access on http in 3 different places.

if conf/fms.ini file default, sure include this:

    users.httpcommand_allow = true  

then in in conf/users.xml, include this:

    <adminserver>         <httpcommands>             <enable>${users.httpcommand_allow}</enable>             <allow>ping,getxxxstats</allow>             <order>allow,deny</order>         </httpcommands>     </adminserver> 

in summary:

  • turn http api access on or off users.httpcomment_allow = true in fms.ini
  • make sure <enable> section in users.xml includes value
  • list api calls allow in <allow>

if <enable> section not set true, you'll connection reset error (instead of more sensible 500 or 403).


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -