elastic / elastic/apm-agent-php

[version 1.6.1] WordPress integration gives: error:0A000458:SSL routines::tlsv1 unrecognized name

Open
#812 2 comments 0 reactions 0 assignees View on GitHub
8.12-candidate agent-php bug PHP specific technology priority: high triaged
Dominant language
PHP
Stars
268
Forks
86
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
A blank project running on a machine IP and not through a hostname gives an error in the traces.

**To Reproduce**
Steps to reproduce the behavior:
Use the project as default nginx website on a hosts IP and not through a domain name.

**Error description**
error:0A000458:SSL routines::tlsv1 unrecognized name

Culprit: Elastic\Apm\Impl\AutoInstrument\PhpPartFacade::interceptedCallPostHook()

Full Trace
```
error:0A000458:SSL routines::tlsv1 unrecognized name
FILE NAME N/A in Elastic\Apm\Impl\AutoInstrument\PhpPartFacade::interceptedCallPostHook()
/home/forge/default/public/wp-includes/Requests/Transport/cURL.php in curl_exec() at line 164
/home/forge/default/public/wp-includes/class-requests.php in Requests_Transport_cURL->request() at line 381
/home/forge/default/public/wp-includes/class-wp-http.php in Requests::request() at line 394
/home/forge/default/public/wp-includes/http.php in WP_Http->request() at line 145
/home/forge/default/public/wp-includes/https-detection.php in wp_remote_request() at line 125
/home/forge/default/public/wp-includes/class-wp-hook.php in wp_update_https_detection_errors() at line 307
/home/forge/default/public/wp-includes/class-wp-hook.php in WP_Hook->apply_filters() at line 331
/home/forge/default/public/wp-includes/plugin.php in WP_Hook->do_action() at line 524
/home/forge/default/public/wp-cron.php in do_action_ref_array() at line 138
```

Triggered by:
POST /wp-cron.php

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.