REST-API-Antwort: (http_request_failed) cURL error 28
-
Ich habe bei meinen WordPress Seiten leider ein kritischen Fehler:
Beim Testen des REST-API ist ein Fehler aufgetreten:
REST-API-Endpunkt: https://games-vorgestellt.de/wp-json/wp/v2/types/post?context=edit
REST-API-Antwort: (http_request_failed) cURL error 28: Resolving timed out after 10000 millisecondsWordPress.org konnte nicht erreicht werdenSicherheitFehler Deine Website kann WordPress.org nicht unter 198.143.164.251 erreichen und gab den Fehler zurück: cURL error 28: Resolving timed out after 10000 milliseconds
Seltsam finde ich die IP Adresse, weil beim Pingen von WordPress.org habe ich die 252 am Ende und nicht die 251.
Siehe: PING wordpress.org (198.143.164.252): 56 data bytesIch habe schon alles gemacht, PHP Memory auf 512 MB gesetzt, auch per WP-Config, Curl neu installiert, PHP Version aktualisiert, DNS gecheckt vom Server und ich habe auch mal eine andere WordPress Installation geprüft. Die bringt ähnlichen Fehler.
PHP Info: https://games-vorgestellt.de/PHP.php
Was könnte hier der Fehler sein und was könnte man tun?
VG
Andreas-
Dieses Thema wurde vor 1 Jahr, 10 Monaten von
hqgaming geändert.
-
Dieses Thema wurde vor 1 Jahr, 10 Monaten von
hqgaming geändert. Grund: PHP info
Die Seite, für die ich Hilfe brauche: [Anmelden, um den Link zu sehen]
-
Dieses Thema wurde vor 1 Jahr, 10 Monaten von
-
Auch hier fehlt der Website-Bericht, um auf die Frage indivdueller einzugehen. Vielleicht hilft dir aber dieser Beitrag mit einigen Lösungsansätzen weiter:
Wie man den „cURL error 28: connection timed out“ behebt (6 Methoden)
Sorry, Bericht ist Nachgericht. PS: Danke, den hatte ich schon im Vorfeld gelesen und alles danach versucht.
Lg
-
Diese Antwort wurde vor 1 Jahr, 10 Monaten von
hqgaming geändert.
` wp-core
version: 6.5.2
site_language: de_DE
user_language: de_DE
timezone: Europe/Berlin
permalink: /%year%/%monthnum%/%day%/%postname%/
https_status: true
multisite: false
user_registration: 1
blog_public: 1
default_comment_status: open
environment_type: production
user_count: 5
dotorg_communication: cURL error 28: Resolving timed out after 10000 milliseconds wp-paths-sizeswordpress_path: /var/www/Atherome-behandlung/htdocs/games
wordpress_size: 86,12 MB (90301645 bytes)
uploads_path: /var/www/Atherome-behandlung/htdocs/games/wp-content/uploads
uploads_size: 374,41 MB (392595264 bytes)
themes_path: /var/www/Atherome-behandlung/htdocs/games/wp-content/themes
themes_size: 17,92 MB (18785933 bytes)
plugins_path: /var/www/Atherome-behandlung/htdocs/games/wp-content/plugins
plugins_size: 89,04 MB (93366760 bytes)
database_size: 22,72 MB (23822336 bytes)
total_size: 590,20 MB (618871938 bytes) wp-dropins (1)advanced-cache.php: true wp-active-theme
name: Gauge Child (gauge-child)
version: 1.0
author: GhostPool
author_website: http://www.ghostpool.com
parent_theme: Gauge (gauge)
theme_features: core-block-patterns, widgets-block-editor, post-thumbnails, custom-background, editor-style, automatic-feed-links, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, buddypress-use-legacy, post-formats, title-tag, menus, widgets
theme_path: /var/www/Atherome-behandlung/htdocs/games/wp-content/themes/gauge-child
auto_update: Deaktiviert wp-parent-themename: Gauge (gauge)
version: 6.49.1
author: GhostPool
author_website: http://www.ghostpool.com
theme_path: /var/www/Atherome-behandlung/htdocs/games/wp-content/themes/gauge
auto_update: Deaktiviert wp-mu-plugins (1)Health Check Troubleshooting Mode: author: (undefined), version: 1.9.1 wp-plugins-active (11)
Add Meta Tag Keywords: version: 1.0.3, author: Hema Rawat, Automatische Aktualisierungen aktiviert
Avatar Privacy: version: 2.7.0, author: Peter Putzer, Automatische Aktualisierungen aktiviert
Borlabs Cookie – Cookie Opt-in: version: 2.2.66, author: Borlabs GmbH (latest version: 2.2.67), Automatische Aktualisierungen aktiviert
Code Snippets: version: 3.6.4, author: Code Snippets Pro, Automatische Aktualisierungen aktiviert
Disable & Remove Google Fonts: version: 1.6.2, author: Fonts Plugin, Automatische Aktualisierungen aktiviert
Health Check & Troubleshooting: version: 1.7.0, author: The WordPress.org community, Automatische Aktualisierungen deaktiviert
Local Google Fonts: version: 0.22.0, author: EverPress, Automatische Aktualisierungen aktiviert
W3 Total Cache: version: 2.7.1, author: BoldGrid, Automatische Aktualisierungen aktiviert
WPBakery Page Builder: version: 6.10.0, author: Michael M – WPBakery.com (latest version: 7.6), Automatische Aktualisierungen aktiviert
Yoast SEO: version: 22.5, author: Team Yoast, Automatische Aktualisierungen aktiviert
Youtube Video Gallery – Youtube Channel For WPBakery Page Builder With Video Advertising: version: 2.0.8, author: BeeTeam368, Automatische Aktualisierungen aktiviert wp-plugins-inactive (2)Gauge Plugin: version: 3.14.3, author: GhostPool, Automatische Aktualisierungen aktiviert
Redis Object Cache: version: 2.5.2, author: Till Krüss, Automatische Aktualisierungen deaktiviert code-snippets (1)snippet-5: name: Remove Google Adsense, scope: global, modified: 2022-12-13 08:52:14 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.7.0
file_uploads: 1
post_max_size: 256M
upload_max_filesize: 32M
max_effective_size: 32 MB
max_file_uploads: 20
imagick_limits:
imagick::RESOURCETYPE_AREA: 122 MB
imagick::RESOURCETYPE_DISK: 1073741824
imagick::RESOURCETYPE_FILE: 6144
imagick::RESOURCETYPE_MAP: 512 MB
imagick::RESOURCETYPE_MEMORY: 256 MB
imagick::RESOURCETYPE_THREAD: 1
imagick::RESOURCETYPE_TIME: 9.2233720368548E+18
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, DJVU, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, 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, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, 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, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIDEO, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
gd_version: 2.2.5
gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
ghostscript_version: 9.53.3 wp-serverserver_architecture: Linux 5.4.143-1-pve x86_64
httpd_software: Apache
php_version: 8.1.27 64bit
php_sapi: cgi-fcgi
max_input_variables: 2000
time_limit: 300
memory_limit: 512M
max_input_time: 60
upload_max_filesize: 32M
php_post_max_size: 256M
curl_version: 7.74.0 OpenSSL/1.1.1w
suhosin: false
imagick_availability: true
pretty_permalinks: true
htaccess_extra_rules: true
current: 2024-04-25T09:14:38+00:00
utc-time: Thursday, 25-Apr-24 09:14:38 UTC
server-time: 2024-04-25T11:14:04+02:00 wp-databaseextension: mysqli
server_version: 10.5.23-MariaDB-0+deb11u1
client_version: mysqlnd 8.1.27
max_allowed_packet: 16777216
max_connections: 151 wp-constantsWP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /var/www/Atherome-behandlung/htdocs/games/wp-content
WP_PLUGIN_DIR: /var/www/Atherome-behandlung/htdocs/games/wp-content/plugins
WP_MEMORY_LIMIT: 512M
WP_MAX_MEMORY_LIMIT: 512M
WP_DEBUG: false
WP_DEBUG_DISPLAY: true
WP_DEBUG_LOG: false
SCRIPT_DEBUG: false
WP_CACHE: true
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_ENVIRONMENT_TYPE: Nicht definiert
WP_DEVELOPMENT_MODE: undefined
DB_CHARSET: utf8
DB_COLLATE: undefined wp-filesystemwordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable
mu-plugins: writable
0: Writable redux-frameworkversion: 4.3.5.2
installation: in_theme
data directory: /var/www/Atherome-behandlung/htdocs/games/wp-content/themes/gauge/lib/framework/redux/
browser:
Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4.1 Safari/605.1.15
Browser: Safari
Version: 17.4.1
Platform: Apple redux-instance-gpopt_name: gp
global_variable: gp
dev_mode: false
ajax_save: true
page_slug: GaugeChild
page_permissions: manage_options
menu_type: menu
page_parent: themes.php
compiler: true
output: true
output_tag: true
templates_path: undefined
extensions:
Customizer: 4.0.0
Import Export: 4.0.0
Metaboxes: 4.0.0
Options Object: 4.0.0
Search: 3.4.5
Shortcodes: 4.3.5… und alles danach versucht.
Was soll ich dann noch dazu schreiben? 🙂
Was sagt denn der Webhoster dazu? Support dort angesprochen?
Ich bin selbst der Webhoster und weiß nicht was ich dazu sagen soll, sonst wäre ich nicht hier. 🙂
Das hättest du vielleicht erwähnen sollen – wahrscheinlich stimmt dann etwas mit deiner Serverkonfiguration nicht.
Kann dein Webserver denn auf fremde Server zugreifen? Was passiert, wenn du auf deinem Server z.B.
curl -ILk https://wordpress.orgeingibst?Wie werden DNS aufgelöst? Was ergibt
dig wordpress.org?curl -ILk https://wordpress.org HTTP/2 200 server: nginx date: Thu, 25 Apr 2024 12:24:52 GMT content-type: text/html; charset=UTF-8 vary: Accept-Encoding strict-transport-security: max-age=3600 x-olaf: ⛄ link: <https://wordpress.org/wp-json/>; rel="https://api.w.org/" link: <https://wordpress.org/wp-json/wp/v2/pages/457>; rel="alternate"; type="application/json" link: <https://w.org/>; rel=shortlink x-frame-options: SAMEORIGIN alt-svc: h3=":443"; ma=86400 x-nc: HIT ord 2dig wordpress.org ; <<>> DiG 9.16.44-Debian <<>> wordpress.org ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23140 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 1232 ; COOKIE: ad183d3c6f8f655101000000662a4c1d6721033b2fa91d93 (good) ;; QUESTION SECTION: ;wordpress.org. IN A ;; ANSWER SECTION: wordpress.org. 600 IN A 198.143.164.252 ;; Query time: 7 msec ;; SERVER: 195.10.195.195#53(195.10.195.195) ;; WHEN: Thu Apr 25 12:27:09 UTC 2024 ;; MSG SIZE rcvd: 86Danke, ich habe den Befehl eben ausgeführt und es sieht soweit okay aus. 🙂
-
Diese Antwort wurde vor 1 Jahr, 10 Monaten von
hqgaming geändert.
Du kannst probieren, in der Serverkonfiguration einen anderen DNS-Server einzutragen, z.B. Google-DNS (8.8.8.8) oder Cloudflare (1.1.1.1).
Vielen Dank, dass war die Lösung. Nach der Umstellung auf den Cloudflare DNS läuft es perfekt.
Lg Andreas 🙂
Das war übrigens in dem zuerst verlinkten Beitrag, den du „schon im Vorfeld gelesen und alles versucht“ hattest, Punkt 4. 😉
Freut mich, wenn’s jetzt läuft.
Danke, ja hatte ich gesehen gehabt. Ich dachte das wäre per 4G Handy test ähnlich geprüft. Aber war ein Irrtum, man lernt doch immer dazu.
Lg Andreas
-
Diese Antwort wurde vor 1 Jahr, 10 Monaten von
Das Thema „REST-API-Antwort: (http_request_failed) cURL error 28“ ist für neue Antworten geschlossen.