You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by "islaiyp (via GitHub)" <gi...@apache.org> on 2023/02/16 03:04:54 UTC

[GitHub] [shenyu] islaiyp opened a new issue, #4389: [Question] why timeout returns 500, not 504?

islaiyp opened a new issue, #4389:
URL: https://github.com/apache/shenyu/issues/4389

   ### Question
   
   Using SpringCloud, modified the rule, change timeout from 3000 to 1.
   After send my request again, it returned 500, not 504 gateway timeout.
   
   `shenyu 2.5.0`


-- 
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@shenyu.apache.org.apache.org

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


[GitHub] [shenyu] islaiyp commented on issue #4389: [Question] why timeout returns 500, not 504?

Posted by "islaiyp (via GitHub)" <gi...@apache.org>.
islaiyp commented on issue #4389:
URL: https://github.com/apache/shenyu/issues/4389#issuecomment-1437798821

   i just saw this problem has been solved in `2.5.1`.


-- 
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@shenyu.apache.org

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


[GitHub] [shenyu] islaiyp closed issue #4389: [Question] why timeout returns 500, not 504?

Posted by "islaiyp (via GitHub)" <gi...@apache.org>.
islaiyp closed issue #4389: [Question] why timeout returns 500, not 504?
URL: https://github.com/apache/shenyu/issues/4389


-- 
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@shenyu.apache.org

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


Re: [I] [Question] why timeout returns 500, not 504? [shenyu]

Posted by "lixianli1987 (via GitHub)" <gi...@apache.org>.
lixianli1987 commented on issue #4389:
URL: https://github.com/apache/shenyu/issues/4389#issuecomment-2019506550

   > i just saw this problem has been solved in `2.5.1`.
   
   I am also facing this problem now!
   I hope to return the timeout error message to the requesting system after timeout, instead of returning 500!
   But I don't know how to solve this problem


-- 
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@shenyu.apache.org

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


[GitHub] [shenyu] iwangjie commented on issue #4389: [Question] why timeout returns 500, not 504?

Posted by "iwangjie (via GitHub)" <gi...@apache.org>.
iwangjie commented on issue #4389:
URL: https://github.com/apache/shenyu/issues/4389#issuecomment-1436382513

   Please provide more context.


-- 
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@shenyu.apache.org

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


[GitHub] [shenyu] islaiyp commented on issue #4389: [Question] why timeout returns 500, not 504?

Posted by "islaiyp (via GitHub)" <gi...@apache.org>.
islaiyp commented on issue #4389:
URL: https://github.com/apache/shenyu/issues/4389#issuecomment-1437778141

   > Please provide more context.
   
   Using springCloud plugin, after my server registered, I go into `PluginList=>Proxy=>SpringCloud=>SelectorList=>RulesList`, modified one of my rules, changed timeout from 3000 to 1, then send request.
   of course the request result is timeout, but I confused, why the reponse body's code is `500`, and msg is `Internal Server Error`, I think the code should be 504.


-- 
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@shenyu.apache.org

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