You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/05/25 03:06:31 UTC

[GitHub] [apisix] zhoudingyu123 opened a new issue, #7121: help request: 499 error code!!!help!!!

zhoudingyu123 opened a new issue, #7121:
URL: https://github.com/apache/apisix/issues/7121

   ### Description
   
   I need to request a time-consuming operation through apisix, which will take more than 60 seconds.Both postman and curl return errors, unless you don't use apisix. I tried almost all the settings about keepalive, but it didn't work. 400 error code returned when modifying 'proxy_ignore_client_abort on'.
   
   ### Environment
   
   - APISIX version (run `apisix version`):
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] tzssangglass commented on issue #7121: help request: 499 error code!!!help!!!

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #7121:
URL: https://github.com/apache/apisix/issues/7121#issuecomment-1136771961

   see: https://github.com/apache/apisix/issues/4715


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] zhoudingyu123 commented on issue #7121: help request: 499 error code!!!help!!!

Posted by GitBox <gi...@apache.org>.
zhoudingyu123 commented on issue #7121:
URL: https://github.com/apache/apisix/issues/7121#issuecomment-1330375377

   Problem solved,it is version problem,change newlest version,it's ok!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] zhoudingyu123 commented on issue #7121: help request: 499 error code!!!help!!!

Posted by GitBox <gi...@apache.org>.
zhoudingyu123 commented on issue #7121:
URL: https://github.com/apache/apisix/issues/7121#issuecomment-1157461891

   > 
   
   这些我都尝试了都不行,对于我来讲,如果让我解决这个问题,我只能去看源码的流程,看是否哪里写死了60s;不过我对lua语言不熟,所以没有这么做。
   另外,对于上游服务来讲,apisix是客户端的角色;这个问题是apisix到上游的问题不是前台到apisix的问题
   您提供的两种方式都是前台到apisxi之间的问题


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] tzssangglass commented on issue #7121: help request: 499 error code!!!help!!!

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #7121:
URL: https://github.com/apache/apisix/issues/7121#issuecomment-1136783144

   In any case, the information you gave is not enough for me to reproduce the error you encountered.
   
   I need 
   
   - APISIX configuration, including `config.yaml`, route, upstream configuration
   - What is the upstream service and how should I simulate your upstream behavior?
   - How to test?
   
   For all of the above information, text is required rather than screenshots.
   
   If you don't know how to prepare this information, you can refer to these issues for how to provide effective information.
   
   https://github.com/apache/apisix/issues/6834
   https://github.com/apache/apisix/issues/6169


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] tokers commented on issue #7121: help request: 499 error code!!!help!!!

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #7121:
URL: https://github.com/apache/apisix/issues/7121#issuecomment-1328935353

   @StretchV Could you check out if the communication between APISIX and ETCD is slow? 499 means the client closes the connection before server-side returning any byte.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] zhoudingyu123 commented on issue #7121: help request: 499 error code!!!help!!!

Posted by GitBox <gi...@apache.org>.
zhoudingyu123 commented on issue #7121:
URL: https://github.com/apache/apisix/issues/7121#issuecomment-1136778782

   > > see: #4715
   > 
   > I've tried. It doesn't work.
   
   Go to 400 error.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] zhoudingyu123 commented on issue #7121: help request: 499 error code!!!help!!!

Posted by GitBox <gi...@apache.org>.
zhoudingyu123 commented on issue #7121:
URL: https://github.com/apache/apisix/issues/7121#issuecomment-1136768954

   > Are there any steps to reproduce? With only these simple descriptions, no one can know what happened
   
   For example:
   Send a simple post request through curl,
   The response of the server,
   xxx
   std::this_thread::sleep_for(std::chrono::seconds(100));
   xxx
   
   
   It happened!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] jagerzhang commented on issue #7121: help request: 499 error code!!!help!!!

Posted by GitBox <gi...@apache.org>.
jagerzhang commented on issue #7121:
URL: https://github.com/apache/apisix/issues/7121#issuecomment-1157436957

   499是客户端主动超时呀,是不是客户端默认加了60S的timeout?
   你试试将curl命令加一个自定义超时参数:
   ```
   --connect-timeout 20 --max-time 300
   ````


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] zhoudingyu123 commented on issue #7121: help request: 499 error code!!!help!!!

Posted by GitBox <gi...@apache.org>.
zhoudingyu123 commented on issue #7121:
URL: https://github.com/apache/apisix/issues/7121#issuecomment-1136778287

   > see: #4715
   
   转为400错误
   
   转为400错误
   
   
   Go to 400 error!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] zhoudingyu123 commented on issue #7121: help request: 499 error code!!!help!!!

Posted by GitBox <gi...@apache.org>.
zhoudingyu123 commented on issue #7121:
URL: https://github.com/apache/apisix/issues/7121#issuecomment-1136776376

   > see: #4715
   
   I've tried. It doesn't work.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] zhoudingyu123 closed issue #7121: help request: 499 error code!!!help!!!

Posted by GitBox <gi...@apache.org>.
zhoudingyu123 closed issue #7121: help request: 499 error code!!!help!!!
URL: https://github.com/apache/apisix/issues/7121


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] moonming commented on issue #7121: help request: 499 error code!!!help!!!

Posted by GitBox <gi...@apache.org>.
moonming commented on issue #7121:
URL: https://github.com/apache/apisix/issues/7121#issuecomment-1136696804

   Are there any steps to reproduce? With only these simple descriptions, no one can know what happened


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] zhoudingyu123 commented on issue #7121: help request: 499 error code!!!help!!!

Posted by GitBox <gi...@apache.org>.
zhoudingyu123 commented on issue #7121:
URL: https://github.com/apache/apisix/issues/7121#issuecomment-1136768793

   For example:
   Send a simple post request through curl,
   The response of the server,
   xxx
   std::this_thread::sleep_for(std::chrono::seconds(100));
   xxx
   
   
   It happened!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] zhoudingyu123 commented on issue #7121: help request: 499 error code!!!help!!!

Posted by GitBox <gi...@apache.org>.
zhoudingyu123 commented on issue #7121:
URL: https://github.com/apache/apisix/issues/7121#issuecomment-1136849088

   > In any case, the information you gave is not enough for me to reproduce the error you encountered.
   > 
   > I need
   > 
   > * APISIX configuration, including `config.yaml`, route, upstream configuration
   > * What is the upstream service and how should I simulate your upstream behavior?
   > * How to test?
   > 
   > For all of the above information, text is required rather than screenshots.
   > 
   > If you don't know how to prepare this information, you can refer to these issues for how to provide effective information.
   > 
   > #6834 #6169
   [测试相关.docx](https://github.com/apache/apisix/files/8768696/default.docx)
   
   thanks


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] jagerzhang commented on issue #7121: help request: 499 error code!!!help!!!

Posted by GitBox <gi...@apache.org>.
jagerzhang commented on issue #7121:
URL: https://github.com/apache/apisix/issues/7121#issuecomment-1157513148

   > > 
   > 
   > 这些我都尝试了都不行,对于我来讲,如果让我解决这个问题,我只能去看源码的流程,看是否哪里写死了60s;不过我对lua语言不熟,所以没有这么做。 另外,对于上游服务来讲,apisix是客户端的角色;这个问题是apisix到上游的问题不是前台到apisix的问题 您提供的两种方式都是前台到apisxi之间的问题
   
   是不是这样:
   访问路径:客户端 --> APISIX --> 上游应用
   现在的问题是上游应用日志里打印了499返回码,说明是APISIX访问上游应用的时候主动超时了,对吧?
   
   那APISIX的日志显示的返回码是多少呢?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] StretchV commented on issue #7121: help request: 499 error code!!!help!!!

Posted by GitBox <gi...@apache.org>.
StretchV commented on issue #7121:
URL: https://github.com/apache/apisix/issues/7121#issuecomment-1328866282

   我最近直接请求apisix的管理端api(如域名/apisix/admin/routes)这种接口,也偶尔报499,好奇怪


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] StretchV commented on issue #7121: help request: 499 error code!!!help!!!

Posted by GitBox <gi...@apache.org>.
StretchV commented on issue #7121:
URL: https://github.com/apache/apisix/issues/7121#issuecomment-1330370533

   Problem solved,It turns out that the upstream of this route is unstable


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org