You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by "crazyStar00 (via GitHub)" <gi...@apache.org> on 2023/11/07 09:49:42 UTC

[I] hystrix bug The service response time must be greater than 3000 to trigger a circuit breaker [shenyu]

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

   ### Is there an existing issue for this?
   
   - [X] I have searched the existing issues
   
   ### Current Behavior
   
   During the test, it is found that the service response time must be greater than 3000 before the circuit breaker is triggered. Otherwise, even if all requests fail, the circuit breaker will not be triggered
   
   ### Expected Behavior
   
   _No response_
   
   ### Steps To Reproduce
   
   _No response_
   
   ### Environment
   
   ```markdown
   ShenYu version(s):
   ```
   
   
   ### Debug logs
   
   _No response_
   
   ### Anything else?
   
   _No response_


-- 
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


Re: [I] hystrix bug The service response time must be greater than 3000 to trigger a circuit breaker [shenyu]

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

   it is because in 2.6.0 hystrix plugin set timeout = 3000ms as a constant. and you also cannot change this value by using BasicConifg -> PluginHandle,  the plugin handle you added in hystrix plugin doesn't work! it seems that hystrix's plugin handle are  
    all const (https://github.com/apache/shenyu-dashboard/blob/2.6.0/src/routes/Plugin/PluginRuleHandle/HystrixRuleHandle.js).
   if you want to modify the timeout param, you should change the source js ,rebuild and replace the js in shenyu-admin/src/main/resources/static/  (https://github.com/apache/shenyu-dashboard)


-- 
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] hystrix bug The service response time must be greater than 3000 to trigger a circuit breaker [shenyu]

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

   pls refer to shenyu plugin document for hystrix


-- 
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] hystrix bug The service response time must be greater than 3000 to trigger a circuit breaker [shenyu]

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

   > it is because in 2.6.0 hystrix plugin set timeout = 3000ms as a constant. and you also cannot change this value by using BasicConifg -> PluginHandle, the plugin handle you added in hystrix plugin doesn't work! it seems that hystrix's plugin handle are all const (https://github.com/apache/shenyu-dashboard/blob/2.6.0/src/routes/Plugin/PluginRuleHandle/HystrixRuleHandle.js). if you want to modify the timeout param, you should change the source js ,rebuild and replace the js in shenyu-admin/src/main/resources/static/ (https://github.com/apache/shenyu-dashboard)
   
   
   i found shenyu-dashbord V2.6.1 js(https://github.com/apache/shenyu-dashboard/blob/2.6.1/src/routes/Plugin/PluginRuleHandle/HystrixRuleHandle.js) had fix this timeout param missing problem. so i replace the shenyu-admin/src/main/resources/static/ index*.js by V2.6.1(https://github.com/apache/shenyu/blob/v2.6.1/shenyu-admin/src/main/resources/static/index.7b7196e2.js). 
   timeout can be modified!
   
   ![image](https://github.com/user-attachments/assets/72f66028-8df9-4143-9239-bb592a8137d6)
   


-- 
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] hystrix bug The service response time must be greater than 3000 to trigger a circuit breaker [shenyu]

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

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

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


Re: [I] hystrix bug The service response time must be greater than 3000 to trigger a circuit breaker [shenyu]

Posted by "crazyStar00 (via GitHub)" <gi...@apache.org>.
crazyStar00 closed issue #5282: hystrix bug The service response time must be greater than 3000 to trigger a circuit breaker
URL: https://github.com/apache/shenyu/issues/5282


-- 
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] hystrix bug The service response time must be greater than 3000 to trigger a circuit breaker [shenyu]

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

   > pls refer to shenyu plugin document for hystrix
   
   I read the documentation, the test case is exactly the same as the example, the parameters are also exactly the same, the test found that sleep must be added to the test case, so that the business response time exceeds 3000 will trigger the hystrix blowout 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@shenyu.apache.org

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