You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/05/26 03:30:54 UTC

[GitHub] [apisix] bingoku opened a new issue, #7136: help request: 升级到 2.14.0后路由匹配错乱,调整优先级也无解,回退到 2.13.1就正常了

bingoku opened a new issue, #7136:
URL: https://github.com/apache/apisix/issues/7136

   ### Description
   
    升级到 2.14.0 后路由匹配错乱,调整优先级也无解,回退到 2.13.1就正常了
   
   不知道如何查询这个问题,求解。
    
   
   ### Environment
   
   apisix version:apache/apisix:2.14.0-centos


-- 
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@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] tzssangglass commented on issue #7136: help request: upgrade to 2.14.0 after the route matching error, adjust the priority also did not solve, back to 2.13.1 on the normal

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #7136:
URL: https://github.com/apache/apisix/issues/7136#issuecomment-1138677582

   > 其实我没做什么调整,这个图就是现在的路由规划。升级到2.14就乱了
   
   Is this image your own dashborad? I'd like to know what you mean by chaos


-- 
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@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] help request: upgrade to 2.14.0 after the route matching error, adjust the priority also did not solve, back to 2.13.1 on the normal [apisix]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #7136:
URL: https://github.com/apache/apisix/issues/7136#issuecomment-1805436602

   This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.


-- 
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@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] badx commented on issue #7136: help request: upgrade to 2.14.0 after the route matching error, adjust the priority also did not solve, back to 2.13.1 on the normal

Posted by GitBox <gi...@apache.org>.
badx commented on issue #7136:
URL: https://github.com/apache/apisix/issues/7136#issuecomment-1158958293

   I'm also get the similar error after upgrade to 2.14.1, and get normal if I downgrade the version to 2.13.1.
   I checked the config by etcd and it looks like the config is correct.
   I deleted all the configuration and added a new route, the problem still exists
   I suspect the problem is caused by the upgrade.
   


-- 
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@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] help request: upgrade to 2.14.0 after the route matching error, adjust the priority also did not solve, back to 2.13.1 on the normal [apisix]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #7136:
URL: https://github.com/apache/apisix/issues/7136#issuecomment-1780806778

   This issue has been marked as stale due to 350 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.


-- 
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@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] tzssangglass commented on issue #7136: help request: upgrade to 2.14.0 after the route matching error, adjust the priority also did not solve, back to 2.13.1 on the normal

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #7136:
URL: https://github.com/apache/apisix/issues/7136#issuecomment-1183920789

   Hi @Fatpa , can you provide a complete reproducible step-by-step? This is important for us to solve this problem.


-- 
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@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] help request: upgrade to 2.14.0 after the route matching error, adjust the priority also did not solve, back to 2.13.1 on the normal [apisix]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #7136: help request: upgrade to 2.14.0 after the route matching error, adjust the priority also did not solve, back to 2.13.1 on the normal
URL: https://github.com/apache/apisix/issues/7136


-- 
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@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] tzssangglass commented on issue #7136: help request: upgrade to 2.14.0 after the route matching error, adjust the priority also did not solve, back to 2.13.1 on the normal

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #7136:
URL: https://github.com/apache/apisix/issues/7136#issuecomment-1186766344

   > * downgrade the version back to 2.13.2, still getting same 302 / 400 / 404 status code
   
   and the error logs related to it


-- 
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@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] bingoku commented on issue #7136: help request: upgrade to 2.14.0 after the route matching error, adjust the priority also did not solve, back to 2.13.1 on the normal

Posted by GitBox <gi...@apache.org>.
bingoku commented on issue #7136:
URL: https://github.com/apache/apisix/issues/7136#issuecomment-1138211482

   > 
   
   <img width="702" alt="image" src="https://user-images.githubusercontent.com/4134788/170431990-f0c78e0d-e192-4ba4-ae76-73707363d45e.png">
   
   其实我没做什么调整,这个图就是现在的路由规划。升级到2.14就乱了。回退到 2.13 是正常的,你说的复现步骤,恐怕不知道怎么给你们展示了。


-- 
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@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] Fatpa commented on issue #7136: help request: upgrade to 2.14.0 after the route matching error, adjust the priority also did not solve, back to 2.13.1 on the normal

Posted by GitBox <gi...@apache.org>.
Fatpa commented on issue #7136:
URL: https://github.com/apache/apisix/issues/7136#issuecomment-1183377001

   We also get the similar error after upgrading to 2.14.1 from 2.11. 
   According to the error logs, I found that some of the queries is mismatched the route when high concurrency simulation (about 600 qps), and got 302 / 400 / 404, etc status code.
   At the same time, we make some tests in different versions, 2.13.1 works well but not 2.13.2.
   
   We don't migrate etcd data but just enable etcd tls.
   


-- 
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@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] tzssangglass commented on issue #7136: help request: upgrade to 2.14.0 after the route matching error, adjust the priority also did not solve, back to 2.13.1 on the normal

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #7136:
URL: https://github.com/apache/apisix/issues/7136#issuecomment-1244789180

   > 路由错乱我前几天也碰到过,之前排查原因估计是etcd连接数超过250,导致curl带tls证书请求缓慢,所以我更换了etcd版本到3.4.20,目前1个星期了为止还没有复现
   > 但目前还是会碰到偶见404,在高并发的场景有一些js和html会出现404,apisix显示请求到后台了,但后台nginx没有打印该请求日志,貌似请求到别的地方了
   > 然后还有一个场景是变更apisix-dashboard的时候,偶尔会出现请求403
   
   There is nothing we can do about the phenomenon but there is no stable recurrence of the steps.


-- 
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@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] tzssangglass commented on issue #7136: help request: upgrade to 2.14.0 after the route matching error, adjust the priority also did not solve, back to 2.13.1 on the normal

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #7136:
URL: https://github.com/apache/apisix/issues/7136#issuecomment-1138188162

   Your description does not provide valid information and I need detailed reproduction steps to be able to reproduce this issue locally.


-- 
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@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] tokers commented on issue #7136: help request: upgrade to 2.14.0 after the route matching error, adjust the priority also did not solve, back to 2.13.1 on the normal

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #7136:
URL: https://github.com/apache/apisix/issues/7136#issuecomment-1139173839

   Also, some descriptions about the disorder of route matching are desired, so that we can know a request that should hit route A hits route B.


-- 
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@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] tzssangglass commented on issue #7136: help request: upgrade to 2.14.0 after the route matching error, adjust the priority also did not solve, back to 2.13.1 on the normal

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #7136:
URL: https://github.com/apache/apisix/issues/7136#issuecomment-1138691386

   > 升级到2.14就乱了。回退到 2.13 是正常的,你说的复现步骤,恐怕不知道怎么给你们展示了。
   
   As far as I know, the APISIX admin API in 2.14.0 is not significantly tweaked.
   
   I need to know.
   
   1, what exactly do you mean by confusion? admin API returns inaccurate data? Or what?
   
   2. the reproduction step is to describe clearly how the problem occurred, so that I can use the same steps (what was done on which version of APISIX, what data was used, what the data looked like, step by step objective and detailed description of your behavior and the observed phenomena)


-- 
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@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] tzssangglass commented on issue #7136: help request: upgrade to 2.14.0 after the route matching error, adjust the priority also did not solve, back to 2.13.1 on the normal

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #7136:
URL: https://github.com/apache/apisix/issues/7136#issuecomment-1186510516

   ok, I will check this issue and #7449 together.


-- 
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@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] Fatpa commented on issue #7136: help request: upgrade to 2.14.0 after the route matching error, adjust the priority also did not solve, back to 2.13.1 on the normal

Posted by GitBox <gi...@apache.org>.
Fatpa commented on issue #7136:
URL: https://github.com/apache/apisix/issues/7136#issuecomment-1186459381

   > 
   
   Would you like to talk on slack or WeChat? Our production environment is a bit complex, and I can't show much here. 


-- 
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@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] tokers commented on issue #7136: help request: upgrade to 2.14.0 after the route matching error, adjust the priority also did not solve, back to 2.13.1 on the normal

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #7136:
URL: https://github.com/apache/apisix/issues/7136#issuecomment-1159605015

   @spacewander @tzssangglass Do you have any idea about this?


-- 
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@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] tzssangglass commented on issue #7136: help request: upgrade to 2.14.0 after the route matching error, adjust the priority also did not solve, back to 2.13.1 on the normal

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #7136:
URL: https://github.com/apache/apisix/issues/7136#issuecomment-1138684745

   > I got the error of the route which enabled plugin openid-connect(base on keycloak) . And it always redirect to uri `/auth`.
   > Such as xxxx.xx.com/auth
   
   Your problem is not related to this issue, please submit a new issue and give the steps to reproduce it.


-- 
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@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] enuoCM commented on issue #7136: help request: upgrade to 2.14.0 after the route matching error, adjust the priority also did not solve, back to 2.13.1 on the normal

Posted by GitBox <gi...@apache.org>.
enuoCM commented on issue #7136:
URL: https://github.com/apache/apisix/issues/7136#issuecomment-1308674298

   > 3.4.2
   
   Hi, 你配置的上游服务是不是有http,也有https?


-- 
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@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] tzssangglass commented on issue #7136: help request: upgrade to 2.14.0 after the route matching error, adjust the priority also did not solve, back to 2.13.1 on the normal

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #7136:
URL: https://github.com/apache/apisix/issues/7136#issuecomment-1159659872

   > @spacewander @tzssangglass Do you have any idea about this?
   
   I've gathered similar information from other channels, but there is no reproducible demo, and I've noticed one detail: one of the steps is to migrate etcd data.


-- 
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@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] bingoku commented on issue #7136: help request: upgrade to 2.14.0 after the route matching error, adjust the priority also did not solve, back to 2.13.1 on the normal

Posted by GitBox <gi...@apache.org>.
bingoku commented on issue #7136:
URL: https://github.com/apache/apisix/issues/7136#issuecomment-1139215803

   > 
   
   你看上图我的规划路由 A 本来应该访问到 B,但是会访问到了 C D E 感觉像是 host 没匹配到。
   我尝试过 指定service 的 host、router 的host,以及他们的优先级都没有解决 2.14 中的错乱。
   
   经过上述操作后,我回滚2.13.1后就恢复正常了。
   
   


-- 
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@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] lemonrains commented on issue #7136: help request: upgrade to 2.14.0 after the route matching error, adjust the priority also did not solve, back to 2.13.1 on the normal

Posted by GitBox <gi...@apache.org>.
lemonrains commented on issue #7136:
URL: https://github.com/apache/apisix/issues/7136#issuecomment-1139191588

   > > I got the error of the route which enabled plugin openid-connect(base on keycloak) . And it always redirect to uri `/auth`.
   > > Such as xxxx.xx.com/auth
   > 
   > Your problem is not related to this issue, please submit a new issue and give the steps to reproduce it.
   
   Thank you for your reply. Finally I config response-rewrite plugin in order to redirect to `/`. Maybe it's my mistake, I'll check it later if it's relate to the new version.


-- 
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@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] iori0758 commented on issue #7136: help request: upgrade to 2.14.0 after the route matching error, adjust the priority also did not solve, back to 2.13.1 on the normal

Posted by GitBox <gi...@apache.org>.
iori0758 commented on issue #7136:
URL: https://github.com/apache/apisix/issues/7136#issuecomment-1240276502

   the route matching wrong did happen on my server,Maybe caused by etcd's connection is too many,now i changed etcd version to 3.4.20, it is normal so far
   https://github.com/etcd-io/etcd/issues/14185
   https://github.com/etcd-io/etcd/pull/14081
   but 404 status still appear sometime,it just happed on high concurrency situation
   
   apisix:2.14.1
   etcd:3.4.20
   
   路由错乱我前几天也碰到过,之前排查原因估计是etcd连接数超过250,导致curl带tls证书请求缓慢,所以我更换了etcd版本到3.4.20,目前1个星期了为止还没有复现
   但目前还是会碰到偶见404,在高并发的场景有一些js和html会出现404,apisix显示请求到后台了,但后台nginx没有打印该请求日志,貌似请求到别的地方了
   然后还有一个场景是变更apisix-dashboard的时候,偶尔会出现请求403
   


-- 
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@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] tzssangglass commented on issue #7136: help request: upgrade to 2.14.0 after the route matching error, adjust the priority also did not solve, back to 2.13.1 on the normal

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #7136:
URL: https://github.com/apache/apisix/issues/7136#issuecomment-1308717988

   > Hi, 你配置的上游服务是不是有http,也有https?我们使用2.14.1这个版本,如果上游有http和https的话,就100%重现路由乱匹配的问题。
   
   maybe fixed by #7466


-- 
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@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] tokers commented on issue #7136: help request: upgrade to 2.14.0 after the route matching error, adjust the priority also did not solve, back to 2.13.1 on the normal

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #7136:
URL: https://github.com/apache/apisix/issues/7136#issuecomment-1139435932

   > > 
   > 
   > 你看上图我的规划路由 A 本来应该访问到 B,但是会访问到了 C D E 感觉像是 host 没匹配到。 我尝试过 指定service 的 host、router 的host,以及他们的优先级都没有解决 2.14 中的错乱。
   > 
   > 经过上述操作后,我回滚2.13.1后就恢复正常了。
   
   This is useless for troubleshooting. Could you show some configs for us so that we can reproduce it?


-- 
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@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] bingoku commented on issue #7136: help request: upgrade to 2.14.0 after the route matching error, adjust the priority also did not solve, back to 2.13.1 on the normal

Posted by GitBox <gi...@apache.org>.
bingoku commented on issue #7136:
URL: https://github.com/apache/apisix/issues/7136#issuecomment-1140817541

   > > > 
   > > 
   > > 
   > > 你看上图我的规划路由 A 本来应该访问到 B,但是会访问到了 C D E 感觉像是 host 没匹配到。 我尝试过 指定service 的 host、router 的host,以及他们的优先级都没有解决 2.14 中的错乱。
   > > 经过上述操作后,我回滚2.13.1后就恢复正常了。
   > 
   > This is useless for troubleshooting. Could you show some configs for us so that we can reproduce it?
   
   如何提供更多信息?有其它沟通方式吗?微信什么,我这边是 100% 可与复现。


-- 
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@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] lemonrains commented on issue #7136: help request: upgrade to 2.14.0 after the route matching error, adjust the priority also did not solve, back to 2.13.1 on the normal

Posted by GitBox <gi...@apache.org>.
lemonrains commented on issue #7136:
URL: https://github.com/apache/apisix/issues/7136#issuecomment-1138634626

   I'm also get the similar error after upgrade to 2.14.0, and get normal if I downgrade the version to 2.13.1.
   
   I got the error of the route which enabled  plugin openid-connect(base on keycloak) . And it  always redirect to uri  `/auth`.
   Such as xxxx.xx.com/auth


-- 
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@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] tzssangglass commented on issue #7136: help request: upgrade to 2.14.0 after the route matching error, adjust the priority also did not solve, back to 2.13.1 on the normal

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #7136:
URL: https://github.com/apache/apisix/issues/7136#issuecomment-1186764717

   from: https://github.com/apache/apisix/issues/7449#issuecomment-1186745379
   
   Can you give the content and header of the response when a 302 / 400 / 404 status code appears?
   
   


-- 
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@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org