Hello everyone!
We deployed a temporal server on 443 port. I played with examples by this link to setup own worker and paid attention to this method “AddHostedTemporalWorker” from the “TemporalioSamples.AspNet.Worker” example.
When I run my local temporal server then example works and code of my application works well too, but if I try to run the example via deployed server on 443 port then I see following error:
Microsoft.Extensions.Hosting.Internal.Host[9]
BackgroundService failed
System.InvalidOperationException: Connection failed: get_system_info call error after connection: Status { code: Unknown, message: “h2 protocol error: http2 error”, source: Some(tonic::transport::Error(Transport, hyper::Error(Http2, Error { kind: GoAway(b"", FRAME_SIZE_ERROR, Library) }))) }
at Temporalio.Bridge.Client.ConnectAsync(Runtime runtime, TemporalConnectionOptions options)
at Temporalio.Client.TemporalConnection.GetBridgeClientAsync()
at Temporalio.Client.TemporalConnection.ConnectAsync(TemporalConnectionOptions options)
at Temporalio.Client.TemporalClient.ConnectAsync(TemporalClientConnectOptions options)
at Temporalio.Extensions.Hosting.TemporalWorkerService.ExecuteAsync(CancellationToken stoppingToken)
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
At the same time I can successfully run the “TemporalioSamples.ActivitySimple“ project example on the same server.
Looks like that something goes wrong for the “AddHostedTemporalWorker” method.
Any thoughts?
thx in advance