Skip to content

Fix "Cannot access Disposed Object" exception when accessing HttpClient in GitHubWebHook AWS Lambda Function #19

New issue

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

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

Already on GitHub? # to your account

Open
johnt84 opened this issue Jan 19, 2023 · 0 comments

Comments

@johnt84
Copy link
Owner

johnt84 commented Jan 19, 2023

When the GitHub Web Hook AWS Lambda Function is first called then the expected result is returned but if the GitHub Web Hook AWS Lambda Function is called again within a short time (i.e. 15 mins) then "Cannot access Disposed Object" exception is raised when trying to access the HttpClient.

image

Have asked this question as a discussion on the AWS Lambda Dotnet repo

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

No branches or pull requests

1 participant