nginx反代请求https://api.weixin.qq.com/sns/oauth2/access_token 接口频繁超时,造成微信公众号登录有时会非常慢
[20/Oct/2021:10:14:04 +0800] 10.6.21.1TCP 200 4176 886 60.243 "101.226.212.27:443" "886" "4176" "0.015"
[20/Oct/2021:10:14:15 +0800] 10.6.21.1TCP 200 3767 886 63.103 "180.97.7.108:443, 101.226.212.27:443" "0, 886" "0, 3767" "-, 0.012"
[20/Oct/2021:10:14:40 +0800] 10.6.21.1TCP 200 4261 2882 106.746 "101.226.212.27:443" "2882" "4261" "0.012"
[20/Oct/2021:10:14:42 +0800] 10.6.21.1TCP 200 3751 1227 60.260 "101.226.212.27:443" "1227" "3751" "0.010"
[20/Oct/2021:10:15:09 +0800] 10.6.21.1TCP 200 4198 726 63.236 "180.97.7.108:443, 101.226.212.27:443" "0, 726" "0, 4198" "-, 0.011"
[20/Oct/2021:10:15:55 +0800] 10.6.21.1TCP 200 4184 917 54.751 "101.226.212.27:443" "917" "4184" "0.009"
[20/Oct/2021:10:16:09 +0800] 10.6.21.1TCP 200 9503 24712 240.990 "101.226.212.27:443" "24712" "9503" "0.010"
[20/Oct/2021:10:16:32 +0800] 10.6.21.1TCP 200 7369 17021 91.414 "101.226.212.27:443" "17021" "7369" "0.009"
[20/Oct/2021:10:17:33 +0800] 10.6.21.1TCP 200 3751 1227 60.244 "101.226.212.27:443" "1227" "3751" "0.014"
[20/Oct/2021:10:17:47 +0800] 10.6.21.1TCP 200 3767 886 60.129 "101.226.212.27:443" "886" "3767" "0.011"
[20/Oct/2021:10:19:04 +0800] 10.6.21.1TCP 200 4215 3047 97.845 "180.97.7.108:443, 101.226.212.27:443" "0, 3047" "0, 4215" "-, 0.012"
[20/Oct/2021:10:19:36 +0800] 10.6.21.1TCP 200 4006 2159 98.053 "101.226.212.27:443" "2159" "4006" "0.014"
[20/Oct/2021:10:19:38 +0800] 10.6.21.1TCP 200 8830 22567 292.429 "101.226.212.27:443" "22567" "8830" "0.013"
[20/Oct/2021:10:20:21 +0800] 10.6.21.1TCP 200 3767 886 63.116 "180.97.7.108:443, 101.226.212.27:443" "0, 886" "0, 3767" "-, 0.011"
[20/Oct/2021:10:21:12 +0800] 10.6.21.1TCP 200 3751 1324 60.264 "101.226.212.27:443" "1324" "3751" "0.014"
[20/Oct/2021:10:21:15 +0800] 10.6.21.1TCP 200 4198 726 60.224 "101.226.212.27:443" "726" "4198" "0.011"
[20/Oct/2021:10:21:20 +0800] 10.6.21.1TCP 200 4199 726 60.241 "101.226.212.27:443" "726" "4199" "0.011"
[20/Oct/2021:10:21:25 +0800] 10.6.21.1TCP 200 4191 886 60.251 "101.226.212.27:443" "886" "4191" "0.013"
[20/Oct/2021:10:21:35 +0800] 10.6.21.1TCP 200 4238 2848 134.335 "101.226.212.27:443" "2848" "4238" "0.011"
[20/Oct/2021:10:22:17 +0800] 10.6.21.1TCP 200 4186 886 60.232 "101.226.212.27:443" "886" "4186" "0.010"
[20/Oct/2021:10:22:20 +0800] 10.6.21.1TCP 200 3983 2256 64.004 "101.226.212.27:443" "2256" "3983" "0.011"
[20/Oct/2021:10:22:39 +0800] 10.6.21.1TCP 200 4911 5398 179.745 "101.226.212.27:443" "5398" "4911" "0.011"
[20/Oct/2021:10:24:20 +0800] 10.6.21.1TCP 200 4212 886 60.207 "101.226.212.27:443" "886" "4212" "0.010"
[20/Oct/2021:10:24:21 +0800] 10.6.21.1TCP 200 4190 886 60.255 "101.226.212.27:443" "886" "4190" "0.013"
[20/Oct/2021:10:24:32 +0800] 10.6.21.1TCP 200 4957 5603 135.944 "101.226.212.27:443" "5603" "4957" "0.010"
[20/Oct/2021:10:24:34 +0800] 10.6.21.1TCP 200 4175 886 60.201 "101.226.212.27:443" "886" "4175" "0.009"
[20/Oct/2021:10:26:12 +0800] 10.6.21.1TCP 200 4183 886 60.258 "101.226.212.27:443" "886" "4183" "0.012"
[20/Oct/2021:10:27:22 +0800] 10.6.21.1TCP 200 3767 886 60.148 "101.226.212.27:443" "886" "3767" "0.012"
[20/Oct/2021:10:27:22 +0800] 10.6.21.1TCP 200 5421 7339 241.339 "101.226.212.27:443" "7339" "5421" "0.006"
[20/Oct/2021:10:27:44 +0800] 10.6.21.1TCP 200 3767 917 39.529 "101.226.212.27:443" "917" "3767" "0.014"
[20/Oct/2021:10:27:44 +0800] 10.6.21.1TCP 200 4198 886 63.250 "180.97.7.108:443, 101.226.212.27:443" "0, 886" "0, 4198" "-, 0.010"
[20/Oct/2021:10:27:58 +0800] 10.6.21.1TCP 200 3767 886 60.121 "101.226.212.27:443" "886" "3767" "0.009"
[20/Oct/2021:10:29:26 +0800] 10.6.21.1TCP 200 4185 917 10.628 "101.226.212.27:443" "917" "4185" "0.010"
[20/Oct/2021:10:29:26 +0800] 10.6.21.1TCP 200 4190 917 19.997 "101.226.212.27:443" "917" "4190" "0.013"
[20/Oct/2021:10:29:41 +0800] 10.6.21.1TCP 200 4169 726 60.255 "101.226.212.27:443" "726" "4169" "0.014"
[20/Oct/2021:10:30:07 +0800] 10.6.21.1TCP 200 4174 917 28.623 "101.226.212.27:443" "917" "4174" "0.011"
[20/Oct/2021:10:31:09 +0800] 10.6.21.1TCP 200 4187 886 60.242 "101.226.212.27:443" "886" "4187" "0.013"
[20/Oct/2021:10:31:33 +0800] 10.6.21.1TCP 200 10431 28097 398.105 "101.226.212.27:443" "28097" "10431" "0.010"
[20/Oct/2021:10:31:52 +0800] 10.6.21.1TCP 200 3767 886 60.149 "101.226.212.27:443" "886" "3767" "0.010"
[20/Oct/2021:10:31:53 +0800] 10.6.21.1TCP 200 11451 31718 566.142 "101.226.212.27:443" "31718" "11451" "0.010"
[20/Oct/2021:10:32:08 +0800] 10.6.21.1TCP 200 4183 886 63.240 "180.97.7.108:443, 101.226.212.27:443" "0, 886" "0, 4183" "-, 0.015"
[20/Oct/2021:10:33:49 +0800] 10.6.21.1TCP 200 4179 917 33.276 "101.226.212.27:443" "917" "4179" "0.009"
[20/Oct/2021:10:33:55 +0800] 10.6.21.1TCP 200 4191 886 60.255 "101.226.212.27:443" "886" "4191" "0.011"
[20/Oct/2021:10:34:06 +0800] 10.6.21.1TCP 200 4194 886 60.237 "101.226.212.27:443" "886" "4194" "0.009"
[20/Oct/2021:10:34:20 +0800] 10.6.21.1TCP 200 3767 886 60.162 "101.226.212.27:443" "886" "3767" "0.009"
[20/Oct/2021:10:34:20 +0800] 10.6.21.1TCP 200 9689 25361 414.183 "101.226.212.27:443" "25361" "9689" "0.012"
[20/Oct/2021:10:34:42 +0800] 10.6.21.1TCP 200 3767 886 60.144 "101.226.212.27:443" "886" "3767" "0.010"
[20/Oct/2021:10:34:42 +0800] 10.6.21.1TCP 200 4725 4408 139.245 "101.226.212.27:443" "4408" "4725" "0.010"
[20/Oct/2021:10:35:47 +0800] 10.6.21.1TCP 200 4447 3948 208.050 "101.226.212.27:443" "3948" "4447" "0.009"
[20/Oct/2021:10:36:41 +0800] 10.6.21.1TCP 200 3751 1194 60.239 "101.226.212.27:443" "1194" "3751" "0.015"
[20/Oct/2021:10:36:56 +0800] 10.6.21.1TCP 200 3997 2122 111.766 "101.226.212.27:443" "2122" "3997" "0.008"
[20/Oct/2021:10:37:47 +0800] 10.6.21.1TCP 200 4182 917 26.353 "101.226.212.27:443" "917" "4182" "0.010"
有官方技术人员帮忙解答下吗?
https://github.com/SituC/wx-nestjs-accesstoken
可以看看这个
你这是accesstoken 没做缓存?