Jump to content
  • 0

Issue with launching ANT Media Server using AWS Market Place


Jaideep Dengre
 Share

Question

Hello All,

I am new to Ant media server.

I launched Ant media server from AWS market place,

The server is up and running on port 5080 on "HTTP"

Since I want my customers to use SSL and make this server sit behind ELB and Clould Front, I configure an ELB and Cloud Front ahead of this as origin.

The login page for the web application of Ant media server is visible but login is not working on SSL "HTTPS" however login works on HTTP

Is there anything else I need to do on ANT media server to make this work?

Jaydeep
Link to comment
Share on other sites

  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

2 answers to this question

Recommended Posts

  • 0
Hi Jaydeep,

We are investigating this problem.

Best regards,

On Wednesday, June 26, 2019 at 3:08:50 PM UTC+2, Jaideep Dengre wrote:
Hello All,

I am new to Ant media server.

I launched Ant media server from AWS market place,

The server is up and running on port 5080 on "HTTP"

Since I want my customers to use SSL and make this server sit behind ELB and Clould Front, I configure an ELB and Cloud Front ahead of this as origin.

The login page for the web application of Ant media server is visible but login is not working on SSL "HTTPS" however login works on HTTP

Is there anything else I need to do on ANT media server to make this work?

Jaydeep
Link to comment
Share on other sites

  • 0
Hi Jaydeep,

You need to change 
webapps/root/WEB-INF/web.xml content 
from:

<filter>
<filter-name>CorsFilter</filter-name>
<filter-class>org.apache.catalina.filters.CorsFilter</filter-class>
<init-param>
 <param-name>cors.allowed.origins</param-name>
</init-param>
<init-param>
 <param-name>cors.support.credentials</param-name>
 <param-value>true</param-value>
</init-param>
</filter>


to:

<filter>
<filter-name>CorsFilter</filter-name>
<filter-class>org.apache.catalina.filters.CorsFilter</filter-class>
<init-param>
 <param-name>cors.allowed.origins</param-name>
 <param-value>*</param-value>
</init-param>
</filter>

Or you can wait the next release. Another solution is to use http.

Best regards,

On Friday, June 28, 2019 at 1:35:33 PM UTC+2, Murat Aydin wrote:
Hi Jaydeep,

We are investigating this problem.

Best regards,

On Wednesday, June 26, 2019 at 3:08:50 PM UTC+2, Jaideep Dengre wrote:
Hello All,

I am new to Ant media server.

I launched Ant media server from AWS market place,

The server is up and running on port 5080 on "HTTP"

Since I want my customers to use SSL and make this server sit behind ELB and Clould Front, I configure an ELB and Cloud Front ahead of this as origin.

The login page for the web application of Ant media server is visible but login is not working on SSL "HTTPS" however login works on HTTP

Is there anything else I need to do on ANT media server to make this work?

Jaydeep
Link to comment
Share on other sites

 Share

×
×
  • Create New...