![]() |
Routes Error after upgrade to v4.5.5 - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: Routes Error after upgrade to v4.5.5 (/showthread.php?tid=91677) |
Routes Error after upgrade to v4.5.5 - 68thorby68 - 09-17-2024 Hi, I have just upgraded to v4.5.5 and I am now getting errors I have never received before. Code: CRITICAL - 2024-09-17 14:15:42 --> GuzzleHttp\Exception\ConnectException: cURL error 6: getaddrinfo() thread failed to start (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://identity.xero.com/connect/token During the upgrade I noticed Config/Routes had been changed and Config/Routing had been added. As part of the upgrade I ensured by previous Routes settings ($routes->setDefaultNamespace('App\Controllers');$routes->setDefaultController('Home');$routes->setDefaultMethod('index');$routes->setTranslateURIDashes(false); $routes->set404Override(); were replicated in Routing. Any assistance would be helpful? RE: Routes Error after upgrade to v4.5.5 - kenjis - 09-18-2024 CI4 does not use Guzzle. RE: Routes Error after upgrade to v4.5.5 - 68thorby68 - 09-18-2024 (09-18-2024, 02:07 AM)kenjis Wrote: CI4 does not use Guzzle. Thank you. However, my application that is implemented on the CI4 framework uses Guzzle, and it looks like it's having problems finding a route (Routes are in CI4). If it's not a problem with routing I will looks elsewhere. RE: Routes Error after upgrade to v4.5.5 - kenjis - 09-18-2024 1. CI4 does not use Guzzle at all. 2. The error is clearly caused by Guzzle. Why do you think it's having problems finding a route in CI4? When you upgrade CI4, you must read the upgrading guides: https://www.codeigniter.com/user_guide/installation/upgrading.html Did you read them, and followed the instructions? RE: Routes Error after upgrade to v4.5.5 - InsiteFX - 09-18-2024 Reading the Guzzle doc's, he needs Guzzle v7 for PHP 8+. |