{"result":"error", "error":"ACCESS_DENIED"}
- Ken Lee
- Offline
- New Member
-
- Posts: 17
1. Make sure you call curl "<URL>" only from the local server.
2. The hostname part in URL needs to be resolved to either 127.0.0.1 or an IP of a local interface. You may use your local hosts file to hard code this.
Hope this help.
Please Log in to join the conversation.
- Daniel
- Offline
- Administrator
-
Daniel wrote: Hello,
Cron Job URL can only be triggered from the Cron Job on the same server on which you have your Website. It can not be triggered by the Browser.
Thanks
Daniel
Please Log in to join the conversation.
- Miloš Lána
- Offline
- New Member
-
- Posts: 3
What do you need for information? I attach a generated CURL.
www.kcct.cz/index.php?option=com_vdata&t...t_export&type=datumy
Thanks
Please Log in to join the conversation.
- Daniel
- Offline
- Administrator
-
Thanks
Daniel
Please Log in to join the conversation.
- Miloš Lána
- Offline
- New Member
-
- Posts: 3
Please Log in to join the conversation.
- Daniel
- Offline
- Administrator
-
Thanks
Daniel
Please Log in to join the conversation.
- Roger Lightening
- Offline
- New Member
-
- Posts: 7
/usr/bin/php /usr/www/users/removed/index.php?option=com_vdata&task=set_import&type=removed
Please Log in to join the conversation.
- Daniel
- Offline
- Administrator
-
Cron Job URL can only be triggered from the Cron Job on the same server on which you have your Website. It can not be triggered by the Browser.
Thanks
Daniel
Please Log in to join the conversation.
- Roger Lightening
- Offline
- New Member
-
- Posts: 7
Ho can I correct the issue?
Please Log in to join the conversation.
- Daniel
- Offline
- Administrator
-
A reply has been sent to your Email ID, Please check...
Thanks
Daniel
Please Log in to join the conversation.
- Verulam Webmaster
-
Topic Author
- Offline
- New Member
-
- Posts: 12
I can't really share the credentials, we have youth member details in our database and we need to comply with UK & EU Privacy laws.
The Cron job call is as below, it runs as SQL query and puts the results into a CSV on the server.
Is there any way you can help without production access, or would you be willing to screen share?
Thanks,
Chris.
PS: I'm on West Coast time (UTC -7)
Please Log in to join the conversation.
- Daniel
- Offline
- Administrator
-
Please share your login credentials via Contact us form and also describe for what purpose you are using the Cron.
Thanks
Daniel
Please Log in to join the conversation.
- Verulam Webmaster
-
Topic Author
- Offline
- New Member
-
- Posts: 12
The Cron Execution is not logging actually, for some reason, for this I SSH'd into the server and ran the CURL from server context. This is how I initially set them up a few years back and it worked until the latest upgrade. (I jumped a lot of versions, actually a re-install)
Thanks,
Chris.
Please Log in to join the conversation.
- Daniel
- Offline
- Administrator
-
Thanks
Daniel
Please Log in to join the conversation.
- Verulam Webmaster
-
Topic Author
- Offline
- New Member
-
- Posts: 12
If I call using HTTPS I get : Unknown SSL protocol error in connection to www.<REMOVED>.org.uk:443
If I call using HTTP I get a 301 back, sending me to the HTTPS link.
Chris.
Please Log in to join the conversation.
- Daniel
- Offline
- Administrator
-
Please let me know what issues you are getting when running the script via the Cron Job on your server?
Thanks
Daniel
Please Log in to join the conversation.
- Verulam Webmaster
-
Topic Author
- Offline
- New Member
-
- Posts: 12
I can see a few issues like this in the forum, but can't see a fix I could try out. Getting this message when I hit the Cron/Feed from the browser of CURL form the same server.
{"result":"error", "error":"ACCESS_DENIED"}
This started happening after a vData upgrade this week. I have attached a screen shot if the SQL Query Export to File. The URL is then curled from a Cron job on the same server.
curl https://www.
Any advice appreciated,
Thanks,
Chris.