As per the equivalent issue @anakha reported on spring-cloud-gateway Github, bumping to spring-boot 3.4.0 should fix the encountered issue.
However, on my side without upgrading to spring-cloud 4.2.x but from spring-boot 3.3.4 to 3.3.5 (using spring-cloud 4.1.5) I run into the same issue.
Consequently either you downgrade to 3.3.4 or upgrade to 3.4.0 which as of today (2024-10-31) is still in RC.