[GitHub] [apisix] gy09535 edited a comment on issue #2899: bug: Etcd jwt refresh error can cause gateway cluster crash.

2020-12-03 Thread GitBox
gy09535 edited a comment on issue #2899: URL: https://github.com/apache/apisix/issues/2899#issuecomment-737650987 Fore every auth retch, they will do 32 times fetch from this code ``` while not exiting() and self.running and i <= 32 do i = i + 1 ``` I think this

[GitHub] [apisix] gy09535 edited a comment on issue #2899: bug: Etcd jwt refresh error can cause gateway cluster crash.

2020-12-03 Thread GitBox
gy09535 edited a comment on issue #2899: URL: https://github.com/apache/apisix/issues/2899#issuecomment-737650987 Fore every auth retch, they will do 32 times fetch from this code ``` while not exiting() and self.running and i <= 32 do i = i + 1 ``` I think this

[GitHub] [apisix] gy09535 edited a comment on issue #2899: bug: Etcd jwt refresh error can cause gateway cluster crash.

2020-12-02 Thread GitBox
gy09535 edited a comment on issue #2899: URL: https://github.com/apache/apisix/issues/2899#issuecomment-737713053 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and

[GitHub] [apisix] gy09535 edited a comment on issue #2899: bug: Etcd jwt refresh error can cause gateway cluster crash.

2020-12-02 Thread GitBox
gy09535 edited a comment on issue #2899: URL: https://github.com/apache/apisix/issues/2899#issuecomment-737713053 After I change the sync code ,the etcd auth fail become normal, and the etcd cpu become normal. I think fix this issue should in to direction. one as @spacewander said we c

[GitHub] [apisix] gy09535 edited a comment on issue #2899: bug: Etcd jwt refresh error can cause gateway cluster crash.

2020-12-02 Thread GitBox
gy09535 edited a comment on issue #2899: URL: https://github.com/apache/apisix/issues/2899#issuecomment-737650987 Fore every auth retch, they will do 32 times fetch from this code ``` while not exiting() and self.running and i <= 32 do i = i + 1 ``` I think this

[GitHub] [apisix] gy09535 edited a comment on issue #2899: bug: Etcd jwt refresh error can cause gateway cluster crash.

2020-12-02 Thread GitBox
gy09535 edited a comment on issue #2899: URL: https://github.com/apache/apisix/issues/2899#issuecomment-737229032 > 30~ requests are lower than expected peak number (~40) of requests can be created by 4 workers. But the captured packets show that when the issue occurs, the peak number of r

[GitHub] [apisix] gy09535 edited a comment on issue #2899: bug: Etcd jwt refresh error can cause gateway cluster crash.

2020-12-02 Thread GitBox
gy09535 edited a comment on issue #2899: URL: https://github.com/apache/apisix/issues/2899#issuecomment-737158868 I try to use bad user and I find too many auth request can cause etcd cpu 100% . Apisx render too many auth error in etcd_config.lua ,ref : https://github.com/apache/apisix/bl

[GitHub] [apisix] gy09535 edited a comment on issue #2899: bug: Etcd jwt refresh error can cause gateway cluster crash.

2020-12-02 Thread GitBox
gy09535 edited a comment on issue #2899: URL: https://github.com/apache/apisix/issues/2899#issuecomment-737158868 I try to use bad user and I find too many auth request can cause etcd cpu 100% . Apisx render too many auth error in etcd_config.lua ,ref : https://github.com/apache/apisix/bl

[GitHub] [apisix] gy09535 edited a comment on issue #2899: bug: Etcd jwt refresh error can cause gateway cluster crash.

2020-12-01 Thread GitBox
gy09535 edited a comment on issue #2899: URL: https://github.com/apache/apisix/issues/2899#issuecomment-736940923 > Some interesting results: > > 1. every auth request is terminated after 5 seconds. It is because 5 is hardcoded as timeout value: > https://github.com/api7/lua-r

[GitHub] [apisix] gy09535 edited a comment on issue #2899: bug: Etcd jwt refresh error can cause gateway cluster crash.

2020-12-01 Thread GitBox
gy09535 edited a comment on issue #2899: URL: https://github.com/apache/apisix/issues/2899#issuecomment-736187041 > > @Yiyiyimu @nic-chen welcome to take a look at this issue > > I am not sure different instances use one account can cause etcd auth problem? I read the etcd do

[GitHub] [apisix] gy09535 edited a comment on issue #2899: bug: Etcd jwt refresh error can cause gateway cluster crash.

2020-11-30 Thread GitBox
gy09535 edited a comment on issue #2899: URL: https://github.com/apache/apisix/issues/2899#issuecomment-736213624 > @gy09535 > Can you provide a packet capture file so we can analyze it? [tcp_etcd_01.cap.zip](https://github.com/apache/apisix/files/5620286/tcp_etcd_01.cap.zip)

[GitHub] [apisix] gy09535 edited a comment on issue #2899: bug: Etcd jwt refresh error can cause gateway cluster crash.

2020-11-30 Thread GitBox
gy09535 edited a comment on issue #2899: URL: https://github.com/apache/apisix/issues/2899#issuecomment-736213624 > @gy09535 > Can you provide a packet capture file so we can analyze it? [tcp_etcd_01.cap.zip](https://github.com/apache/apisix/files/5620286/tcp_etcd_01.cap.zip)

[GitHub] [apisix] gy09535 edited a comment on issue #2899: bug: Etcd jwt refresh error can cause gateway cluster crash.

2020-11-30 Thread GitBox
gy09535 edited a comment on issue #2899: URL: https://github.com/apache/apisix/issues/2899#issuecomment-735796493 > what is the error log at APISIX? > > we can sleep more time if failed to refresh JWT auth. Apisix render this error, I think it because of etcd is busy to han

[GitHub] [apisix] gy09535 edited a comment on issue #2899: bug: Etcd jwt refresh error can cause gateway cluster crash.

2020-11-30 Thread GitBox
gy09535 edited a comment on issue #2899: URL: https://github.com/apache/apisix/issues/2899#issuecomment-735796493 > what is the error log at APISIX? > > we can sleep more time if failed to refresh JWT auth. Apisix render this error, I think it because of etcd is busy to handle req

[GitHub] [apisix] gy09535 edited a comment on issue #2899: bug: Etcd jwt refresh error can cause gateway cluster crash.

2020-11-30 Thread GitBox
gy09535 edited a comment on issue #2899: URL: https://github.com/apache/apisix/issues/2899#issuecomment-735796493 > what is the error log at APISIX? > > we can sleep more time if failed to refresh JWT auth. Apisix render this error, I think it because of etcd is busy to handle req