无法访问Wowza REST API

时间:2017-10-02 13:58:33

标签: amazon-ec2 wowza

我在EC2实例上运行Wowza Streaming Engine,除REST API / REST API文档外,一切正常。

当我向其他api或甚至文档发送请求时,我得不到任何回复。它超时了。

我遵循了guide

的Server.xml

<RESTInterface>

        <Enable>true</Enable>

        <IPAddress>*</IPAddress>

        <Port>8087</Port>

        <!-- none, basic, digest, remotehttp, digestfile -->

        <AuthenticationMethod>none</AuthenticationMethod>

        <DiagnosticURLEnable>true</DiagnosticURLEnable>

        <SSLConfig>

            <Enable>false</Enable>

            <KeyStorePath></KeyStorePath>

            <KeyStorePassword></KeyStorePassword>

            <KeyStoreType>JKS</KeyStoreType>

            <SSLProtocol>TLS</SSLProtocol>

            <Algorithm>SunX509</Algorithm>

            <CipherSuites></CipherSuites>

            <Protocols></Protocols>

        </SSLConfig>

        <IPWhiteList>*</IPWhiteList>

        <IPBlackList></IPBlackList>

        <EnableXMLFile>false</EnableXMLFile>

        <DocumentationServerEnable>true</DocumentationServerEnable>

        <DocumentationServerPort>8089</DocumentationServerPort>

        <!-- none, basic, digest, remotehttp, digestfile -->

        <DocumentationServerAuthenticationMethod>none</DocumentationServerAuthenticationMethod>

        <Properties>

        </Properties>

</RESTInterface>

1 个答案:

答案 0 :(得分:1)

我解决了问题 我的EC2实例有一个自动生成的Wowza安全组,但它不包括对端口8089或端口8087的访问权限,这是默认的Wowza REST API / API文档监听的内容。

我自己为两个端口添加了入站规则的规则。