Calling php on server and getting answer

Hello, I have an Arduino Uno and an ethernet-shield from dfrobot. Now I wolud like to make a program that calls a php-file on a server and get's it's response. I use the library ArduinoHttpClient. Meanwhile I can connect to the internet but when I make a GET I never get a response (StatusCode -3, timeout). Is it possible that my site is on https://... ? Part of my code:

#include <ArduinoHttpClient.h>
#include <SPI.h>
#include <Ethernet.h>
.........
char serverAddress[] = "www.mysite.ch"; // server address
int port = 443;
.........
.........
void loop()
{
    Serial.println("making GET request");
    client.get("arduino/funktionen.php?funktion=1");

    // read the status code and body of the response
    int statusCode = client.responseStatusCode();
    String response = client.responseBody();

    Serial.print("Status code: ");
    Serial.println(statusCode);
    Serial.print("Response: ");
    Serial.println(response);
    Serial.println("Wait five seconds");
    delay(5000);
}

Thanks for your help, Peter

What do you get if you hit that same site from a browser?

at the moment Just the echo of the actual date / time:

02.04.2022 - 17:23:33

Indeed, but was it http or https?

in the browser it was https://www.mysite.ch/arduino/funktionen.php?funktion=1)

Try http in the browser. I suspect though that it is https, so the Arduino will need to use that too.

It seems to be really the problem with https. I switched off https on the website-server and tried with port 80. Then I get the correct response. If I sitch on again https on the website-server I get (with port 80) the response "Document Moved". But how can I solve this problem without switching of https? Other library?

I would think that you could configure the web server to respond on 80 and 443. But if it insists on https, you can, as you suggest, use an Arduino library that supports an httpsClient.