[GitHub] [apisix] spacewander commented on issue #3266: bug: apisix 2.2 base Tengine trun on prometheus error

2021-01-14 Thread GitBox
spacewander commented on issue #3266: URL: https://github.com/apache/apisix/issues/3266#issuecomment-760191720 > > > Here are my suggestions > > ``` > local res, _ = config:getkey("/routes") > if res and res.headers then > clear_tab(key_values) >

[GitHub] [apisix] spacewander commented on issue #3266: bug: apisix 2.2 base Tengine trun on prometheus error

2021-01-13 Thread GitBox
spacewander commented on issue #3266: URL: https://github.com/apache/apisix/issues/3266#issuecomment-759971185 Just replace the corresponding file and restart the service is enough. This is an automated message from the

[GitHub] [apisix] spacewander commented on issue #3266: bug: apisix 2.2 base Tengine trun on prometheus error

2021-01-13 Thread GitBox
spacewander commented on issue #3266: URL: https://github.com/apache/apisix/issues/3266#issuecomment-759907291 I guess it is caused by some response which doesn't contain `header` field in its body. You can take your investigation from:

[GitHub] [apisix] spacewander commented on issue #3266: bug: apisix 2.2 base Tengine trun on prometheus error

2021-01-13 Thread GitBox
spacewander commented on issue #3266: URL: https://github.com/apache/apisix/issues/3266#issuecomment-759898437 And you need to point out which captured request causes the error. There are too much requests in your capture file.

[GitHub] [apisix] spacewander commented on issue #3266: bug: apisix 2.2 base Tengine trun on prometheus error

2021-01-13 Thread GitBox
spacewander commented on issue #3266: URL: https://github.com/apache/apisix/issues/3266#issuecomment-759897624 Please upload the original `.pcap` file. This is an automated message from the Apache Git Service. To respond to

[GitHub] [apisix] spacewander commented on issue #3266: bug: apisix 2.2 base Tengine trun on prometheus error

2021-01-13 Thread GitBox
spacewander commented on issue #3266: URL: https://github.com/apache/apisix/issues/3266#issuecomment-759872054 > > > Look like etcd returns an unexpected response to APISIX? > Need a network capture file to confirm it. > BTW, what's your etcd version? I already told you

[GitHub] [apisix] spacewander commented on issue #3266: bug: apisix 2.2 base Tengine trun on prometheus error

2021-01-13 Thread GitBox
spacewander commented on issue #3266: URL: https://github.com/apache/apisix/issues/3266#issuecomment-759869689 @Yangzcy423911 > Need a network capture file to confirm it. As I said, you should provide a network capture file to show what happened between APISIX and etcd when the

[GitHub] [apisix] spacewander commented on issue #3266: bug: apisix 2.2 base Tengine trun on prometheus error

2021-01-12 Thread GitBox
spacewander commented on issue #3266: URL: https://github.com/apache/apisix/issues/3266#issuecomment-759193930 Look like etcd returns an unexpected response to APISIX? Need a network capture file to confirm it. BTW, what's your etcd version?