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

watch http does not work on server side (nginx) #217

Closed
macbobo opened this issue Dec 25, 2024 · 7 comments
Closed

watch http does not work on server side (nginx) #217

macbobo opened this issue Dec 25, 2024 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@macbobo
Copy link

macbobo commented Dec 25, 2024

Describe the bug

  1. 测试服务器为nginx,在nginx服务器启动kyanos(最新版本)
  2. 客户端使用curl 发送http请求,watch不显示
  3. 在nginx服务器使用curl 发起本地请求,watch显示正常
  4. 客户端使用wrk 发送http请求,watch显示正常

To Reproduce
Steps to reproduce the behavior:

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Information (please complete the following information):

  • OS: [e.g. use uname -ar]
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Title: watch http does not display

Copy link

dosubot bot commented Dec 25, 2024

I wasn't able to find specific information on why kyanos might not display HTTP requests from curl when sent from a remote client, but here are a few things you might consider checking:

  1. Network Configuration: Ensure that the network configuration allows traffic from the remote client to reach the server where kyanos is running. Firewalls or network policies might be blocking the traffic.

  2. Interface Binding: Verify that kyanos is monitoring the correct network interface. If it's bound to a specific interface, it might not capture traffic from other interfaces.

  3. Protocol and Port Filtering: Double-check any filters you have set in kyanos to ensure they are not excluding the traffic from curl.

  4. Logging and Debugging: Use kyanos's logging and debugging features to gather more information about the traffic being captured. This might help identify why certain requests are not being displayed [1].

  5. Version Compatibility: Although no specific compatibility issues with curl are noted, ensure that both kyanos and curl are up to date.

If these steps don't resolve the issue, further investigation into the specific network setup and kyanos configuration might be necessary.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

@dosubot dosubot bot added the bug Something isn't working label Dec 25, 2024
@macbobo

This comment was marked as outdated.

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Uploading WechatIMG145.jpg…

@macbobo
Copy link
Author

macbobo commented Dec 25, 2024

WechatIMG145

@hengyoush hengyoush changed the title watch http 不显示 watch http does not work on server side (nginx) Dec 25, 2024
@hengyoush
Copy link
Owner

This is because nginx sends the response using the sendfile system call, there is currently no staking, this needs to be added later

@hengyoush
Copy link
Owner

Fixed at 1.4.3, please verify.

@github-project-automation github-project-automation bot moved this from In Progress to Done in v1.5.0 Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

3 participants