Welcome Guest, Not a member yet? Register   Sign In
Routes Error after upgrade to v4.5.5
#1

(This post was last modified: 09-17-2024, 06:28 AM by 68thorby68.)

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
[Method: POST, Route: quote_hook]

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?
Reply
#2

CI4 does not use Guzzle.
Reply
#3

(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.
Reply
#4

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/i...ading.html
Did you read them, and followed the  instructions?
Reply
#5

Reading the Guzzle doc's, he needs Guzzle v7 for PHP 8+.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB