REST-API-Antwort: (http_request_failed) cURL error 7: Failed to connect to …
-
Ich bin absoluter Neuling, zumindest, was WordPress betrifft, und benötige eure Unterstützung. Vorab, zur besseren Einordnung, meine Installtionsumgebung:
- SubDomain raunet.gernot-rau.de ist per A Record an meine feste IP weitergeleitet.
- Mein Router ist so konfiguriert, dass Port 80 und 443 Anfragen an meinen Nginx Proxy Manager – Server (192.168.1.3) weitergeleitet werden.
- Der Nginx Proxy Manager ist wie folgt konfiguriert:
{
"id": 1,
"created_on": "2023-01-17 10:37:55",
"modified_on": "2023-02-01 08:01:08",
"owner_user_id": 1,
"domain_names": [
"raunet.gernot-rau.de"
],
"forward_host": "10.100.1.22",
"forward_port": 80,
"access_list_id": 0,
"certificate_id": 3,
"ssl_forced": true,
"caching_enabled": true,
"block_exploits": true,
"advanced_config": "",
"meta": {
"letsencrypt_agree": false,
"dns_challenge": false
},
"allow_websocket_upgrade": true,
"http2_support": true,
"forward_scheme": "http",
"enabled": 1,
"locations": [],
"hsts_enabled": true,
"hsts_subdomains": true
}- Die WordPress WebSite läuft in einem Proxmox Container auf Ubuntu 22.04 Server (nginx, MariaDB, PHP8) ohne SSL auf Port 80 und funktioniert soweit auch (raunet) ….
Aber, der Health-Check weist 2 „critical“ Fehler aus, deren Auswirkung(en) ich nicht abschätzen kann:
Hier meine wp-config.php (Schlüssel, Passworte geändert):
raunet:/usr/share/nginx/raunet.gernot-rau.de# cat wp-config.php
<?php
/**
* The base configuration for WordPress
*
* The wp-config.php creation script uses this file during the installation.
* You don't have to use the web site, you can copy this file to "wp-config.php"
* and fill in the values.
*
* This file contains the following configurations:
*
* * Database settings
* * Secret keys
* * Database table prefix
* * ABSPATH
*
* @link https://wordpress.org/support/article/editing-wp-config-php/
*
* @package WordPress
*/
/** nginx wordpress behind nginx proxy manager mit ssl see also end of this file*/
define('FORCE_SSL_ADMIN', true);
if ($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https')
$_SERVER['HTTPS']='on';
// ** Database settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define( 'DB_NAME', 'wp' );
/** Database username */
define( 'DB_USER', 'wp' );
/** Database password */
define( 'DB_PASSWORD', '1234567' );
/** Database hostname */
define( 'DB_HOST', 'localhost' );
/** Database charset to use in creating database tables. */
define( 'DB_CHARSET', 'utf8' );
/** The database collate type. Don't change this if in doubt. */
define( 'DB_COLLATE', '' );
/**#@+
* Authentication unique keys and salts.
*
* Change these to different unique phrases! You can generate these using
* the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}.
*
* You can change these at any point in time to invalidate all existing cookies.
* This will force all users to have to log in again.
*
* @since 2.6.0
define('AUTH_KEY', 'IFhiL@E]TE]6d-uPY>Q/2paB~ltL/-?]mZ]f|P0n-nU|6+7T<zzB,A_g5<;t+Nwe');
define('SECURE_AUTH_KEY', '9U(|ws.>5v{oK7|sJ1jTO-6Qf!wjm|tUVFnnv7YxjDz?0w~!C^+Q^+6mqFCM{aaO');
define('LOGGED_IN_KEY', '8LK&L2@Zq>jqir<n+g&5$LTH=$^eO2-_(Bydj@G+1xP(0-]xm:@.1AS]1K^$sU|e');
define('NONCE_KEY', '<:VR!LO8j2aDcX|2IXoIjJU>SbW-zE{l/#|YRD{2X|-J.Oe>or%Wg!pB!.+kQ1-O');
define('AUTH_SALT', '+1?l;+I+U4Pi~<6_f3fGvq9tZ4e,WRT<?d$|&]D+/ER$U *;P]l2mg%4@h}K?tl');<br>define('SECURE_AUTH_SALT', '87Mk{d(nWnJdG1SsEDQAqij4qiZK.7u pT d?(otRM3pL=lstV;tl-zd:r!bt3Zy');<br>define('LOGGED_IN_SALT', '$:hGn8F0|
I7etZ/=v-N;$WdaaY|p%-Y!Nnm}%!^Ll{P-?k^rJ5Zk%F16/gkk/|c');
define('NONCE_SALT', '|a|PVgO(=8oKZ;+V(<(TK~fi61|&+o9G$ %Rtf.m`y<_symxv5e5SNx4nGb85yaI');
/**#@-*/
/**
* WordPress database table prefix.
*
* You can have multiple installations in one database if you give each
* a unique prefix. Only numbers, letters, and underscores please!
*/
$table_prefix = 'wp_';
/**
* For developers: WordPress debugging mode.
*
* Change this to true to enable the display of notices during development.
* It is strongly recommended that plugin and theme developers use WP_DEBUG
* in their development environments.
*
* For information on other constants that can be used for debugging,
* visit the documentation.
*
* @link https://wordpress.org/support/article/debugging-in-wordpress/
*/
define( 'WP_DEBUG', false );
/* Add any custom values between this line and the "stop editing" line. */
define('ALTERNATE_WP_CRON' , true );
/** Absolute path to the WordPress directory. */
if ( ! defined( 'ABSPATH' ) ) {
define( 'ABSPATH', __DIR__ . '/' );
}
/** Sets up WordPress vars and included files. */
require_once ABSPATH . 'wp-settings.php';
/** nginx wordpress behind nginx proxy manager mit ssl */
define('WP_HOME','https://raunet.gernot-rau.de');
define('WP_SITEURL','https://raunet.gernot-rau.de');
if($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https'){
$_SERVER['HTTPS'] = 'on';
$_SERVER['SERVER_PORT'] = 443;
}
/* That's all, stop editing! Happy publishing. */Hier meine nginx conf:
raunet:/etc/nginx/conf.d# cat raunet.gernot-rau.de.conf server { listen 80; server_name www.raunet.gernot-rau.de raunet.gernot-rau.de; root /usr/share/nginx/raunet.gernot-rau.de/; index index.php index.html index.htm index.nginx-debian.html; error_log /var/log/nginx/wordpress.error; access_log /var/log/nginx/wordpress.access; location / { try_files $uri $uri/ /index.php; } location ~ ^/wp-json/ { rewrite ^/wp-json/(.*?)$ /?rest_route=/$1 last; } location ~* /wp-sitemap.*\.xml { try_files $uri $uri/ /index.php$is_args$args; } error_page 404 /404.html; error_page 500 502 503 504 /50x.html; client_max_body_size 20M; location = /50x.html { root /usr/share/nginx/html; } location ~ \.php$ { fastcgi_pass unix:/run/php/php8.1-fpm.sock; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; include snippets/fastcgi-php.conf; } #enable gzip compression gzip on; gzip_vary on; gzip_min_length 1000; gzip_comp_level 5; gzip_types application/json text/css application/x-javascript application/javascript image/svg+xml; gzip_proxied any; # A long browser cache lifetime can speed up repeat visits to your page location ~* \.(jpg|jpeg|gif|png|webp|svg|woff|woff2|ttf|css|js|ico|xml)$ { access_log off; log_not_found off; expires 360d; } # disable access to hidden files location ~ /\.ht { access_log off; log_not_found off; deny all; } }
und der gewünschte Bericht:
### wp-core ### version: 6.1.1 site_language: de_DE user_language: de_DE timezone: Europe/Berlin permalink: /%year%/%monthnum%/%postname%/ https_status: true multisite: false user_registration: 0 blog_public: 1 default_comment_status: open environment_type: production user_count: 1 dotorg_communication: true ### wp-paths-sizes ### wordpress_path: /usr/share/nginx/raunet.gernot-rau.de wordpress_size: 296,42 MB (310822624 bytes) uploads_path: /usr/share/nginx/raunet.gernot-rau.de/wp-content/uploads uploads_size: 41,62 MB (43640877 bytes) themes_path: /usr/share/nginx/raunet.gernot-rau.de/wp-content/themes themes_size: 1,86 MB (1954404 bytes) plugins_path: /usr/share/nginx/raunet.gernot-rau.de/wp-content/plugins plugins_size: 165,17 MB (173196685 bytes) database_size: 33,42 MB (35045376 bytes) total_size: 538,50 MB (564659966 bytes) ### wp-active-theme ### name: Twenty Seventeen (twentyseventeen) version: 3.1 author: WordPress-Team author_website: https://de.wordpress.org/ parent_theme: none theme_features: core-block-patterns, widgets-block-editor, automatic-feed-links, title-tag, custom-line-height, post-thumbnails, menus, html5, post-formats, custom-logo, customize-selective-refresh-widgets, editor-style, editor-styles, wp-block-styles, responsive-embeds, starter-content, custom-header, widgets theme_path: /usr/share/nginx/raunet.gernot-rau.de/wp-content/themes/twentyseventeen auto_update: Deaktiviert ### wp-mu-plugins (1) ### Health Check Troubleshooting Mode: author: (undefined), version: 1.8.1 ### wp-plugins-active (20) ### Akismet Anti-Spam: version: 5.0.2, author: Automattic, Automatische Aktualisierungen deaktiviert Autoptimize: version: 3.1.5, author: Frank Goossens (futtta), Automatische Aktualisierungen deaktiviert Classic Editor: version: 1.6.2, author: WordPress Contributors, Automatische Aktualisierungen deaktiviert Classic Widgets: version: 0.3, author: WordPress Contributors, Automatische Aktualisierungen deaktiviert Cryout Serious Slider: version: 1.2.4, author: Cryout Creations, Automatische Aktualisierungen deaktiviert Gutenberg: version: 15.0.1, author: Gutenberg Team, Automatische Aktualisierungen deaktiviert Health Check & Troubleshooting: version: 1.5.1, author: The WordPress.org community, Automatische Aktualisierungen deaktiviert Native PHP Sessions for WordPress: version: 1.3.3, author: Pantheon, Automatische Aktualisierungen deaktiviert Regenerate Thumbnails: version: 3.1.5, author: Alex Mills (Viper007Bond), Automatische Aktualisierungen deaktiviert The Events Calendar: version: 6.0.8, author: The Events Calendar, Automatische Aktualisierungen deaktiviert The Events Calendar Extension: Block Patterns: version: 1.0.0, author: Modern Tribe, Inc., Automatische Aktualisierungen deaktiviert The Events Calendar Extension: Day Strip: version: 1.0.1, author: The Events Calendar, Automatische Aktualisierungen deaktiviert The Events Calendar Extension: Link Venues to Website URLs: version: 1.0.0, author: Modern Tribe, Inc., Automatische Aktualisierungen deaktiviert The Events Calendar Shortcode & Block: version: 2.5.6, author: Event Calendar Newsletter, Automatische Aktualisierungen deaktiviert UpdraftPlus - Backup/Restore: version: 1.22.24, author: UpdraftPlus.Com, DavidAnderson, Automatische Aktualisierungen deaktiviert WP-Optimize - Clean, Compress, Cache: version: 3.2.10, author: David Anderson, Ruhani Rabin, Team Updraft, Automatische Aktualisierungen deaktiviert WP DSGVO Tools (GDPR): version: 3.1.31, author: legalweb, Automatische Aktualisierungen deaktiviert WPForms Lite: version: 1.7.9.1, author: WPForms, Automatische Aktualisierungen deaktiviert WP Mail SMTP: version: 3.7.0, author: WPForms, Automatische Aktualisierungen deaktiviert WP Statistics: version: 13.2.15, author: VeronaLabs, Automatische Aktualisierungen deaktiviert ### wp-plugins-inactive (2) ### Hello Dolly: version: 1.7.2, author: Matt Mullenweg, Automatische Aktualisierungen deaktiviert WP Fastest Cache: version: 1.1.0, author: Emre Vona, Automatische Aktualisierungen deaktiviert ### wp-media ### image_editor: WP_Image_Editor_Imagick imagick_module_version: 1691 imagemagick_version: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org imagick_version: 3.6.0 file_uploads: File uploads is turned off post_max_size: 20M upload_max_filesize: 20M max_effective_size: 20 MB max_file_uploads: 20 imagick_limits: imagick::RESOURCETYPE_AREA: 122 MB imagick::RESOURCETYPE_DISK: 1073741824 imagick::RESOURCETYPE_FILE: 768 imagick::RESOURCETYPE_MAP: 512 MB imagick::RESOURCETYPE_MEMORY: 256 MB imagick::RESOURCETYPE_THREAD: 1 imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, AVI, AVIF, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DNG, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, H, HALD, HDR, HEIC, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPG, MRW, MSL, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIDEO, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMV, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV gd_version: 2.3.0 gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM ghostscript_version: 9.55.0 ### wp-server ### server_architecture: Linux 5.15.83-1-pve x86_64 httpd_software: nginx/1.18.0 php_version: 8.1.2-1ubuntu2.10 64bit php_sapi: fpm-fcgi max_input_variables: 1000 time_limit: 30 memory_limit: 512M max_input_time: 60 upload_max_filesize: 20M php_post_max_size: 20M curl_version: 7.81.0 OpenSSL/3.0.2 suhosin: false imagick_availability: true pretty_permalinks: true htaccess_extra_rules: false ### wp-database ### extension: mysqli server_version: 10.6.11-MariaDB-0ubuntu0.22.04.1 client_version: mysqlnd 8.1.2-1ubuntu2.10 max_allowed_packet: 16777216 max_connections: 151 ### wp-constants ### WP_HOME: https://raunet.gernot-rau.de WP_SITEURL: https://raunet.gernot-rau.de WP_CONTENT_DIR: /usr/share/nginx/raunet.gernot-rau.de/wp-content WP_PLUGIN_DIR: /usr/share/nginx/raunet.gernot-rau.de/wp-content/plugins WP_MEMORY_LIMIT: 40M WP_MAX_MEMORY_LIMIT: 512M WP_DEBUG: false WP_DEBUG_DISPLAY: true WP_DEBUG_LOG: false SCRIPT_DEBUG: false WP_CACHE: false CONCATENATE_SCRIPTS: undefined COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_ENVIRONMENT_TYPE: Nicht definiert DB_CHARSET: utf8 DB_COLLATE: undefined ### wp-filesystem ### wordpress: writable wp-content: writable uploads: writable plugins: writable themes: writable mu-plugins: writable ### wp_mail_smtp ### version: 3.7.0 license_key_type: lite debug: Keine Debug-Hinweise gefunden. lite_install_date: Jan 24, 2023 @ 4:18pm ### wpforms ### version: 1.7.9.1 lite: Jan 24, 2023 @ 4:20pm upload_dir: Beschreibbar total_forms: undefined total_submissions: undefined
Vielen Dank,
Gernot
- Dieses Thema wurde geändert vor 1 Jahr, 10 Monaten von .
- Dieses Thema wurde geändert vor 1 Jahr, 10 Monaten von .
- Dieses Thema wurde geändert vor 1 Jahr, 10 Monaten von .
- Dieses Thema wurde geändert vor 1 Jahr, 10 Monaten von .
Die Seite, für die ich Hilfe brauche: [Anmelden, um den Link zu sehen]
Ansicht von 13 Antworten – 1 bis 13 (von insgesamt 13)
Ansicht von 13 Antworten – 1 bis 13 (von insgesamt 13)
- Das Thema „REST-API-Antwort: (http_request_failed) cURL error 7: Failed to connect to …“ ist für neue Antworten geschlossen.