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

Envoy returns 200 directly without waiting for the end of the request #24063

Open
yangyulele opened this issue Nov 18, 2022 · 34 comments
Open

Envoy returns 200 directly without waiting for the end of the request #24063

yangyulele opened this issue Nov 18, 2022 · 34 comments
Labels
area/http_filter bug no stalebot Disables stalebot from closing an issue

Comments

@yangyulele
Copy link

Hi community,
I am running a server which using the envoy as a api gateway to convert the http request to grpc and distribute it to the service.
It was a smooth start,but recently I found some problems.I found envoy aways return 200 without waiting for the end of the request.
for example,I added sleep time to my code,the server did return response while sleeping but envoy returned 200 whith empty response.
envoy access.log:
{"url":"user/login","method":"POST","upstream-service-time":"4","my_custom_header":"Bearer *************************","duration":5,","status":200,"x-forwarded-for":null,"respflags":"UPE","bytes-sent":0,""protocol":"HTTP/1.1"}
You can see status is 200 but bytes-sent is 0

@yangyulele yangyulele added bug triage Issue requires triage labels Nov 18, 2022
@wbpcode
Copy link
Member

wbpcode commented Nov 22, 2022

It's UPE.

* **UPE**: The upstream response had an HTTP protocol error.

May be there are some protocol errors?

@wbpcode wbpcode added area/http_filter and removed triage Issue requires triage labels Nov 22, 2022
@yangyulele
Copy link
Author

yangyulele commented Nov 22, 2022 via email

@wbpcode
Copy link
Member

wbpcode commented Nov 22, 2022

cc @qiwzhang

@yangyulele
Copy link
Author

After trying, I found that the problem was caused by the go-micro framework. Because when I useing grpc framework envoy can return normally.But I don't know why envoy doesn't wait for the return of go-micro.

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale stalebot believes this issue/PR has not been touched recently label Dec 23, 2022
@yangyulele
Copy link
Author

yangyulele commented Dec 23, 2022 via email

@github-actions github-actions bot removed the stale stalebot believes this issue/PR has not been touched recently label Dec 23, 2022
@github-actions
Copy link

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale stalebot believes this issue/PR has not been touched recently label Jan 22, 2023
@yangyulele
Copy link
Author

yangyulele commented Jan 22, 2023 via email

@github-actions github-actions bot removed the stale stalebot believes this issue/PR has not been touched recently label Jan 22, 2023
@github-actions
Copy link

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale stalebot believes this issue/PR has not been touched recently label Feb 21, 2023
@yangyulele
Copy link
Author

yangyulele commented Feb 21, 2023 via email

@github-actions github-actions bot removed the stale stalebot believes this issue/PR has not been touched recently label Feb 21, 2023
@github-actions
Copy link

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale stalebot believes this issue/PR has not been touched recently label Mar 24, 2023
@yangyulele
Copy link
Author

yangyulele commented Mar 24, 2023 via email

@github-actions github-actions bot removed the stale stalebot believes this issue/PR has not been touched recently label Mar 24, 2023
@github-actions
Copy link

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale stalebot believes this issue/PR has not been touched recently label Apr 23, 2023
@yangyulele
Copy link
Author

yangyulele commented Apr 23, 2023 via email

@github-actions github-actions bot removed the stale stalebot believes this issue/PR has not been touched recently label Apr 23, 2023
@github-actions
Copy link

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale stalebot believes this issue/PR has not been touched recently label May 23, 2023
@github-actions github-actions bot removed the stale stalebot believes this issue/PR has not been touched recently label Jul 23, 2023
@github-actions
Copy link

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale stalebot believes this issue/PR has not been touched recently label Aug 22, 2023
@yangyulele
Copy link
Author

yangyulele commented Aug 22, 2023 via email

@github-actions github-actions bot removed the stale stalebot believes this issue/PR has not been touched recently label Aug 22, 2023
@github-actions
Copy link

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale stalebot believes this issue/PR has not been touched recently label Sep 21, 2023
@yangyulele
Copy link
Author

yangyulele commented Sep 21, 2023 via email

@github-actions github-actions bot removed the stale stalebot believes this issue/PR has not been touched recently label Sep 21, 2023
@github-actions
Copy link

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale stalebot believes this issue/PR has not been touched recently label Oct 21, 2023
@yangyulele
Copy link
Author

yangyulele commented Oct 21, 2023 via email

@github-actions github-actions bot removed the stale stalebot believes this issue/PR has not been touched recently label Oct 21, 2023
Copy link

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale stalebot believes this issue/PR has not been touched recently label Nov 20, 2023
@yangyulele
Copy link
Author

yangyulele commented Nov 20, 2023 via email

@github-actions github-actions bot removed the stale stalebot believes this issue/PR has not been touched recently label Nov 21, 2023
Copy link

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale stalebot believes this issue/PR has not been touched recently label Dec 21, 2023
@yangyulele
Copy link
Author

yangyulele commented Dec 21, 2023 via email

@github-actions github-actions bot removed the stale stalebot believes this issue/PR has not been touched recently label Dec 21, 2023
Copy link

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale stalebot believes this issue/PR has not been touched recently label Jan 20, 2024
@yangyulele
Copy link
Author

yangyulele commented Jan 20, 2024 via email

@github-actions github-actions bot removed the stale stalebot believes this issue/PR has not been touched recently label Jan 20, 2024
Copy link

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale stalebot believes this issue/PR has not been touched recently label Feb 19, 2024
@yangyulele
Copy link
Author

yangyulele commented Feb 19, 2024 via email

@phlax phlax added no stalebot Disables stalebot from closing an issue and removed stale stalebot believes this issue/PR has not been touched recently labels Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/http_filter bug no stalebot Disables stalebot from closing an issue
Projects
None yet
Development

No branches or pull requests

3 participants