orleans: System.TimeoutException: Response did not arrive on time in 00:00:30 for message
Hi,
I am getting
System.TimeoutException: Response did not arrive on time in 00:00:30 for message: Request [S172.17.48.38:11111:33609578 symactor/666aeb257e2b47c0ae01dab451f3e10d]
I am using ado.net clustering as such
builder.Host.UseOrleans(silo => { silo .UseAdoNetClustering(options => { options.Invariant = "Npgsql"; options.ConnectionString = builder.Configuration.GetConnectionString("postgres"); }) .ConfigureLogging(options => options.SetMinimumLevel(LogLevel.Information)) .AddIncomingGrainCallFilter<LoggingInterceptor>() .AddAdoNetGrainStorage(StateStorageConstants.StorageName, options => { options.Invariant = "Npgsql"; options.ConnectionString = builder.Configuration.GetConnectionString("postgres"); }); });
Can someone help with this?
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 18 (10 by maintainers)
Oh, you perform blocking calls in there. Do you pass other arguments to Task.Factory.StartNew, like
TaskScheduler.Default
? You should use Task.Run if this is what you’re going to do, or consider something like @Kritner’sOrleans.SyncWork
package: https://github.com/OrleansContrib/Orleans.SyncWork