Send request end false cURL error 28: Connection timed out

This code I tested on ůocalhost

 $smartlockId = "18147113701";
        $data = array(
            'name' => 'PrimeGym',
            'type' => 13,
            'code' => 358879,
            'allowedFromDate' => '2025-12-01T16:00:00.000Z', //you have to set datetime
            'allowedUntilDate' => '2025-12-09T16:00:00.000Z', //you have to set datetime
            'allowedWeekDays' => 0
            );
        try {
        $response = $this->client->request('PUT', "https://api.nuki.io/smartlock/$smartlockId/auth", [
            'headers' => [
                'Authorization' => "Bearer $accessToken",
                'Content-Type'  => 'application/json',
            ],
            'json' => $data, // Guzzle automatically encodes JSON
        ]);

        // Output response
        echo "Response: " . $response->getBody();
        } catch (RequestException $e) {
            // Handle errors
            echo "Error: " . $e->getMessage();
            if ($e->hasResponse()) {
                echo " Response Body: " . $e->getResponse()->getBody();
            }
        }

and I dont have problem but on production server I have error cURL error 28: Connection timed out
My provider told me that they are dont bloking curl and problem not in his side.
But ask me to taste that nuki not bloked ipv4 adress
IPv4 adress: 46.28.106.230
Iask supp Ticket equest (570044) but thez cant help me and ask to write here
Can someome help pls

Same issues here, trying to get an answer for week already but no reply…

Wedos too i see…

true…

What do you get when you execute this in your terminal?

curl -w "Total: %{time_total}s\n" -I https://api.nuki.io/smartlock/

C:\xampp82\htdocs\o2new>curl -w ‘Total: %{time_total}s\n’ -I https://api.nuki.io/smartlock/
curl: (3) URL rejected: Bad hostname
'Total:HTTP/1.1 401 Unauthorized
Server: nginx
Date: Fri, 07 Feb 2025 18:52:18 GMT
Content-Type: text/html;charset=iso-8859-1
Content-Length: 334
Connection: keep-alive
Accept-Ranges: bytes
Vary: Accept-Charset, Accept-Encoding, Accept-Language, Accept
X-Content-Type-Options: nosniff
Referrer-Policy: strict-origin-when-cross-origin
Content-Security-Policy: frame-ancestors
X-Frame-Options: DENY
Cross-Origin-Opener-Policy: same-origin
Cache-Control: must-revalidate,no-cache,no-store

“Error 401 Unauthorized” is what should come back. Does not look like your requests are blocked by a firewall or server.

JUrgen thx for any help
My provider told me that they are dont bloking curl and problem not in his side.
But ask me to taste that nuki not bloked ipv4 adress
IPv4 adress: 46.28.106.230
Maybe my bad…
Itest my local to test your curl
curl -w “Total: %{time_total}s\n” -I https://api.nuki.io/smartlock/
On local i dont have problem, on server any question on api nuki end only timeout. Any easy question

Have you found any way, how to get over this? Both sides, wedos, and Nuki says that problem is not on their side. So i dont know how to proceed. Only solution is to change hosting company…

Hello we change webhostinbg. I go cesky hosting. They let us test aplication and have better contact by phone, what i prefer I mean that problem is wedos. we have more problem on that.