Starting API connection test...
Server time: 2025-05-23 06:18:35
PHP version: 8.1.20
cURL version: {"version_number":473600,"age":4,"features":4179869,"ssl_version_number":0,"version":"7.58.0","host":"x86_64-pc-linux-gnu","ssl_version":"OpenSSL\/1.1.1d","libz_version":"1.2.11","protocols":["dict","file","ftp","ftps","gopher","http","https","imap","imaps","ldap","ldaps","pop3","pop3s","rtmp","rtsp","smb","smbs","smtp","smtps","telnet","tftp"],"ares":"","ares_num":0,"libidn":"2.3.0","iconv_ver_num":0,"libssh_version":"","brotli_ver_num":0,"brotli_version":""}

Test 1: Basic cURL Test

cURL is installed.
Testing connection to Google...
Success! Response received in 0.07 seconds.
Response size: 54432 bytes

Test 2: Connection to OGL API

Testing connection to OGL API...
Success! Response received in 0.29 seconds.
HTTP Status Code: 200
Response size: 340 bytes
Valid JSON response received.
Response preview: { "data": [ { "type": "stock", "id": "PA307167", "attributes": { "stockavailable": 11, "lev": 11, "alloc": 0, "isswo": 0, "makeable": 0 } } ], "...

Test 3: Socket Connection Test

Testing socket connection to agrilinc-test.oglwebconnector.co.uk:443...
Success! Socket connection established in 0.14 seconds.

Test Complete

If you're seeing timeouts only with the OGL API but other tests pass, the issue is likely specific to that API connection.