Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Time out ,then throw Object is not an instance of declaring class #1145

Open
1713612859 opened this issue Jan 15, 2025 · 4 comments
Open

Comments

@1713612859
Copy link

When I use OpenFegin ,this component read time out default time 。I think should throw Timeout Exception .

Image

@1713612859 1713612859 changed the title obiect is not an instance of declaring class Time out ,then throw Object is not an instance of declaring class Jan 15, 2025
@OlgaMaciaszek
Copy link
Collaborator

Hello @1713612859. Looks like the issue is with Alibaba as that's the point in the stack where the exception is being thrown. In any case, if you want us to verify it, please provide a minimal, complete, verifiable example that reproduces the issue.

@1713612859
Copy link
Author

1713612859 commented Jan 20, 2025

I'm not sure is alibaba problem ,When I set readTime 500000, timeout 1000000 , Then can't throw any error . because , the request have 30s . This is example of case for you .

feign:
client:
config:
default: # 默认配置,适用于所有 Feign 客户端
connectTimeout: 500000 # 连接超时,单位毫秒
readTimeout: 1000000 # 读取超时,单位毫秒
loggerLevel: full # 日志级别,可选值 none, basic, headers, full

@1713612859
Copy link
Author

But, I think should throw time out exception @OlgaMaciaszek

@OlgaMaciaszek
Copy link
Collaborator

Hello @1713612859 Please provide a minimal, complete, verifiable example that reproduces the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants