Отладка cron

← Параметры запуска

Реальный запуск с записью в БД

Параметры запуска /run.php
{
    "job": "prices",
    "limit": 100,
    "seconds": 50,
    "nmid": null,
    "newCode": 36816,
    "dryRun": false,
    "seller": "all"
}
SQL · charset
SET NAMES utf8mb4
SQL
SET sql_mode = ''
SQL · запрос и параметры по порядку
{
    "sql": "SELECT id,json_settings,rrc_control_type FROM brands WHERE mode=1 AND old=0 AND (json_settings<>'' OR rrc_control_type>=2)",
    "parameters": []
}
SQL · запрос и параметры по порядку
{
    "sql": "SELECT mdp.*,mp.mkp_account_id,mp.marketing_seller_price FROM mkp_dealer_price mdp LEFT JOIN mkp_product mp ON (mp.mkp_place_id=? AND mp.product_id=mdp.product_id) WHERE mdp.mkp_place_id=? AND mdp.product_id>0 AND mdp.newCode=? ORDER BY mdp.lastCheckItem LIMIT ?",
    "parameters": [
        15,
        15,
        36816,
        100
    ]
}
cURL · запрос
{
    "url": "https://card.wb.ru/cards/v4/detail?spp=30&dest=-1257786&nm=83385822;14231660;6909125;23391229;24832162;25801673;51366834;75480582;77462168;119048288;118199488;155188364;220816364;261097483;321599931;406060739;440853701;445907032;786374779;904776049",
    "method": "GET",
    "proxy": "95.216.8.215:43642",
    "headers": [
        "Accept: application/json",
        "Accept-Language: ru-RU,ru;q=0.9"
    ],
    "body": null,
    "timeout": 2
}
cURL · соединение
{
    "http_code": 403,
    "curl_code": 0,
    "error": "",
    "info": {
        "url": "https://card.wb.ru/cards/v4/detail?spp=30&dest=-1257786&nm=83385822;14231660;6909125;23391229;24832162;25801673;51366834;75480582;77462168;119048288;118199488;155188364;220816364;261097483;321599931;406060739;440853701;445907032;786374779;904776049",
        "content_type": "text/plain",
        "http_code": 403,
        "header_size": 732,
        "request_size": 447,
        "filetime": -1,
        "ssl_verify_result": 0,
        "redirect_count": 0,
        "total_time": 0.262742,
        "namelookup_time": 0.000139,
        "connect_time": 0.045181,
        "pretransfer_time": 0.20104,
        "size_upload": 0,
        "size_download": 0,
        "speed_download": 0,
        "speed_upload": 0,
        "download_content_length": 0,
        "upload_content_length": 0,
        "starttransfer_time": 0.262598,
        "redirect_time": 0,
        "redirect_url": "",
        "primary_ip": "95.216.8.215",
        "certinfo": [],
        "primary_port": 43642,
        "local_ip": "81.177.142.47",
        "local_port": 37672,
        "http_version": 3,
        "protocol": 2,
        "ssl_verifyresult": 0,
        "scheme": "HTTPS",
        "appconnect_time_us": 200832,
        "connect_time_us": 45181,
        "namelookup_time_us": 139,
        "pretransfer_time_us": 201040,
        "redirect_time_us": 0,
        "starttransfer_time_us": 262598,
        "total_time_us": 262742,
        "effective_method": "GET",
        "capath": "/etc/ssl/certs",
        "cainfo": "/etc/ssl/certs/ca-certificates.crt",
        "conn_id": 0
    }
}
cURL · ответ
cURL · трассировка и заголовки
*   Trying 95.216.8.215:43642...
* Connected to 95.216.8.215 (95.216.8.215) port 43642
* CONNECT tunnel: HTTP/1.1 negotiated
* allocate connect buffer
* Proxy auth using Basic with user 'ozonuser'
* Establish HTTP proxy tunnel to card.wb.ru:443
> CONNECT card.wb.ru:443 HTTP/1.1
Host: card.wb.ru:443
Proxy-Authorization: [REDACTED]
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
Proxy-Connection: Keep-Alive

< HTTP/1.1 200 Connection established
< 
* CONNECT phase completed
* CONNECT tunnel established, response 200
* ALPN: curl offers h2,http/1.1
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / X25519 / id-ecPublicKey
* ALPN: server accepted h2
* Server certificate:
*  subject: CN=*.wb.ru
*  start date: Sep  8 13:07:51 2026 GMT
*  expire date: Dec  7 13:07:50 2026 GMT
*  subjectAltName: host "card.wb.ru" matched cert's "*.wb.ru"
*  issuer: C=US; O=Let's Encrypt; CN=YE2
*  SSL certificate verify ok.
*   Certificate level 0: Public key type EC/prime256v1 (256/128 Bits/secBits), signed using ecdsa-with-SHA384
*   Certificate level 1: Public key type EC/secp384r1 (384/192 Bits/secBits), signed using ecdsa-with-SHA384
*   Certificate level 2: Public key type EC/secp384r1 (384/192 Bits/secBits), signed using ecdsa-with-SHA384
*   Certificate level 3: Public key type EC/secp384r1 (384/192 Bits/secBits), signed using ecdsa-with-SHA384
* using HTTP/2
* [HTTP/2] [1] OPENED stream for https://card.wb.ru/cards/v4/detail?spp=30&dest=-1257786&nm=83385822;14231660;6909125;23391229;24832162;25801673;51366834;75480582;77462168;119048288;118199488;155188364;220816364;261097483;321599931;406060739;440853701;445907032;786374779;904776049
* [HTTP/2] [1] [:method: GET]
* [HTTP/2] [1] [:scheme: https]
* [HTTP/2] [1] [:authority: card.wb.ru]
* [HTTP/2] [1] [:path: /cards/v4/detail?spp=30&dest=-1257786&nm=83385822;14231660;6909125;23391229;24832162;25801673;51366834;75480582;77462168;119048288;118199488;155188364;220816364;261097483;321599931;406060739;440853701;445907032;786374779;904776049]
* [HTTP/2] [1] [user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36]
* [HTTP/2] [1] [accept: application/json]
* [HTTP/2] [1] [accept-language: ru-RU,ru;q=0.9]
> GET /cards/v4/detail?spp=30&dest=-1257786&nm=83385822;14231660;6909125;23391229;24832162;25801673;51366834;75480582;77462168;119048288;118199488;155188364;220816364;261097483;321599931;406060739;440853701;445907032;786374779;904776049 HTTP/2
Host: card.wb.ru
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
Accept: application/json
Accept-Language: ru-RU,ru;q=0.9

* old SSL session ID is stale, removing
< HTTP/2 403 
< date: Mon, 05 Oct 2026 04:00:21 GMT
< content-type: text/plain
< status-no-id: PG-41-XC
< server: wbaas
< x-request-id: c280535949c98fadfe4f849707c4ac8f
< report-to: { "group": "nel", "max_age": 604800, "endpoints": [{"url": "https://nel.wb.ru/reports"}] }, { "group": "csp", "max_age": 604800, "endpoints": [{"url": "https://nel.wb.ru/csp"}] }
< nel: { "report_to": "nel", "max_age": 604800, "include_subdomains": false, "success_fraction": 0.0, "failure_fraction": 1.0 }
< strict-transport-security: max-age=31536000; preload; always
< x-content-type-options: nosniff
< x-frame-options: DENY always
< access-control-allow-methods: *
< access-control-allow-headers: *
< content-length: 0
< 
* Connection #0 to host 95.216.8.215 left intact
Итог
{
    "status": "error",
    "processed": 0,
    "errors": 20,
    "skipped": 0,
    "selected": 20,
    "dry_run": false,
    "job": "prices",
    "duration": 0.41
}