Problem/Motivation

Sometimes, a GuzzleHttp\Exception\ConnectException can be thrown when submitting to search engines. Example:

cURL error 35: OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to api.indexnow.org:443  (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://api.indexnow.org/indexnow?url=<redacted>&key=<redacted>

Steps to reproduce

Hard to reproduce, depends on the state of api.indexnow.org. This has happened on a site of mine on a couple occasions during the past month:

  • Jul 27, 2022 16:20:54 CEST
  • Jul 22, 2022 18:18:17 CEST
  • Jul 22, 2022 16:06:50 CEST

Proposed resolution

Catch GuzzleHttp\Exception\TransferException instead.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

DieterHolvoet created an issue. See original summary.

dieterholvoet’s picture

Issue summary: View changes

dieterholvoet’s picture

Issue summary: View changes
dieterholvoet’s picture

Status: Active » Needs review

gbyte made their first commit to this issue’s fork.

  • gbyte committed 9fc4f70 on 4.x authored by DieterHolvoet
    Issue #3305136 by DieterHolvoet, gbyte: Catch ConnectException when...
gbyte’s picture

Status: Needs review » Fixed

Thanks.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.