Jump to content
  • 0

Issues with license activation, proxy settings?


Florian K
 Share

Question

Hello,

we are having some issues with some blocked connections, mainly the license activation.
The issue is that the server sits in our internal network and things like wget etc run over a proxy to reach the outside.

It seems like the AMS ignores that, frankly Im not that fluent in how the proxy is setup exactly.
The question is now if there are some settings were we can tell AMS to use the same proxy so it can communicate to the outside. 

I also know there is EMail support for paying customers but the account holder is current not available, so we cant write a ticket over his mail.
Link to comment
Share on other sites

  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

4 answers to this question

Recommended Posts

  • 0
Hi Florian K.,
We will try it on our side first and give feedback to you.



PS : Free or Paid one-on-one support and consultancy for your streaming project, please book at https://calendly.com/antmedia/
Regards,
Burak Kekec
On Fri, 24 Jul at 12:09 PM , Florian K. <mitsuma4@googlemail.com> wrote:
Hello,
we are having some issues with some blocked connections, mainly the license activation.
The issue is that the server sits in our internal network and things like wget etc run over a proxy to reach the outside.

It seems like the AMS ignores that, frankly Im not that fluent in how the proxy is setup exactly.
The question is now if there are some settings were we can tell AMS to use the same proxy so it can communicate to the outside. 

I also know there is EMail support for paying customers but the account holder is current not available, so we cant write a ticket over his mail.
--
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/0e59b893-b414-4bff-8ec7-7edc3a09ea2bn%40googlegroups.com.
14531:1264838
Link to comment
Share on other sites

  • 0

Thanks for the reply.

Maybe as some additional info, we tried quite a few thing but in the end got stuck.
After we finally found the global settings for java (net.properties) we set the proxy there but that did not help.
We cross checked with a tiny java (just some curl test) program to see if proxy settings work and what arguments would need to be added. 

So it didn't even matter what we tried to add to the start.sh, as even global settings are ignored by AMS, at least proxy settings.

We also tried some iptables rerouting through our proxy but since the activation is via https we just get an error from that.
"Unrecognized SSL message, plaintext connection?" Maybe our proxy doesn't route things correctly in that regard, but I think HTTPS in general just doesn't work with that.

 
And well, the actual error message that happens with the failed license activation is simply that it can not reach the activation server, timed out.
Fun fact, with that not being able to go out we also can not use the support form in the webinterface or the YT/FB/Twitter connections.
Link to comment
Share on other sites

  • 0
Hi Florian K.,

One of my friend s working on issue. I will write you when I get an answer from him.

PS : Free or Paid one-on-one support and consultancy for your streaming project, please book at https://calendly.com/antmedia/
Regards,
Burak Kekec
On Wed, 29 Jul at 9:22 PM , Florian K. <mitsuma4@googlemail.com> wrote:
Thanks for the reply.

Maybe as some additional info, we tried quite a few thing but in the end got stuck.
After we finally found the global settings for java (net.properties) we set the proxy there but that did not help.
We cross checked with a tiny java (just some curl test) program to see if proxy settings work and what arguments would need to be added. 
So it didn't even matter what we tried to add to the start.sh, as even global settings are ignored by AMS, at least proxy settings.

We also tried some iptables rerouting through our proxy but since the activation is via https we just get an error from that.
"Unrecognized SSL message, plaintext connection?" Maybe our proxy doesn't route things correctly in that regard, but I think HTTPS in general just doesn't work with that.
 
And well, the actual error message that happens with the failed license activation is simply that it can not reach the activation server, timed out.
Fun fact, with that not being able to go out we also can not use the support form in the webinterface or the YT/FB/Twitter connections.
--
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/a82125a1-02f1-4eac-97dc-803905400f55n%40googlegroups.com.
14531:1264838
Link to comment
Share on other sites

  • 0
Thanks for the reply.
Our network guy says its a regular Squid-Proxy. Lets call it "proxy-server".
It accepts http/https and ftp on port 3128 and depending on the requested protocol it goes out on 80, 443 or 21. Meaning the setting of https_proxy="http://proxy-server:3128" should work just fine with https connections and it does work for things like curl requests.
We never had any issues in regards to that.
AMS apparently ignores it and despite the set proxy it tries to go out over :443 directly to the activation url.

I hope that helps. Sorry for the minor delay, I have to ask a coworker about details who is responsible for some networking parts.

Best regards.

Link to comment
Share on other sites

 Share

×
×
  • Create New...