Skip to content

OkHttp startup does not take effect #1309

@xingjian

Description

@xingjian

我现在使用的框架的版本信息如下:
The version information of the framework I am currently using is as follows:
spring boot 4.0.1,
spring cloud 2025.1.0,
spring-cloud-alibaba 2025.1.0.0-SNAPSHOT,
feign-okhttp 13.6,
spring-cloud-starter-loadbalancer 5.0.0,
spring-cloud-starter-openfeign 5.0.0
现在计划采用okhttp连接池,我已经引入相关包及配置,如下:
We are now planning to adopt the OkHttp connection pool, and I have imported the relevant packages and configurations as follows:

com.alibaba.cloud
spring-cloud-starter-alibaba-nacos-discovery

org.springframework.cloud spring-cloud-starter-openfeign org.springframework.cloud spring-cloud-starter-loadbalancer io.github.openfeign feign-okhttp

配置如下:
Configurations below:
feign:
okhttp:
enabled: true
httpclient:
enabled: false

发现有如下问题:
启动okhttp不生效。请问如何配置及查找问题原因?
The following issues have been identified:
The OkHttp startup does not take effect. Could you please advise on how to configure it and troubleshoot the root cause of the issue?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions