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

Index was out of range #21611

Open
1 task done
jiangaixin opened this issue Dec 12, 2024 · 5 comments
Open
1 task done

Index was out of range #21611

jiangaixin opened this issue Dec 12, 2024 · 5 comments

Comments

@jiangaixin
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Description

When using abpframework+OpenIddict+EF core + postgresql, once the RevokeByAuthorizationIdAsyn method in EfCoreOpenIddictTokenRepository is called, the following exception is thrown:
Image
And when in Linux, there may be an infinite loop trigger exception, causing very high memory.
After testing, if ExecuteUpdateAsync in the RevokeByAuthorizationIdAsyn method is changed to ExecuteUpdate, it works. I want to know why. Is it a problem with EF core, Npgsql, or abp?

Reproduction Steps

No response

Expected behavior

No response

Actual behavior

No response

Regression?

No response

Known Workarounds

No response

Version

8.2.1

User Interface

MVC

Database Provider

EF Core (Default)

Tiered or separate authentication server

Separate Auth Server

Operation System

Windows (Default)

Other information

No response

@jiangaixin jiangaixin added the bug label Dec 12, 2024
@maliming
Copy link
Member

hi

Reproduction Steps

@maliming maliming removed the bug label Dec 17, 2024
@jiangaixin
Copy link
Author

@maliming login using the authorization code. after the code is consumed, this exception will occur when the code is consumed again.

@maliming
Copy link
Member

hi

Can you share the details of the steps?

@jiangaixin
Copy link
Author

你好

您能分享这些步骤的详细信息吗?
This problem occurs when you repeatedly call the "/connect/token" interface with the same parameters
image

@jiangaixin
Copy link
Author

You may not be able to catch this exception because of OpenIddict. I discovered it by analyzing the memory dump file on the server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants