# Error connecting to AWX API, GuzzleClient: cURL error 35: OpenSSL SSL\_connect: SSL\_ERROR\_SYSCALL

**URL:** <https://forum.ansible.com/t/error-connecting-to-awx-api-guzzleclient-curl-error-35-openssl-ssl-connect-ssl-error-syscall/44264>\
**Category:** Get Help\
**Tags:** api, awx\
**Created:** [August 8, 2025, 7:33pm UTC](https://forum.ansible.com/t/error-connecting-to-awx-api-guzzleclient-curl-error-35-openssl-ssl-connect-ssl-error-syscall/44264 "2025-08-08T19:33:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gmaddock](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/gmaddock/32/9245_2.png) [@gmaddock](https://forum.ansible.com/u/gmaddock)\
**Post date:** [August 8, 2025, 7:33pm UTC](https://forum.ansible.com/t/error-connecting-to-awx-api-guzzleclient-curl-error-35-openssl-ssl-connect-ssl-error-syscall/44264/1 "2025-08-08T19:33:09Z")

</div>

I’m building an integration into a PHP app which currently connects to a legacy Ansible server, and will be migrating to connecting to an AWX API server. Both are using v2.

With the new integration, I try to connect to the API server using the SSL address, but I’m getting an error “cURL error 35: OpenSSL SSL\_connect: SSL\_ERROR\_SYSCALL in connection to awx.expedient.cloud:443”

If I visit the same API route in a browser, it works fine.

Is there a requirement on my app side? I tried to provide some options to Guzzle (basically a Curl wrapper), that woulddisable the SSL verification, but didn’t make any difference.

```  
$options = [

```
        RequestOptions::VERIFY => false, // Disable SSL verification

        RequestOptions::TIMEOUT => 30,

        RequestOptions::CONNECT_TIMEOUT => 10,

        'curl' => \[

            CURLOPT_SSL_VERIFYPEER => false,

            CURLOPT_SSL_VERIFYHOST => false,

            CURLOPT_SSLVERSION => CURL_SSLVERSION_TLSv1_2,

        \],

        RequestOptions::HEADERS => \[

            'Authorization' => 'Bearer ' . $this->config->getAccessToken(),

            'Content-Type' => 'application/json',

            'Accept' => 'application/json',

            'User-Agent' => 'Cadence-AWX-Client/1.0'

        \]

    \];

```

```
