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

Application Exception: Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding. #516

Open
nminaya opened this issue Nov 10, 2022 · 4 comments
Labels
production-bug Bug captured automatically in Production enviroment twitter Related to Twitter Bot

Comments

@nminaya
Copy link
Owner

nminaya commented Nov 10, 2022

This is an issue created automatically by GrammarNazi when an exception was captured.

Date (UTC): 11/10/2022 02:36:27

Exception:

Microsoft.Data.SqlClient.SqlException (0x80131904): Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
---> System.ComponentModel.Win32Exception (258): Unknown error 258
at Microsoft.Data.SqlClient.SqlCommand.<>c.b__188_0(Task1 result) at System.Threading.Tasks.ContinuationResultTaskFromResultTask2.InnerInvoke()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func4 operation, Func4 verifySucceeded, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable1.AsyncEnumerator.MoveNextAsync()
at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable1 source, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable1 source, CancellationToken cancellationToken)
at GrammarNazi.Core.Repositories.EFRepository1.GetAll(Expression1 filter) in /src/GrammarNazi.Core/Repositories/EFRepository.cs:line 43
at GrammarNazi.App.HostedServices.BaseTwitterHostedService.PublishScheduledTweets() in /src/GrammarNazi.App/HostedServices/Twitter/BaseTwitterHostedService.cs:line 57
at GrammarNazi.App.HostedServices.TwitterBotMentionHostedService.ExecuteAsync(CancellationToken stoppingToken) in /src/GrammarNazi.App/HostedServices/Twitter/TwitterBotMentionHostedService.cs:line 142
ClientConnectionId:a0f8c357-36aa-4ce4-be8e-b0358e830225
Error Number:-2,State:0,Class:11

Exception caught counter: 5.

@nminaya nminaya added production-bug Bug captured automatically in Production enviroment twitter Related to Twitter Bot labels Nov 10, 2022
@nminaya
Copy link
Owner Author

nminaya commented Nov 10, 2022

This seems to be an open issue with SqlClient dotnet/SqlClient#1530

I'll just close this issue since it doesn't seem to happen very often.

@bddotbd
Copy link

bddotbd commented Mar 9, 2023

It's happening. I am getting the same problem everyday. I am using docker in redhat server. .net 6. Still i am struggling with this.

@nminaya
Copy link
Owner Author

nminaya commented Mar 10, 2023

@bddotbd Hi, they have an open issue in dotnet/SqlClient#1530

@nminaya nminaya reopened this Mar 23, 2023
@nminaya
Copy link
Owner Author

nminaya commented Mar 23, 2023

Issue still happening #562

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
production-bug Bug captured automatically in Production enviroment twitter Related to Twitter Bot
Projects
None yet
Development

No branches or pull requests

2 participants