Skip to content

cURL error 28: Operation timed out after 30003 milliseconds with 0 bytes received #2

@DCStyle

Description

@DCStyle

I got this error even though I've set the .env value GROK_API_TIMEOUT to large number

[2025-03-24 09:59:46] local.ERROR: AI generation error {"model":"grok-2-1212","provider":"xai-grok","error":"cURL error 28: Operation timed out after 30003 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://api.x.ai/v1/chat/completions","trace":"#0 /xxx/xxx/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(205): GuzzleHttp\\Handler\\CurlFactory::createRejection(Object(GuzzleHttp\\Handler\\EasyHandle), Array)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions