alan-turing-institute / AutSPACEs

Code respository for AutSPACEs: the Autistica/Turing citizen science platform
MIT License
34 stars 18 forks source link

try azure's ssh for container access #684

Closed gedankenstuecke closed 1 month ago

gedankenstuecke commented 1 month ago

With these changes it so far still crashes, with the log output below:

2024-05-28T15:49:30.2888559Z 03.49.30.268543
2024-05-28T15:54:58.3641253Z Exception Message : The operation was canceled.
2024-05-28T15:54:58.3944131Z Exception StackTrace :    at System.Net.Http.HttpClient.HandleFailure(Exception , Boolean , HttpResponseMessage , CancellationTokenSource , CancellationToken , CancellationTokenSource )
2024-05-28T15:54:58.3962907Z    at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage , HttpCompletionOption , CancellationTokenSource , Boolean , CancellationTokenSource , CancellationToken )
2024-05-28T15:54:58.3963266Z    at Microsoft.AspNetCore.Proxy.ProxyMiddleware.Invoke(HttpContext context)
2024-05-28T15:54:58.3963440Z    at Kudu.Services.Web.Tracing.TraceMiddleware.Invoke(HttpContext context) in /tmp/KuduLite/Kudu.Services.Web/Tracing/TraceMiddleware.cs:line 107
2024-05-28T15:54:58.4768960Z fail: Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware[1]
2024-05-28T15:54:58.4867158Z       An unhandled exception has occurred while executing the request.
2024-05-28T15:54:58.4867526Z       System.IO.IOException: Unable to read data from the transport connection: Operation canceled.
2024-05-28T15:54:58.4867686Z        ---> System.Net.Sockets.SocketException (125): Operation canceled
2024-05-28T15:54:58.4867831Z          --- End of inner exception stack trace ---
2024-05-28T15:54:58.4867987Z          at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 )
2024-05-28T15:54:58.4868178Z          at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage , Boolean , CancellationToken )
2024-05-28T15:54:58.4868311Z          at Kudu.Services.Web.Tracing.TraceMiddleware.Invoke(HttpContext context) in /tmp/KuduLite/Kudu.Services.Web/Tracing/TraceMiddleware.cs:line 107
2024-05-28T15:54:58.4868458Z          at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
2024-05-28T15:54:58.4868611Z          at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)

Does anyone have an idea for why this happens? Will otherwise next week attend the REG Dropin session to see if they can help :)

github-actions[bot] commented 1 month ago

Coverage report

This PR does not seem to contain any modification to coverable code.

gedankenstuecke commented 1 month ago

Nevermind, it seems there was some caching weirdness of using an outdated container, and now this actually works!