Jetzt erkennt man es, ja. Vorher war es, für mich, nicht erkenntlich. Entschuldige
Beim Abrufen der Daten von DWD war anscheint nicht vollständig, so das nicht weiter verarbeitet werden konnte.
Mit nächsten Update sollte dies nun behoben sein.
Außerdem wird so ein Fehler nur noch im DEBUG-Modus angezeigt, damit der Live-Betrieb nicht beeinträchigt wird.
Sollte im Live-Betrieb so ein Fehler auftreten, wird das ganze als "keine Daten" behandelt.
Es gibt wieder einen Fehler:
Tue, 16 Jul 2024 17:13:16 +0000
Message: Undefined array key "time"
PHP version: 8.2.21
WoltLab Suite version: 6.0.16
Request URI: GET /forum/thread/34-wie-geht-es-dir/?postID=145526
Referrer: https://borderline-forum.eu/forum/thread/34-wie-geht-es-dir/?postID=140361
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0
Peak Memory Usage: 23711648/536870912
======
Error Class: wcf\system\exception\ErrorException
Error Message: Undefined array key "time"
Error Code: 0
File: /pool/shalin/home/borderline-forum.eu/lib/system/WCF.class.php (368)
Extra Information: -
Stack Trace: [{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/lib\/system\/cache\/builder\/WeatherWarningCacheBuilder.class.php","line":112,"function":"handleError","class":"wcf\\system\\WCF","type":"::","args":[2,"Undefined array key \"time\"","\/pool\/shalin\/home\/borderline-forum.eu\/lib\/system\/cache\/builder\/WeatherWarningCacheBuilder.class.php",112]},{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/lib\/system\/cache\/builder\/AbstractCacheBuilder.class.php","line":41,"function":"rebuild","class":"wcf\\system\\cache\\builder\\WeatherWarningCacheBuilder","type":"->","args":[[]]},{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/lib\/system\/weather\/warning\/UserWeatherWarningHandler.class.php","line":57,"function":"getData","class":"wcf\\system\\cache\\builder\\AbstractCacheBuilder","type":"->","args":[[],"weatherAlerts"]},{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/lib\/system\/SingletonFactory.class.php","line":28,"function":"init","class":"wcf\\system\\weather\\warning\\UserWeatherWarningHandler","type":"->","args":[]},{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/lib\/system\/SingletonFactory.class.php","line":66,"function":"__construct","class":"wcf\\system\\SingletonFactory","type":"->","args":[]},{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/lib\/system\/WCF.class.php","line":903,"function":"getInstance","class":"wcf\\system\\SingletonFactory","type":"::","args":[]},{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/lib\/system\/WCF.class.php","line":872,"function":"__callStatic","class":"wcf\\system\\WCF","type":"::","args":["getUserWeatherWarningHandler",[]]},{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/templates\/compiled\/179_wbb_1_thread.php","line":3179,"function":"__call","class":"wcf\\system\\WCF","type":"->","args":["getUserWeatherWarningHandler",[]]},{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/lib\/system\/template\/TemplateEngine.class.php","line":340,"args":["\/pool\/shalin\/home\/borderline-forum.eu\/templates\/compiled\/179_wbb_1_thread.php"],"function":"include","class":"","type":""},{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/lib\/page\/AbstractPage.class.php","line":386,"function":"display","class":"wcf\\system\\template\\TemplateEngine","type":"->","args":["thread","wbb"]},{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/lib\/page\/AbstractPage.class.php","line":134,"function":"show","class":"wcf\\page\\AbstractPage","type":"->","args":[]},{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/lib\/system\/request\/Request.class.php","line":57,"function":"__run","class":"wcf\\page\\AbstractPage","type":"->","args":[]},{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/lib\/http\/middleware\/HandleValinorMappingErrors.class.php","line":35,"function":"handle","class":"wcf\\system\\request\\Request","type":"->","args":["Laminas\\Diactoros\\ServerRequest"]},{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/lib\/system\/request\/RequestHandler.class.php","line":147,"function":"process","class":"wcf\\http\\Pipeline","type":"->","args":["Laminas\\Diactoros\\ServerRequest","wcf\\http\\RequestHandlerMiddleware"]},{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/forum\/index.php","line":10,"function":"handle","class":"wcf\\system\\request\\RequestHandler","type":"->","args":["wbb"]}]
Alles anzeigen
Hallo, wir habe einen neuen Fehler im Wetterwarn-Plugin bezüglich des:
cURL error 18: transfer closed with 1902 bytes remaining to read (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://www.dwd.de/DWD/warnungen/warnapp/json/warnings.json
Hier die komplette Meldung:
Sun, 21 Jul 2024 09:44:09 +0000
Message: cURL error 18: transfer closed with 1902 bytes remaining to read (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://www.dwd.de/DWD/warnungen/warnapp/json/warnings.json
PHP version: 8.2.21
WoltLab Suite version: 6.0.16
Request URI: GET /forum/unread-thread-list/
Referrer: https://borderline-forum.eu/forum/thread/5392-verzeihen/?postID=146531
User Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 17_5_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Mobile/15E148 Safari/604.1
Peak Memory Usage: 14765808/536870912
======
Error Class: GuzzleHttp\Exception\RequestException
Error Message: cURL error 18: transfer closed with 1902 bytes remaining to read (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://www.dwd.de/DWD/warnungen/warnapp/json/warnings.json
Error Code: 200
File: /pool/shalin/home/borderline-forum.eu/lib/system/api/guzzlehttp/guzzle/src/Handler/CurlFactory.php (211)
Extra Information: -
Stack Trace: [{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/lib\/system\/api\/guzzlehttp\/guzzle\/src\/Handler\/CurlFactory.php","line":158,"function":"createRejection","class":"GuzzleHttp\\Handler\\CurlFactory","type":"::","args":["GuzzleHttp\\Handler\\EasyHandle",{"errno":"[redacted]","error":"[redacted]","appconnect_time":"[redacted]","url":"[redacted]","content_type":"[redacted]","http_code":"[redacted]","header_size":"[redacted]","request_size":"[redacted]","filetime":"[redacted]","ssl_verify_result":"[redacted]","redirect_count":"[redacted]","total_time":"[redacted]","namelookup_time":"[redacted]","connect_time":"[redacted]","pretransfer_time":"[redacted]","size_upload":"[redacted]","size_download":"[redacted]","speed_download":"[redacted]","speed_upload":"[redacted]","download_content_length":"[redacted]","upload_content_length":"[redacted]","starttransfer_time":"[redacted]","redirect_time":"[redacted]","redirect_url":"[redacted]","primary_ip":"[redacted]","certinfo":"[redacted]","primary_port":"[redacted]","local_ip":"[redacted]","local_port":"[redacted]","http_version":"[redacted]","protocol":"[redacted]","ssl_verifyresult":"[redacted]","scheme":"[redacted]","appconnect_time_us":"[redacted]","connect_time_us":"[redacted]","namelookup_time_us":"[redacted]","pretransfer_time_us":"[redacted]","redirect_time_us":"[redacted]","starttransfer_time_us":"[redacted]","total_time_us":"[redacted]","effective_method":"[redacted]","curl_version":"[redacted]"}]},{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/lib\/system\/api\/guzzlehttp\/guzzle\/src\/Handler\/CurlFactory.php","line":110,"function":"finishError","class":"GuzzleHttp\\Handler\\CurlFactory","type":"::","args":["GuzzleHttp\\Handler\\CurlHandler","GuzzleHttp\\Handler\\EasyHandle","GuzzleHttp\\Handler\\CurlFactory"]},{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/lib\/system\/api\/guzzlehttp\/guzzle\/src\/Handler\/CurlHandler.php","line":47,"function":"finish","class":"GuzzleHttp\\Handler\\CurlFactory","type":"::","args":["GuzzleHttp\\Handler\\CurlHandler","GuzzleHttp\\Handler\\EasyHandle","GuzzleHttp\\Handler\\CurlFactory"]},{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/lib\/system\/api\/guzzlehttp\/guzzle\/src\/Handler\/Proxy.php","line":28,"function":"__invoke","class":"GuzzleHttp\\Handler\\CurlHandler","type":"->","args":["GuzzleHttp\\Psr7\\Request",{"synchronous":"[redacted]","timeout":"[redacted]","proxy":"[redacted]","handler":"[redacted]","allow_redirects":"[redacted]","http_errors":"[redacted]","decode_content":"[redacted]","verify":"[redacted]","cookies":"[redacted]","idn_conversion":"[redacted]"}]},{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/lib\/system\/api\/guzzlehttp\/guzzle\/src\/Handler\/Proxy.php","line":48,"function":"GuzzleHttp\\Handler\\{closure}","class":"GuzzleHttp\\Handler\\Proxy","type":"::","args":["[error_during_sanitization]","[error_during_sanitization]"]},{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/lib\/system\/api\/guzzlehttp\/guzzle\/src\/PrepareBodyMiddleware.php","line":35,"function":"GuzzleHttp\\Handler\\{closure}","class":"GuzzleHttp\\Handler\\Proxy","type":"::","args":["[error_during_sanitization]","[error_during_sanitization]"]},{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/lib\/system\/api\/guzzlehttp\/guzzle\/src\/Middleware.php","line":31,"function":"__invoke","class":"GuzzleHttp\\PrepareBodyMiddleware","type":"->","args":["GuzzleHttp\\Psr7\\Request",{"synchronous":"[redacted]","timeout":"[redacted]","proxy":"[redacted]","handler":"[redacted]","allow_redirects":"[redacted]","http_errors":"[redacted]","decode_content":"[redacted]","verify":"[redacted]","cookies":"[redacted]","idn_conversion":"[redacted]"}]},{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/lib\/system\/api\/guzzlehttp\/guzzle\/src\/RedirectMiddleware.php","line":71,"function":"GuzzleHttp\\{closure}","class":"GuzzleHttp\\Middleware","type":"::","args":["[error_during_sanitization]","[error_during_sanitization]"]},{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/lib\/system\/api\/guzzlehttp\/guzzle\/src\/Middleware.php","line":66,"function":"__invoke","class":"GuzzleHttp\\RedirectMiddleware","type":"->","args":["GuzzleHttp\\Psr7\\Request",{"synchronous":"[redacted]","timeout":"[redacted]","proxy":"[redacted]","handler":"[redacted]","allow_redirects":"[redacted]","http_errors":"[redacted]","decode_content":"[redacted]","verify":"[redacted]","cookies":"[redacted]","idn_conversion":"[redacted]"}]},{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/lib\/system\/api\/guzzlehttp\/guzzle\/src\/HandlerStack.php","line":75,"function":"GuzzleHttp\\{closure}","class":"GuzzleHttp\\Middleware","type":"::","args":["[error_during_sanitization]","[error_during_sanitization]"]},{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/lib\/system\/api\/guzzlehttp\/guzzle\/src\/Client.php","line":333,"function":"__invoke","class":"GuzzleHttp\\HandlerStack","type":"->","args":["GuzzleHttp\\Psr7\\Request",{"synchronous":"[redacted]","timeout":"[redacted]","proxy":"[redacted]","handler":"[redacted]","allow_redirects":"[redacted]","http_errors":"[redacted]","decode_content":"[redacted]","verify":"[redacted]","cookies":"[redacted]","idn_conversion":"[redacted]"}]},{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/lib\/system\/api\/guzzlehttp\/guzzle\/src\/Client.php","line":106,"function":"transfer","class":"GuzzleHttp\\Client","type":"->","args":["GuzzleHttp\\Psr7\\Request",{"synchronous":"[redacted]","timeout":"[redacted]","proxy":"[redacted]","handler":"[redacted]","allow_redirects":"[redacted]","http_errors":"[redacted]","decode_content":"[redacted]","verify":"[redacted]","cookies":"[redacted]","idn_conversion":"[redacted]"}]},{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/lib\/system\/api\/guzzlehttp\/guzzle\/src\/Client.php","line":124,"function":"sendAsync","class":"GuzzleHttp\\Client","type":"->","args":["GuzzleHttp\\Psr7\\Request",{"synchronous":"[redacted]","timeout":"[redacted]","proxy":"[redacted]","handler":"[redacted]","allow_redirects":"[redacted]","http_errors":"[redacted]","decode_content":"[redacted]","verify":"[redacted]","cookies":"[redacted]","idn_conversion":"[redacted]","_conditional":"[redacted]"}]},{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/lib\/system\/cache\/builder\/WeatherWarningCacheBuilder.class.php","line":97,"function":"send","class":"GuzzleHttp\\Client","type":"->","args":["GuzzleHttp\\Psr7\\Request"]},{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/lib\/system\/cache\/builder\/AbstractCacheBuilder.class.php","line":41,"function":"rebuild","class":"wcf\\system\\cache\\builder\\WeatherWarningCacheBuilder","type":"->","args":[[]]},{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/lib\/system\/weather\/warning\/UserWeatherWarningHandler.class.php","line":57,"function":"getData","class":"wcf\\system\\cache\\builder\\AbstractCacheBuilder","type":"->","args":[[],"weatherAlerts"]},{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/lib\/system\/SingletonFactory.class.php","line":28,"function":"init","class":"wcf\\system\\weather\\warning\\UserWeatherWarningHandler","type":"->","args":[]},{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/lib\/system\/SingletonFactory.class.php","line":66,"function":"__construct","class":"wcf\\system\\SingletonFactory","type":"->","args":[]},{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/lib\/system\/WCF.class.php","line":903,"function":"getInstance","class":"wcf\\system\\SingletonFactory","type":"::","args":[]},{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/lib\/system\/WCF.class.php","line":872,"function":"__callStatic","class":"wcf\\system\\WCF","type":"::","args":["getUserWeatherWarningHandler",[]]},{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/templates\/compiled\/155_wbb_1_unreadThreadList.php","line":2767,"function":"__call","class":"wcf\\system\\WCF","type":"->","args":["getUserWeatherWarningHandler",[]]},{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/lib\/system\/template\/TemplateEngine.class.php","line":340,"args":["\/pool\/shalin\/home\/borderline-forum.eu\/templates\/compiled\/155_wbb_1_unreadThreadList.php"],"function":"include","class":"","type":""},{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/lib\/page\/AbstractPage.class.php","line":386,"function":"display","class":"wcf\\system\\template\\TemplateEngine","type":"->","args":["unreadThreadList","wbb"]},{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/lib\/page\/AbstractPage.class.php","line":134,"function":"show","class":"wcf\\page\\AbstractPage","type":"->","args":[]},{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/lib\/system\/request\/Request.class.php","line":57,"function":"__run","class":"wcf\\page\\AbstractPage","type":"->","args":[]},{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/lib\/http\/middleware\/HandleValinorMappingErrors.class.php","line":35,"function":"handle","class":"wcf\\system\\request\\Request","type":"->","args":["Laminas\\Diactoros\\ServerRequest"]},{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/lib\/system\/request\/RequestHandler.class.php","line":147,"function":"process","class":"wcf\\http\\Pipeline","type":"->","args":["Laminas\\Diactoros\\ServerRequest","wcf\\http\\RequestHandlerMiddleware"]},{"file":"\/pool\/shalin\/home\/borderline-forum.eu\/forum\/index.php","line":10,"function":"handle","class":"wcf\\system\\request\\RequestHandler","type":"->","args":["wbb"]}]
Alles anzeigen
Ich hoffe das hilft euch weiter, den Fehler zu finden,
Shalin
Die Meldung sagt an, dass die Verbindung zum DWD Server abgebrochen wurde, bevor alle Daten geladen wurden.
Vom Plugin her alles okay.
Und Timeout war ja auch nicht.
Da wollte entweder dein Server oder der DWD Server nicht mehr.
Den Fehler hatte ich leider auch schon paar mal, ich denke da wir mit dem Plugin nicht die einzigen sind, dass der Server vom DWD ab und an mal Stopp sagt