Situation
Trying to generate report>blank froms>core>dempographics, i get a pop window appearing to be a raw PDF content representation. Suggesting that the PDF file is being served directly as plain text instead of being rendered as a PDF document.
Now i tried to check the files whitelist but i get this instead…
OpenEMR Version
I’m using OpenEMR version 7.0.1
Browser:
I’m using: Chrome/Edge
Operating System
I’m using: Win 10
Search
Did you search the forum for similar questions? Yes
Logs
Fatal error : Uncaught GuzzleHttp\Exception\ConnectException: cURL error 35: OpenSSL SSL_connect: Connection was reset in connection to cdn.jsdelivr.net:443 (see libcurl - Error Codes) for https://cdn.jsdelivr.net/gh/jshttp/mime-db@master/db.json in X:\xampp\htdocs\openemr\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php:210 Stack trace: #0 X:\xampp\htdocs\openemr\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php(158): GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\EasyHandle), Array) #1 X:\xampp\htdocs\openemr\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php(110): GuzzleHttp\Handler\CurlFactory::finishError(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory)) #2 X:\xampp\htdocs\openemr\vendor\guzzlehttp\guzzle\src\Handler\CurlHandler.php(47): GuzzleHttp\Handler\CurlFactory::finish(Object(GuzzleHttp\Handler\CurlHandler), Object(GuzzleHttp\Handler\EasyHandle), Object(GuzzleHttp\Handler\CurlFactory)) #3 X:\xampp\htdocs\openemr\vendor\guzzlehttp\guzzle\src\Handler\Proxy.php(28): GuzzleHttp\Handler\CurlHandler->__invoke(Object(GuzzleHttp\Psr7\Request), Array) #4 X:\xampp\htdocs\openemr\vendor\guzzlehttp\guzzle\src\Handler\Proxy.php(48): GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler{closure}(Object(GuzzleHttp\Psr7\Request), Array) #5 X:\xampp\htdocs\openemr\vendor\guzzlehttp\guzzle\src\PrepareBodyMiddleware.php(35): GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler{closure}(Object(GuzzleHttp\Psr7\Request), Array) #6 X:\xampp\htdocs\openemr\vendor\guzzlehttp\guzzle\src\Middleware.php(31): GuzzleHttp\PrepareBodyMiddleware->__invoke(Object(GuzzleHttp\Psr7\Request), Array) #7 X:\xampp\htdocs\openemr\vendor\guzzlehttp\guzzle\src\RedirectMiddleware.php(71): GuzzleHttp\Middleware::GuzzleHttp{closure}(Object(GuzzleHttp\Psr7\Request), Array) #8 X:\xampp\htdocs\openemr\vendor\guzzlehttp\guzzle\src\RedirectMiddleware.php(107): GuzzleHttp\RedirectMiddleware->__invoke(Object(GuzzleHttp\Psr7\Request), Array) #9 X:\xampp\htdocs\openemr\vendor\guzzlehttp\guzzle\src\RedirectMiddleware.php(73): GuzzleHttp\RedirectMiddleware->checkRedirect(Object(GuzzleHttp\Psr7\Request), Array, Object(GuzzleHttp\Psr7\Response)) #10 X:\xampp\htdocs\openemr\vendor\guzzlehttp\promises\src\FulfilledPromise.php(41): GuzzleHttp\RedirectMiddleware->GuzzleHttp{closure}(Object(GuzzleHttp\Psr7\Response)) #11 X:\xampp\htdocs\openemr\vendor\guzzlehttp\promises\src\TaskQueue.php(48): GuzzleHttp\Promise\FulfilledPromise::GuzzleHttp\Promise{closure}() #12 X:\xampp\htdocs\openemr\vendor\guzzlehttp\promises\src\Promise.php(248): GuzzleHttp\Promise\TaskQueue->run(true) #13 X:\xampp\htdocs\openemr\vendor\guzzlehttp\promises\src\Promise.php(224): GuzzleHttp\Promise\Promise->invokeWaitFn() #14 X:\xampp\htdocs\openemr\vendor\guzzlehttp\promises\src\Promise.php(269): GuzzleHttp\Promise\Promise->waitIfPending() #15 X:\xampp\htdocs\openemr\vendor\guzzlehttp\promises\src\Promise.php(226): GuzzleHttp\Promise\Promise->invokeWaitList() #16 X:\xampp\htdocs\openemr\vendor\guzzlehttp\promises\src\Promise.php(62): GuzzleHttp\Promise\Promise->waitIfPending() #17 X:\xampp\htdocs\openemr\vendor\guzzlehttp\guzzle\src\Client.php(187): GuzzleHttp\Promise\Promise->wait() #18 X:\xampp\htdocs\openemr\vendor\guzzlehttp\guzzle\src\ClientTrait.php(44): GuzzleHttp\Client->request(‘GET’, ‘https://cdn.raw…’, Array) #19 X:\xampp\htdocs\openemr\interface\super\manage_site_files.php(106): GuzzleHttp\Client->get(‘https://cdn.raw…’, Array) #20 {main} thrown in X:\xampp\htdocs\openemr\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php on line 210
ChatGPT response:
"The error message you provided indicates that there was an issue with connecting to the “cdn.jsdelivr.net” server while trying to retrieve a JSON file. This JSON file seems to be related to MIME types for HTTP requests.
Here’s the relevant part of the error message:
Fatal error: Uncaught GuzzleHttp\Exception\ConnectException: cURL error 35: OpenSSL SSL_connect: Connection was reset in connection to cdn.jsdelivr.net:443 (see libcurl - Error Codes) for https://cdn.jsdelivr.net/gh/jshttp/mime-db@master/db.json
The error you are encountering appears to be related to external data fetching, and it might not be directly related to the reports issue you mentioned earlier. Nonetheless, resolving this connectivity problem with “cdn.jsdelivr.net” could potentially fix other issues in the OpenEMR application".