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

When the evaluation is taking a long time, the optimization will not proceed to the next trial. #380

Open
hrntsm opened this issue Jan 29, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@hrntsm
Copy link
Owner

hrntsm commented Jan 29, 2025

Expected behavior

The optimization proceed normaly.

Environment

  • OS: win 11
  • Rhino version: Rhino8
  • Tunny version: 1.0.0 dev

Steps to reproduce

Run optimization that take a long time to evaluate one trial.

Error messages, stack traces, or logs

1/28/2025 10:53:45 PM|Fatal|<>c__DisplayClass17.<startReceiving>b__16|System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host..
                             ---> System.Net.Sockets.SocketException (10054): An existing connection was forcibly closed by the remote host.
                               --- End of inner exception stack trace ---
                               at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
                               at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
                               at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](CancellationToken cancellationToken)
                               at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
                               at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](Memory`1 buffer, CancellationToken cancellationToken)
                               at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
                               at System.Threading.Tasks.ValueTask`1.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state)
                            --- End of stack trace from previous location ---
                               at System.Threading.Tasks.TaskToApm.End[TResult](IAsyncResult asyncResult)
                               at WebSocketSharp.Ext.<>c__DisplayClass9.<ReadBytesAsync>b__8(IAsyncResult ar)

Additional context (optional)

No response

@hrntsm hrntsm added the bug Something isn't working label Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant