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

2021-01-12 Thread GitBox
Yangzcy423911 commented on issue #3266: URL: https://github.com/apache/apisix/issues/3266#issuecomment-759198107 etcd detail etcdctl version etcdctl version: 3.4.14 API version: 3.4 This is an automated message f

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

2021-01-13 Thread GitBox
Yangzcy423911 commented on issue #3266: URL: https://github.com/apache/apisix/issues/3266#issuecomment-759867373 By the way , check it is OK? This is an automated message from the Apache Git Service. To respond to the mes

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

2021-01-13 Thread GitBox
Yangzcy423911 commented on issue #3266: URL: https://github.com/apache/apisix/issues/3266#issuecomment-759870557 How can I provide this network file If there is a problem with the connection between the gateway and etcd, the gateway service cannot be started normally, which is not lo

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

2021-01-13 Thread GitBox
Yangzcy423911 commented on issue #3266: URL: https://github.com/apache/apisix/issues/3266#issuecomment-759872647 use curl curl 192.168.1.1/apisix/prometheus/metrics -v * About to connect() to 192.168.1.1 port 80 (#0) * Trying 192.168.1.1... * Connected to 192.168.1.1 (192.168.

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

2021-01-13 Thread GitBox
Yangzcy423911 commented on issue #3266: URL: https://github.com/apache/apisix/issues/3266#issuecomment-759894038 ![image](https://user-images.githubusercontent.com/26598793/104538962-bee8bf80-5657-11eb-8895-35be3b00f3b9.png) ![image](https://user-images.githubusercontent.com/2659879

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

2021-01-13 Thread GitBox
Yangzcy423911 commented on issue #3266: URL: https://github.com/apache/apisix/issues/3266#issuecomment-759899539 I don't know much about the analysis gateway package. Because there is sensitive information (including intranet address), it's not convenient to upload it directly here. I went

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

2021-01-13 Thread GitBox
Yangzcy423911 commented on issue #3266: URL: https://github.com/apache/apisix/issues/3266#issuecomment-759901240 === HTTP/Requests: Topic / Item

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

2021-01-13 Thread GitBox
Yangzcy423911 commented on issue #3266: URL: https://github.com/apache/apisix/issues/3266#issuecomment-759901515 ![image](https://user-images.githubusercontent.com/26598793/104540916-759a6f00-565b-11eb-94ed-e6cd40358966.png) This is about http request, you see -

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

2021-01-13 Thread GitBox
Yangzcy423911 commented on issue #3266: URL: https://github.com/apache/apisix/issues/3266#issuecomment-759968852 Do you want to recompile APISIX directly after modifying the code or just replace the corresponding file and restart the service ---

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

2021-01-13 Thread GitBox
Yangzcy423911 commented on issue #3266: URL: https://github.com/apache/apisix/issues/3266#issuecomment-759974310 I will modifying file /usr/share/lua/5.1/apisix/core/etcd.lua and Add the code you provided above and restart the service. Won't adding this code affect the use of other modul

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

2021-01-13 Thread GitBox
Yangzcy423911 commented on issue #3266: URL: https://github.com/apache/apisix/issues/3266#issuecomment-759976088 Restart and re access the node. The error log is as follows 2021/01/14 15:11:25 [error] 25657#25657: *651 [lua] http.lua:951: request_uri(): unread data in buffer, client:

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

2021-01-13 Thread GitBox
Yangzcy423911 commented on issue #3266: URL: https://github.com/apache/apisix/issues/3266#issuecomment-759977009 about apisix with connected etcd config etcd: host: # it's possible to define multiple etcd hosts addresses of the same etcd cluster. - "

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

2021-01-13 Thread GitBox
Yangzcy423911 commented on issue #3266: URL: https://github.com/apache/apisix/issues/3266#issuecomment-759980224 Call the interface / apimix / Prometheus / metrics to read the key information in etcd. I have modified the prefix. Normally, there is no permission problem --

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

2021-01-13 Thread GitBox
Yangzcy423911 commented on issue #3266: URL: https://github.com/apache/apisix/issues/3266#issuecomment-759984174 After I use the etcd cluster's highest privilege configuration and restart the service, the calling interface returns normal data, which should be the problem of etcd cluster's

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

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

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

2021-01-14 Thread GitBox
Yangzcy423911 commented on issue #3266: URL: https://github.com/apache/apisix/issues/3266#issuecomment-760016496 Here's how I deal with it etcdctl --endpoints='1.1.1.1:2379,2.2.2.2:2379,3.3.3.3:2379' --user root role grant-permission uat-entry-read-write-prefix-apisix --prefix=true