Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ErrorEntryFreeException: The order of entry exit can't be paired with the order of entry, current entry in context #1983

Closed
longzhiwuing opened this issue Jan 26, 2021 · 4 comments
Labels
kind/question Category issues related to questions or problems

Comments

@longzhiwuing
Copy link

longzhiwuing commented Jan 26, 2021

Issue Description

bug report

Describe what happened (or what feature you want)

In the SpringBoot(2.1.7) context, when I use dubbo(2.7.8) rpc(injvm) request in controller.There is an exception happend. it says that "com.alibaba.csp.sentinel.ErrorEntryFreeException: The order of entry exit can't be paired with the order of entry, current entry in context: com.xxx.IManageService:executeSql(java.lang.String,java.lang.String), but expected: POST:/v1/manage/executeSql"

Describe what you expected to happen

when I call the Dubbo method which in the same module project (i.e. injvm) in controller. it should be work well

How to reproduce it (as minimally and precisely as possible)

  1. In springboot context
  2. autowire a dubbo proxy instance in a controller.java
  3. In the requestmapping method invoke a dubbo method(injvm)

image

Tell us your environment

springboot:2.1.7
sentinel:1.7.2
dubbo:2.7.8

Anything else we need to know?

In the same controller when i call the real rpc dubbo method(not in the same jvm) it works well

@sczyh30
Copy link
Member

sczyh30 commented Jan 26, 2021

Could you please upgrade Sentinel to 1.8.0 and test whether it still exists in the latest version?

@cdfive
Copy link
Collaborator

cdfive commented Feb 1, 2021

Do you use sentinel-spring-webmvc-adaptor? Also refer to #1482, #1531, #1533
When upgrading you can refer to the release note of 1.8.0 https://github.com/alibaba/Sentinel/releases/tag/v1.8.0
Hope can provide more feedback.

@sczyh30
Copy link
Member

sczyh30 commented Feb 7, 2021

Hi, any further feedback?

@sczyh30 sczyh30 added the kind/question Category issues related to questions or problems label Mar 9, 2021
@sczyh30 sczyh30 closed this as completed Mar 9, 2021
@RoronoaZoro007
Copy link

change the @controller to @RestController

CST11021 pushed a commit to CST11021/Sentinel that referenced this issue Nov 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Category issues related to questions or problems
Projects
None yet
Development

No branches or pull requests

4 participants