CRON via CURL -> Access denied

More
7 years 3 months ago #6039 by Jörg Stein
Hello together, if I indicate by ssh the specified curl address from vdata I will be denied access. I hold the error message {"result": "error", "error!":"ACCESS_DENIED"}

Can someone help me please?
Attachments:

Please Log in to join the conversation.

More
7 years 3 months ago #6040 by Daniel
Hello,
It's because it will only allow the Cron to run from the same server where your website does exist.

Thanks
Daniel

Please Log in to join the conversation.

More
7 years 2 months ago #6096 by Ken Lee
In case this problem still haunts you, here is my tip:

If your server is behind a firewall doing NAT, you may need to add an entry to your /etc/hosts file:
<My.Private.IP.Address> my.virtualhostname.com
e.g.
192.168.1.1 www.mydomain.com
It solved my problem.

Please Log in to join the conversation.

More
7 years 2 weeks ago #6305 by Jörg Stein
It run from the same server...

Please Log in to join the conversation.

Cron Job Starts