dromara / dromara/forest

http 调用错误

Open
#191 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.9k
Forks
241
PR merge metrics
No merged PRs in 30d

Description

在一个内部使用 公网 IP 段的内网环境,调用出现去公网请求的错误,与跳过 forest 进行请求的返回完全不同
一下是使用不同调用方式返回的数据:
1、使用 hutool 工具中的 httputil 进行请求 返回了正常的 json
2、使用forest-core 1.5.33 backend 使用 okhttp3 请求 返回了 timeout
3、 使用 forest-core 1.5.33 backend 使用apache httpclient 请求返回 timeout
4、直接使用 apache httpclinet v4.5.13 进行请求 响应了正常的 json

希望能提供一下测试思路,目前不确定为何会出现此问题

2E34F0BC-4092-4568-989D-ED015B704F15

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the request in the internal environment with forest-core 1.5.33 using both the okhttp3 and Apache HttpClient backends, then compare them with Hutool and direct Apache HttpClient v4.5.13. Trace the backend request path and capture the timeout details; done means identifying a reproducible cause or a minimal case that maintainers can investigate.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.