You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2022/05/07 08:32:23 UTC
[GitHub] [dubbo-go] tg0428 opened a new issue, #1883: Set hystrix config failed
tg0428 opened a new issue, #1883:
URL: https://github.com/apache/dubbo-go/issues/1883
<!-- Please use this template while reporting a bug and provide as much info as possible. Not doing so may result in your bug not being addressed in a timely manner. Thanks!
-->
**What happened**:
After setting the hystrix configuration, a panic error occurred during startup
```
panic: interface conversion: interface {} is map[string]interface {}, not map[interface {}]interface {}
goroutine 42 [running]:
dubbo.apache.org/dubbo-go/v3/filter/hystrix.initConfigConsumer()
/Users/xxxx/go/pkg/mod/dubbo.apache.org/dubbo-go/v3@v3.0.1/filter/hystrix/filter.go:254 +0x29b
```
**What you expected to happen**:
The program starts normally and hystrix takes effect
**How to reproduce it (as minimally and precisely as possible)**:
Use this yaml:
```
dubbo:
consumer:
filter: hystrix_consumer
filter-conf:
hystrix:
configs:
Default:
timeout: 100
sleep_window: 5
max_concurrent_requests: 5000
error_percent_threshold: 1
request_volume_threshold: 1
default: "Default"
references:
IndexClientImpl:
protocol: grpc
interface: com.xxx.index.server
group: xxx_group
version: v1.0
check: false
retries: 0
async: true
```
**Anything else we need to know?**:
dubbo-go v3.0.1
Can u provide a demo configuration of hystrix please?
--
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@dubbo.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
[GitHub] [dubbo-go] luyi404 commented on issue #1883: Set hystrix config failed
Posted by GitBox <gi...@apache.org>.
luyi404 commented on issue #1883:
URL: https://github.com/apache/dubbo-go/issues/1883#issuecomment-1132927201
Problem solved in https://github.com/apache/dubbo-go/pull/1891
--
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@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
[GitHub] [dubbo-go] LaurenceLiZhixin closed issue #1883: Set hystrix config failed
Posted by GitBox <gi...@apache.org>.
LaurenceLiZhixin closed issue #1883: Set hystrix config failed
URL: https://github.com/apache/dubbo-go/issues/1883
--
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@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org