Ibrahim Cisse Posted July 10, 2020 Share Posted July 10, 2020 ### Short description __Brief description of what happened__ I am new and trying to use API call ### Environment * Operating system and version: Ubuntu 19 * Java version: * Ant Media Server version: Community edition * Browser name and version: Chrome ### Steps to reproduce 1. open postman 2. create 2 keys headers name: USERNAME and password: PASSWORD 3. and use this url : https://DOMAIN.COM:5443/LiveApp/rest/v2/broadcasts/active-live-stream-count ### Expected behavior __Put as much detail here as possible__ I should get a list on the running broadcast ### Actual behavior __Put as much detail here as possible__ I get HTTP Status 403 – Forbidden ### Logs __Place logs on [pastebin](http://pastebin.com/) or elsewhere and put links here__ Link to comment Share on other sites More sharing options...
0 mekya Posted July 12, 2020 Share Posted July 12, 2020 Hi Ibrahim,REST methods are protected via IP Filter by default. In order to arrange that, please take a look at the REST Guide https://github.com/ant-media/Ant-Media-Server/wiki/REST-Guide#security--ip-filtering You can add 0.0.0.0/0 during your development cycle. Regards, A. Oguz Link to comment Share on other sites More sharing options...
0 Ant Media Posted July 12, 2020 Share Posted July 12, 2020 You need to add ip to the resp api ip filter to accept request other than 127.0.0.1 See the screenshot below: Best regards, Enes Kuluk On Sat, 11 Jul at 1:05 AM , Ibrahim cisse <iscisse@gmail.com> wrote: ### Short description __Brief description of what happened__ I am new and trying to use API call ### Environment * Operating system and version: Ubuntu 19 * Java version: * Ant Media Server version: Community edition * Browser name and version: Chrome ### Steps to reproduce 1. open postman 2. create 2 keys headers name: USERNAME and password: PASSWORD 3. and use this url : https://DOMAIN.COM:5443/LiveApp/rest/v2/broadcasts/active-live-stream-count ### Expected behavior __Put as much detail here as possible__ I should get a list on the running broadcast ### Actual behavior __Put as much detail here as possible__ I get HTTP Status 403 – Forbidden ### Logs __Place logs on [pastebin](http://pastebin.com/) or elsewhere and put links here__ -- You received this message because you are subscribed to the Google Groups "Ant Media Server" group.To unsubscribe from this group and stop receiving emails from it, send an email to ant-media-server+unsubscribe@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/ant-media-server/4e233876-6ee8-4d98-bb5c-6e71a6ce0a36o%40googlegroups.com. 12518:1264838 Link to comment Share on other sites More sharing options...
0 Ant Media Posted July 15, 2020 Share Posted July 15, 2020 Hi Ibrahim cisse,Is your problem is resolved? Could you provide an update? Best Regards, Enes Kuluk. PS : Free or Paid one-on-one support and consultancy for your streaming project, please book at https://calendly.com/antmedia/ On Sun, 12 Jul at 2:43 PM , Ant Media <support@antmedia.freshdesk.com> wrote: You need to add ip to the resp api ip filter to accept request other than 127.0.0.1 See the screenshot below: Best regards, Enes Kuluk On Sat, 11 Jul at 1:05 AM , Ibrahim cisse <iscisse@gmail.com> wrote: ### Short description __Brief description of what happened__ I am new and trying to use API call ### Environment * Operating system and version: Ubuntu 19 * Java version: * Ant Media Server version: Community edition * Browser name and version: Chrome ### Steps to reproduce 1. open postman 2. create 2 keys headers name: USERNAME and password: PASSWORD 3. and use this url : https://DOMAIN.COM:5443/LiveApp/rest/v2/broadcasts/active-live-stream-count ### Expected behavior __Put as much detail here as possible__ I should get a list on the running broadcast ### Actual behavior __Put as much detail here as possible__ I get HTTP Status 403 – Forbidden ### Logs __Place logs on [pastebin](http://pastebin.com/) or elsewhere and put links here__ -- You received this message because you are subscribed to the Google Groups "Ant Media Server" group.To unsubscribe from this group and stop receiving emails from it, send an email to ant-media-server+unsubscribe@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/ant-media-server/4e233876-6ee8-4d98-bb5c-6e71a6ce0a36o%40googlegroups.com. 12518:1264838 Link to comment Share on other sites More sharing options...
0 Ibrahim Cisse Posted July 20, 2020 Author Share Posted July 20, 2020 Hello My issue has been resolved. thank you.On Friday, July 10, 2020 at 6:05:27 PM UTC-4, Ibrahim cisse wrote: ### Short description __Brief description of what happened__ I am new and trying to use API call ### Environment * Operating system and version: Ubuntu 19 * Java version: * Ant Media Server version: Community edition * Browser name and version: Chrome ### Steps to reproduce 1. open postman 2. create 2 keys headers name: USERNAME and password: PASSWORD 3. and use this url : https://DOMAIN.COM:5443/LiveApp/rest/v2/broadcasts/active-live-stream-count ### Expected behavior __Put as much detail here as possible__ I should get a list on the running broadcast ### Actual behavior __Put as much detail here as possible__ I get HTTP Status 403 – Forbidden ### Logs __Place logs on [pastebin](http://pastebin.com/) or elsewhere and put links here__ Link to comment Share on other sites More sharing options...
Question
Ibrahim Cisse
Link to comment
Share on other sites
Top Posters For This Question
2
2
1
Popular Days
Jul 12
2
Jul 10
1
Jul 15
1
Jul 20
1
Top Posters For This Question
Ibrahim Cisse 2 posts
Ant Media 2 posts
mekya 1 post
Popular Days
Jul 12 2020
2 posts
Jul 10 2020
1 post
Jul 15 2020
1 post
Jul 20 2020
1 post
4 answers to this question
Recommended Posts