Page 1 of 1

API access error - Checking your browser before accessing xxx

Posted: Mon Jun 10, 2024 10:31 pm
by marisoft

Hi,

A site has been accessed a long time using the api.
Something is now changed on the server because we are getting this returned when retrieving a table:

<html>
	<body>
		<h1><span>Checking your browser before accessing</span> xxx.dk</h1>
		<script>
/**
 * [js-sha256]{@link https://github.com/emn178/js-sha256}
 *
 * @version 0.9.0
 * @author ...
 * @copyright ...
 * @license MIT
 */

and a lot more gibberish.

This behaviour is shown using v2023 and v2024.
What could cause this, and how to solve it?

tia
/Poul


Re: api access error

Posted: Tue Jun 11, 2024 8:23 am
by arbei

I cannot find any feature in PHPMaker using js-sha256. The author is that of chartjs-plugin-labels, but chartjs-plugin-labels does not use js-sha256. You may google the error message and find more info, it seems that it is related to Cloudflare.


Re: api access error

Posted: Sat Jun 15, 2024 12:29 am
by marisoft

FYI hosting support has now replied this:

I have now heard back from our Technical team and as per se, it looks like the domain was under proof of work, due to being DDOSed.
From 3rd-level technicians:
I have removed the domain from proof of work and the application is now working with 200 status and returns the JSON data.

So all is good now :-)