We managed to fix the issue.
The problem was a transitive dependency to org.springframework.boot:spring-boot-starter-tomcat. By removing this transitive dependecy, the application started using Netty, which is the default for Webflux applications.
Its still a mistery why this error was happening only on production environment and nowhere else.