AvaloniaUI/AvaloniaVSCode

[Bug] Preview is broken, if I change layout of preview pane

Opened this issue · 2 comments

Describe the bug

Hi everyone!
My third problem is the preview panel. When I change the size of the preview panel itself, the preview server shuts down and the connection between xaml and the preview is broken.

To Reproduce

  1. Open .axaml file
  2. Press preview button
  3. Change layout of preview pane
  4. See logs

Avalonia for VS Code

0.0.27

Avalonia version

11.0.7

VS Code version

1.85.1

Relevant log output

2024-01-18 21:38:55.438 [info] Command avalonia.previewProcess, file:///c%3A/Users/Sobirjon/Desktop/Projects/selfscale2/SelfScale/Views/InputPasswordWindow.axaml
2024-01-18 21:38:55.438 [info] PreviewServer.start c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.dll
2024-01-18 21:38:55.447 [info] Previewer process started with args: exec,--runtimeconfig "c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.runtimeconfig.json",--depsfile "c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.deps.json" "C:\Users\Sobirjon\.nuget\packages\avalonia\11.0.6\tools\netcoreapp2.0\designer\Avalonia.Designer.HostApp.dll",--method avalonia-remote,--transport tcp-bson://127.0.0.1:8001/,--method html,--html-url http://127.0.0.1:8000,"c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.dll"
2024-01-18 21:38:55.447 [info] Preview server listening on port 8001
2024-01-18 21:38:55.448 [info] Show Preview to side: file:///c%3A/Users/Sobirjon/Desktop/Projects/selfscale2/SelfScale/Views/InputPasswordWindow.axaml
2024-01-18 21:38:55.757 [info] Preview server connected on port 8001
2024-01-18 21:38:55.757 [info] Preview server connected on port 8001
2024-01-18 21:38:55.757 [info] Preview server connected on port 8001
2024-01-18 21:38:55.758 [info] Preview server connected on port 8001
2024-01-18 21:38:55.758 [info] Preview server connected on port 8001
2024-01-18 21:38:55.758 [info] Preview server connected on port 8001
2024-01-18 21:38:55.758 [info] Preview server connected on port 8001
2024-01-18 21:38:55.758 [info] Preview server connected on port 8001
2024-01-18 21:38:55.758 [info] Preview server connected on port 8001
2024-01-18 21:38:55.758 [info] Preview server connected on port 8001
2024-01-18 21:38:55.759 [info] Preview server connected on port 8001
2024-01-18 21:38:55.759 [info] Preview server connected on port 8001
2024-01-18 21:38:55.759 [info] Preview server connected on port 8001
2024-01-18 21:38:55.759 [info] Preview server connected on port 8001
2024-01-18 21:38:55.759 [info] Preview server connected on port 8001
2024-01-18 21:38:55.759 [info] Preview server connected on port 8001
2024-01-18 21:38:55.760 [info] Preview server connected on port 8001
2024-01-18 21:38:55.760 [info] Preview server connected on port 8001
2024-01-18 21:38:55.770 [info] Initializing application in design mode

2024-01-18 21:38:55.783 [info] Obtaining AppBuilder instance from SelfScale.Program

2024-01-18 21:38:55.932 [info] {"Uri":"http://127.0.0.1:8000/"}
2024-01-18 21:38:55.933 [info] {"Uri":"http://127.0.0.1:8000/"}
2024-01-18 21:38:55.933 [info] {"Uri":"http://127.0.0.1:8000/"}
2024-01-18 21:38:55.933 [info] {"Uri":"http://127.0.0.1:8000/"}
2024-01-18 21:38:55.933 [info] {"Uri":"http://127.0.0.1:8000/"}
2024-01-18 21:38:55.933 [info] {"Uri":"http://127.0.0.1:8000/"}
2024-01-18 21:38:55.933 [info] {"Uri":"http://127.0.0.1:8000/"}
2024-01-18 21:38:55.933 [info] {"Uri":"http://127.0.0.1:8000/"}
2024-01-18 21:38:55.933 [info] {"Uri":"http://127.0.0.1:8000/"}
2024-01-18 21:38:55.933 [info] {"Uri":"http://127.0.0.1:8000/"}
2024-01-18 21:38:55.933 [info] {"Uri":"http://127.0.0.1:8000/"}
2024-01-18 21:38:55.933 [info] {"Uri":"http://127.0.0.1:8000/"}
2024-01-18 21:38:55.933 [info] {"Uri":"http://127.0.0.1:8000/"}
2024-01-18 21:38:55.933 [info] {"Uri":"http://127.0.0.1:8000/"}
2024-01-18 21:38:55.933 [info] {"Uri":"http://127.0.0.1:8000/"}
2024-01-18 21:38:55.933 [info] {"Uri":"http://127.0.0.1:8000/"}
2024-01-18 21:38:55.933 [info] {"Uri":"http://127.0.0.1:8000/"}
2024-01-18 21:38:55.933 [info] {"Uri":"http://127.0.0.1:8000/"}
2024-01-18 21:38:56.348 [info] Sending StartDesignerSessionMessage

2024-01-18 21:38:56.350 [info] {"SessionId":"2873fb5f-6a99-40ae-ace7-3304a7cf9ed3"}
2024-01-18 21:38:56.350 [info] Start designer session message received.
2024-01-18 21:38:56.350 [info] {"SessionId":"2873fb5f-6a99-40ae-ace7-3304a7cf9ed3"}
2024-01-18 21:38:56.350 [info] {"SessionId":"2873fb5f-6a99-40ae-ace7-3304a7cf9ed3"}
2024-01-18 21:38:56.350 [info] Start designer session message received.
2024-01-18 21:38:56.351 [info] {"SessionId":"2873fb5f-6a99-40ae-ace7-3304a7cf9ed3"}
2024-01-18 21:38:56.351 [info] {"SessionId":"2873fb5f-6a99-40ae-ace7-3304a7cf9ed3"}
2024-01-18 21:38:56.351 [info] Start designer session message received.
2024-01-18 21:38:56.351 [info] {"SessionId":"2873fb5f-6a99-40ae-ace7-3304a7cf9ed3"}
2024-01-18 21:38:56.351 [info] {"SessionId":"2873fb5f-6a99-40ae-ace7-3304a7cf9ed3"}
2024-01-18 21:38:56.351 [info] Start designer session message received.
2024-01-18 21:38:56.351 [info] {"SessionId":"2873fb5f-6a99-40ae-ace7-3304a7cf9ed3"}
2024-01-18 21:38:56.351 [info] {"SessionId":"2873fb5f-6a99-40ae-ace7-3304a7cf9ed3"}
2024-01-18 21:38:56.351 [info] Start designer session message received.
2024-01-18 21:38:56.351 [info] {"SessionId":"2873fb5f-6a99-40ae-ace7-3304a7cf9ed3"}
2024-01-18 21:38:56.351 [info] {"SessionId":"2873fb5f-6a99-40ae-ace7-3304a7cf9ed3"}
2024-01-18 21:38:56.351 [info] Start designer session message received.
2024-01-18 21:38:56.351 [info] {"SessionId":"2873fb5f-6a99-40ae-ace7-3304a7cf9ed3"}
2024-01-18 21:38:56.351 [info] {"SessionId":"2873fb5f-6a99-40ae-ace7-3304a7cf9ed3"}
2024-01-18 21:38:56.351 [info] Start designer session message received.
2024-01-18 21:38:56.351 [info] {"SessionId":"2873fb5f-6a99-40ae-ace7-3304a7cf9ed3"}
2024-01-18 21:38:56.351 [info] {"SessionId":"2873fb5f-6a99-40ae-ace7-3304a7cf9ed3"}
2024-01-18 21:38:56.351 [info] Start designer session message received.
2024-01-18 21:38:56.352 [info] {"SessionId":"2873fb5f-6a99-40ae-ace7-3304a7cf9ed3"}
2024-01-18 21:38:56.352 [info] {"SessionId":"2873fb5f-6a99-40ae-ace7-3304a7cf9ed3"}
2024-01-18 21:38:56.352 [info] Start designer session message received.
2024-01-18 21:38:56.352 [info] {"SessionId":"2873fb5f-6a99-40ae-ace7-3304a7cf9ed3"}
2024-01-18 21:38:57.432 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:38:57.432 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:38:57.432 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:38:57.432 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:38:57.432 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:38:57.433 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:38:57.433 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:38:57.433 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:38:57.433 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:38:57.433 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:38:57.433 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:38:57.433 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:38:57.433 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:38:57.433 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:38:57.433 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:38:57.433 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:38:57.434 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:38:57.434 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:02.824 [info] System.IO.EndOfStreamException: Attempted to read past the end of the stream.
   at Avalonia.DesignerSupport.Remote.HtmlTransport.SimpleWebSocket.ReadExact(Stream from, Byte[] to, Int32 offset, Int32 length)
   at Avalonia.DesignerSupport.Remote.HtmlTransport.SimpleWebSocket.ReadFrame()
   at Avalonia.DesignerSupport.Remote.HtmlTransport.SimpleWebSocket.ReceiveMessage()
   at Avalonia.DesignerSupport.Remote.HtmlTransport.HtmlWebSocketTransport.SocketReceiveWorker(SimpleWebSocket socket)

2024-01-18 21:39:07.580 [info] System.IO.EndOfStreamException: Attempted to read past the end of the stream.
   at Avalonia.DesignerSupport.Remote.HtmlTransport.SimpleWebSocket.ReadExact(Stream from, Byte[] to, Int32 offset, Int32 length)
   at Avalonia.DesignerSupport.Remote.HtmlTransport.SimpleWebSocket.ReadFrame()
   at Avalonia.DesignerSupport.Remote.HtmlTransport.SimpleWebSocket.ReceiveMessage()
   at Avalonia.DesignerSupport.Remote.HtmlTransport.HtmlWebSocketTransport.SocketReceiveWorker(SimpleWebSocket socket)

2024-01-18 21:39:07.827 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:07.827 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:07.827 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:07.827 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:07.828 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:07.828 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:07.828 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:07.828 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:07.828 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:07.828 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:07.828 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:07.828 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:07.828 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:07.828 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:07.828 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:07.828 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:07.828 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:07.828 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:07.846 [info] System.IO.IOException: Unable to write data to the transport connection: �ணࠬ�� �� ��襬 ���-�������� ࠧ�ࢠ�� ��⠭�������� ������祭��..
 ---> System.Net.Sockets.SocketException (10053): �ணࠬ�� �� ��襬 ���-�������� ࠧ�ࢠ�� ��⠭�������� ������祭��.
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.CreateException(SocketError error, Boolean forAsyncThrow)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.SendAsyncForNetworkStream(Socket socket, CancellationToken cancellationToken)
   at System.Net.Sockets.NetworkStream.WriteAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken)
   at System.IO.Stream.WriteAsync(Byte[] buffer, Int32 offset, Int32 count)
   at Avalonia.DesignerSupport.Remote.HtmlTransport.SimpleWebSocket.SendFrame(FrameType type, Byte[] data, Int32 offset, Int32 length)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Avalonia.DesignerSupport.Remote.HtmlTransport.SimpleWebSocket.SendFrame(FrameType type, Byte[] data, Int32 offset, Int32 length)
   at Avalonia.DesignerSupport.Remote.HtmlTransport.SimpleWebSocket.SendMessage(Boolean isText, Byte[] data, Int32 offset, Int32 length)
   at Avalonia.DesignerSupport.Remote.HtmlTransport.SimpleWebSocket.SendMessage(Boolean isText, Byte[] data)
   at Avalonia.DesignerSupport.Remote.HtmlTransport.SimpleWebSocket.SendMessage(String text)
   at Avalonia.DesignerSupport.Remote.HtmlTransport.HtmlWebSocketTransport.SocketWorker()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Avalonia.DesignerSupport.Remote.HtmlTransport.HtmlWebSocketTransport.SocketWorker()
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
--- End of stack trace from previous location ---

   --- End of inner exception stack trace ---
   at Avalonia.DesignerSupport.Remote.HtmlTransport.SimpleWebSocket.SendFrame(FrameType type, Byte[] data, Int32 offset, Int32 length)
   at Avalonia.DesignerSupport.Remote.HtmlTransport.HtmlWebSocketTransport.SocketWorker()

2024-01-18 21:39:27.403 [info] System.IO.EndOfStreamException: Attempted to read past the end of the stream.
   at Avalonia.DesignerSupport.Remote.HtmlTransport.SimpleWebSocket.ReadExact(Stream from, Byte[] to, Int32 offset, Int32 length)
   at Avalonia.DesignerSupport.Remote.HtmlTransport.SimpleWebSocket.ReadFrame()
   at Avalonia.DesignerSupport.Remote.HtmlTransport.SimpleWebSocket.ReceiveMessage()
   at Avalonia.DesignerSupport.Remote.HtmlTransport.HtmlWebSocketTransport.SocketReceiveWorker(SimpleWebSocket socket)

2024-01-18 21:39:27.600 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:27.600 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:27.600 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:27.600 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:27.600 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:27.600 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:27.601 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:27.601 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:27.601 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:27.601 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:27.601 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:27.601 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:27.601 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:27.601 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:27.601 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:27.601 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:27.601 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:27.601 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:30.348 [info] System.IO.EndOfStreamException: Attempted to read past the end of the stream.
   at Avalonia.DesignerSupport.Remote.HtmlTransport.SimpleWebSocket.ReadExact(Stream from, Byte[] to, Int32 offset, Int32 length)
   at Avalonia.DesignerSupport.Remote.HtmlTransport.SimpleWebSocket.ReadFrame()
   at Avalonia.DesignerSupport.Remote.HtmlTransport.SimpleWebSocket.ReceiveMessage()
   at Avalonia.DesignerSupport.Remote.HtmlTransport.HtmlWebSocketTransport.SocketReceiveWorker(SimpleWebSocket socket)

2024-01-18 21:39:34.370 [info] Previwer panel disposed
2024-01-18 21:39:34.371 [info] System.IO.EndOfStreamException: Attempted to read past the end of the stream.
   at Avalonia.DesignerSupport.Remote.HtmlTransport.SimpleWebSocket.ReadExact(Stream from, Byte[] to, Int32 offset, Int32 length)
   at Avalonia.DesignerSupport.Remote.HtmlTransport.SimpleWebSocket.ReadFrame()
   at Avalonia.DesignerSupport.Remote.HtmlTransport.SimpleWebSocket.ReceiveMessage()
   at Avalonia.DesignerSupport.Remote.HtmlTransport.HtmlWebSocketTransport.SocketReceiveWorker(SimpleWebSocket socket)

2024-01-18 21:39:34.549 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:34.549 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:34.549 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:34.549 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:34.549 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:34.549 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:34.549 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:34.549 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:34.549 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:34.549 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:34.549 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:34.549 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:34.549 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:34.550 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:34.550 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:34.550 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:34.550 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:34.550 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:34.599 [info] Preview server error: Error: read ECONNRESET
2024-01-18 21:39:34.599 [info] Preview server error: Error: read ECONNRESET
2024-01-18 21:39:34.599 [info] Preview server error: Error: read ECONNRESET
2024-01-18 21:39:34.599 [info] Preview server error: Error: read ECONNRESET
2024-01-18 21:39:34.600 [info] Preview server error: Error: read ECONNRESET
2024-01-18 21:39:34.600 [info] Preview server error: Error: read ECONNRESET
2024-01-18 21:39:34.600 [info] Preview server error: Error: read ECONNRESET
2024-01-18 21:39:34.600 [info] Preview server error: Error: read ECONNRESET
2024-01-18 21:39:34.600 [info] Preview server error: Error: read ECONNRESET
2024-01-18 21:39:34.600 [info] Preview server error: Error: read ECONNRESET
2024-01-18 21:39:34.600 [info] Preview server error: Error: read ECONNRESET
2024-01-18 21:39:34.600 [info] Preview server error: Error: read ECONNRESET
2024-01-18 21:39:34.600 [info] Preview server error: Error: read ECONNRESET
2024-01-18 21:39:34.601 [info] Preview server error: Error: read ECONNRESET
2024-01-18 21:39:34.601 [info] Preview server error: Error: read ECONNRESET
2024-01-18 21:39:34.601 [info] Preview server error: Error: read ECONNRESET
2024-01-18 21:39:34.601 [info] Preview server error: Error: read ECONNRESET
2024-01-18 21:39:34.601 [info] Preview server error: Error: read ECONNRESET
2024-01-18 21:39:34.603 [info] Preview server closed for c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.dll
2024-01-18 21:39:34.604 [info] Preview server closed for c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.dll
2024-01-18 21:39:34.604 [info] Preview server closed for c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.dll
2024-01-18 21:39:34.604 [info] Preview server closed for c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.dll
2024-01-18 21:39:34.604 [info] Preview server closed for c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.dll
2024-01-18 21:39:34.605 [info] Preview server closed for c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.dll
2024-01-18 21:39:34.605 [info] Preview server closed for c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.dll
2024-01-18 21:39:34.605 [info] Preview server closed for c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.dll
2024-01-18 21:39:34.606 [info] Preview server closed for c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.dll
2024-01-18 21:39:34.606 [info] Preview server closed for c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.dll
2024-01-18 21:39:34.606 [info] Preview server closed for c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.dll
2024-01-18 21:39:34.606 [info] Preview server closed for c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.dll
2024-01-18 21:39:34.606 [info] Preview server closed for c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.dll
2024-01-18 21:39:34.607 [info] Preview server closed for c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.dll
2024-01-18 21:39:34.607 [info] Preview server closed for c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.dll
2024-01-18 21:39:34.607 [info] Preview server closed for c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.dll
2024-01-18 21:39:34.607 [info] Preview server closed for c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.dll
2024-01-18 21:39:34.608 [info] Preview server closed for c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.dll
2024-01-18 21:39:34.609 [info] Previewer process exited with code 1
2024-01-18 21:39:37.000 [info] Command avalonia.previewProcess, file:///c%3A/Users/Sobirjon/Desktop/Projects/selfscale2/SelfScale/Views/InputPasswordWindow.axaml
2024-01-18 21:39:37.001 [info] PreviewServer.start c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.dll
2024-01-18 21:39:37.010 [info] Previewer process started with args: exec,--runtimeconfig "c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.runtimeconfig.json",--depsfile "c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.deps.json" "C:\Users\Sobirjon\.nuget\packages\avalonia\11.0.6\tools\netcoreapp2.0\designer\Avalonia.Designer.HostApp.dll",--method avalonia-remote,--transport tcp-bson://127.0.0.1:8001/,--method html,--html-url http://127.0.0.1:8000,"c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.dll"
2024-01-18 21:39:37.010 [info] Preview server listening on port 8001
2024-01-18 21:39:37.012 [info] Show Preview to side: file:///c%3A/Users/Sobirjon/Desktop/Projects/selfscale2/SelfScale/Views/InputPasswordWindow.axaml
2024-01-18 21:39:37.213 [info] Preview server connected on port 8001
2024-01-18 21:39:37.213 [info] Preview server connected on port 8001
2024-01-18 21:39:37.213 [info] Preview server connected on port 8001
2024-01-18 21:39:37.213 [info] Preview server connected on port 8001
2024-01-18 21:39:37.213 [info] Preview server connected on port 8001
2024-01-18 21:39:37.213 [info] Preview server connected on port 8001
2024-01-18 21:39:37.213 [info] Preview server connected on port 8001
2024-01-18 21:39:37.214 [info] Preview server connected on port 8001
2024-01-18 21:39:37.214 [info] Preview server connected on port 8001
2024-01-18 21:39:37.214 [info] Preview server connected on port 8001
2024-01-18 21:39:37.214 [info] Preview server connected on port 8001
2024-01-18 21:39:37.214 [info] Preview server connected on port 8001
2024-01-18 21:39:37.214 [info] Preview server connected on port 8001
2024-01-18 21:39:37.214 [info] Preview server connected on port 8001
2024-01-18 21:39:37.214 [info] Preview server connected on port 8001
2024-01-18 21:39:37.214 [info] Preview server connected on port 8001
2024-01-18 21:39:37.214 [info] Preview server connected on port 8001
2024-01-18 21:39:37.215 [info] Preview server connected on port 8001
2024-01-18 21:39:37.215 [info] Preview server connected on port 8001
2024-01-18 21:39:37.230 [info] Initializing application in design mode

2024-01-18 21:39:37.248 [info] Obtaining AppBuilder instance from SelfScale.Program

2024-01-18 21:39:37.402 [info] {"Uri":"http://127.0.0.1:8000/"}
2024-01-18 21:39:37.402 [info] {"Uri":"http://127.0.0.1:8000/"}
2024-01-18 21:39:37.402 [info] {"Uri":"http://127.0.0.1:8000/"}
2024-01-18 21:39:37.402 [info] {"Uri":"http://127.0.0.1:8000/"}
2024-01-18 21:39:37.402 [info] {"Uri":"http://127.0.0.1:8000/"}
2024-01-18 21:39:37.402 [info] {"Uri":"http://127.0.0.1:8000/"}
2024-01-18 21:39:37.403 [info] {"Uri":"http://127.0.0.1:8000/"}
2024-01-18 21:39:37.403 [info] {"Uri":"http://127.0.0.1:8000/"}
2024-01-18 21:39:37.403 [info] {"Uri":"http://127.0.0.1:8000/"}
2024-01-18 21:39:37.403 [info] {"Uri":"http://127.0.0.1:8000/"}
2024-01-18 21:39:37.403 [info] {"Uri":"http://127.0.0.1:8000/"}
2024-01-18 21:39:37.403 [info] {"Uri":"http://127.0.0.1:8000/"}
2024-01-18 21:39:37.403 [info] {"Uri":"http://127.0.0.1:8000/"}
2024-01-18 21:39:37.403 [info] {"Uri":"http://127.0.0.1:8000/"}
2024-01-18 21:39:37.403 [info] {"Uri":"http://127.0.0.1:8000/"}
2024-01-18 21:39:37.403 [info] {"Uri":"http://127.0.0.1:8000/"}
2024-01-18 21:39:37.403 [info] {"Uri":"http://127.0.0.1:8000/"}
2024-01-18 21:39:37.404 [info] {"Uri":"http://127.0.0.1:8000/"}
2024-01-18 21:39:37.404 [info] {"Uri":"http://127.0.0.1:8000/"}
2024-01-18 21:39:37.899 [info] Sending StartDesignerSessionMessage

2024-01-18 21:39:37.901 [info] {"SessionId":"f0d10fc6-f6c5-40a2-8b53-7d6bbd08dd64"}
2024-01-18 21:39:37.901 [info] Start designer session message received.
2024-01-18 21:39:37.901 [info] {"SessionId":"f0d10fc6-f6c5-40a2-8b53-7d6bbd08dd64"}
2024-01-18 21:39:37.901 [info] {"SessionId":"f0d10fc6-f6c5-40a2-8b53-7d6bbd08dd64"}
2024-01-18 21:39:37.901 [info] Start designer session message received.
2024-01-18 21:39:37.902 [info] {"SessionId":"f0d10fc6-f6c5-40a2-8b53-7d6bbd08dd64"}
2024-01-18 21:39:37.902 [info] {"SessionId":"f0d10fc6-f6c5-40a2-8b53-7d6bbd08dd64"}
2024-01-18 21:39:37.902 [info] Start designer session message received.
2024-01-18 21:39:37.902 [info] {"SessionId":"f0d10fc6-f6c5-40a2-8b53-7d6bbd08dd64"}
2024-01-18 21:39:37.902 [info] {"SessionId":"f0d10fc6-f6c5-40a2-8b53-7d6bbd08dd64"}
2024-01-18 21:39:37.902 [info] Start designer session message received.
2024-01-18 21:39:37.902 [info] {"SessionId":"f0d10fc6-f6c5-40a2-8b53-7d6bbd08dd64"}
2024-01-18 21:39:37.902 [info] {"SessionId":"f0d10fc6-f6c5-40a2-8b53-7d6bbd08dd64"}
2024-01-18 21:39:37.902 [info] Start designer session message received.
2024-01-18 21:39:37.902 [info] {"SessionId":"f0d10fc6-f6c5-40a2-8b53-7d6bbd08dd64"}
2024-01-18 21:39:37.902 [info] {"SessionId":"f0d10fc6-f6c5-40a2-8b53-7d6bbd08dd64"}
2024-01-18 21:39:37.902 [info] Start designer session message received.
2024-01-18 21:39:37.902 [info] {"SessionId":"f0d10fc6-f6c5-40a2-8b53-7d6bbd08dd64"}
2024-01-18 21:39:37.903 [info] {"SessionId":"f0d10fc6-f6c5-40a2-8b53-7d6bbd08dd64"}
2024-01-18 21:39:37.903 [info] Start designer session message received.
2024-01-18 21:39:37.903 [info] {"SessionId":"f0d10fc6-f6c5-40a2-8b53-7d6bbd08dd64"}
2024-01-18 21:39:37.903 [info] {"SessionId":"f0d10fc6-f6c5-40a2-8b53-7d6bbd08dd64"}
2024-01-18 21:39:37.903 [info] Start designer session message received.
2024-01-18 21:39:37.903 [info] {"SessionId":"f0d10fc6-f6c5-40a2-8b53-7d6bbd08dd64"}
2024-01-18 21:39:37.903 [info] {"SessionId":"f0d10fc6-f6c5-40a2-8b53-7d6bbd08dd64"}
2024-01-18 21:39:37.903 [info] Start designer session message received.
2024-01-18 21:39:37.903 [info] {"SessionId":"f0d10fc6-f6c5-40a2-8b53-7d6bbd08dd64"}
2024-01-18 21:39:37.903 [info] {"SessionId":"f0d10fc6-f6c5-40a2-8b53-7d6bbd08dd64"}
2024-01-18 21:39:37.903 [info] Start designer session message received.
2024-01-18 21:39:39.031 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:39.032 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:39.032 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:39.032 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:39.032 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:39.032 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:39.032 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:39.032 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:39.032 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:39.032 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:39.032 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:39.032 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:39.032 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:39.032 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:39.032 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:39.032 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:39.033 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:39.033 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:39.033 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:46.329 [info] System.IO.EndOfStreamException: Attempted to read past the end of the stream.
   at Avalonia.DesignerSupport.Remote.HtmlTransport.SimpleWebSocket.ReadExact(Stream from, Byte[] to, Int32 offset, Int32 length)
   at Avalonia.DesignerSupport.Remote.HtmlTransport.SimpleWebSocket.ReadFrame()
   at Avalonia.DesignerSupport.Remote.HtmlTransport.SimpleWebSocket.ReceiveMessage()
   at Avalonia.DesignerSupport.Remote.HtmlTransport.HtmlWebSocketTransport.SocketReceiveWorker(SimpleWebSocket socket)

2024-01-18 21:39:54.512 [info] System.IO.EndOfStreamException: Attempted to read past the end of the stream.
   at Avalonia.DesignerSupport.Remote.HtmlTransport.SimpleWebSocket.ReadExact(Stream from, Byte[] to, Int32 offset, Int32 length)
   at Avalonia.DesignerSupport.Remote.HtmlTransport.SimpleWebSocket.ReadFrame()
   at Avalonia.DesignerSupport.Remote.HtmlTransport.SimpleWebSocket.ReceiveMessage()
   at Avalonia.DesignerSupport.Remote.HtmlTransport.HtmlWebSocketTransport.SocketReceiveWorker(SimpleWebSocket socket)

2024-01-18 21:39:54.758 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:54.759 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:54.759 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:54.759 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:54.759 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:54.760 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:54.760 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:54.760 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:54.760 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:54.760 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:54.760 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:54.760 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:54.760 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:54.760 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:54.760 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:54.760 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:54.760 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:54.760 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:54.761 [info] {"Error":null,"Handle":null,"Exception":null}
2024-01-18 21:39:54.784 [info] System.IO.IOException: Unable to write data to the transport connection: �ணࠬ�� �� ��襬 ���-�������� ࠧ�ࢠ�� ��⠭�������� ������祭��..
 ---> System.Net.Sockets.SocketException (10053): �ணࠬ�� �� ��襬 ���-�������� ࠧ�ࢠ�� ��⠭�������� ������祭��.
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.CreateException(SocketError error, Boolean forAsyncThrow)
   at System.Net.Sockets.NetworkStream.WriteAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken)
   at Avalonia.DesignerSupport.Remote.HtmlTransport.SimpleWebSocket.SendFrame(FrameType type, Byte[] data, Int32 offset, Int32 length)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Avalonia.DesignerSupport.Remote.HtmlTransport.SimpleWebSocket.SendMessage(Boolean isText, Byte[] data)
   at Avalonia.DesignerSupport.Remote.HtmlTransport.SimpleWebSocket.SendMessage(String text)
   at Avalonia.DesignerSupport.Remote.HtmlTransport.HtmlWebSocketTransport.SocketWorker()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Avalonia.DesignerSupport.Remote.HtmlTransport.HtmlWebSocketTransport.SocketWorker()
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
--- End of stack trace from previous location ---

   --- End of inner exception stack trace ---
   at Avalonia.DesignerSupport.Remote.HtmlTransport.SimpleWebSocket.SendFrame(FrameType type, Byte[] data, Int32 offset, Int32 length)
   at Avalonia.DesignerSupport.Remote.HtmlTransport.HtmlWebSocketTransport.SocketWorker()

2024-01-18 21:39:58.015 [info] Previwer panel disposed
2024-01-18 21:39:58.161 [info] Preview server error: Error: read ECONNRESET
2024-01-18 21:39:58.161 [info] Preview server error: Error: read ECONNRESET
2024-01-18 21:39:58.162 [info] Preview server error: Error: read ECONNRESET
2024-01-18 21:39:58.162 [info] Preview server error: Error: read ECONNRESET
2024-01-18 21:39:58.162 [info] Preview server error: Error: read ECONNRESET
2024-01-18 21:39:58.162 [info] Preview server error: Error: read ECONNRESET
2024-01-18 21:39:58.162 [info] Preview server error: Error: read ECONNRESET
2024-01-18 21:39:58.162 [info] Preview server error: Error: read ECONNRESET
2024-01-18 21:39:58.162 [info] Preview server error: Error: read ECONNRESET
2024-01-18 21:39:58.162 [info] Preview server error: Error: read ECONNRESET
2024-01-18 21:39:58.162 [info] Preview server error: Error: read ECONNRESET
2024-01-18 21:39:58.162 [info] Preview server error: Error: read ECONNRESET
2024-01-18 21:39:58.162 [info] Preview server error: Error: read ECONNRESET
2024-01-18 21:39:58.162 [info] Preview server error: Error: read ECONNRESET
2024-01-18 21:39:58.162 [info] Preview server error: Error: read ECONNRESET
2024-01-18 21:39:58.162 [info] Preview server error: Error: read ECONNRESET
2024-01-18 21:39:58.162 [info] Preview server error: Error: read ECONNRESET
2024-01-18 21:39:58.162 [info] Preview server error: Error: read ECONNRESET
2024-01-18 21:39:58.162 [info] Preview server error: Error: read ECONNRESET
2024-01-18 21:39:58.164 [info] Preview server closed for c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.dll
2024-01-18 21:39:58.164 [info] Preview server closed for c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.dll
2024-01-18 21:39:58.164 [info] Preview server closed for c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.dll
2024-01-18 21:39:58.164 [info] Preview server closed for c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.dll
2024-01-18 21:39:58.164 [info] Preview server closed for c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.dll
2024-01-18 21:39:58.164 [info] Preview server closed for c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.dll
2024-01-18 21:39:58.164 [info] Preview server closed for c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.dll
2024-01-18 21:39:58.164 [info] Preview server closed for c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.dll
2024-01-18 21:39:58.164 [info] Preview server closed for c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.dll
2024-01-18 21:39:58.165 [info] Preview server closed for c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.dll
2024-01-18 21:39:58.165 [info] Preview server closed for c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.dll
2024-01-18 21:39:58.165 [info] Preview server closed for c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.dll
2024-01-18 21:39:58.165 [info] Preview server closed for c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.dll
2024-01-18 21:39:58.165 [info] Preview server closed for c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.dll
2024-01-18 21:39:58.165 [info] Preview server closed for c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.dll
2024-01-18 21:39:58.165 [info] Preview server closed for c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.dll
2024-01-18 21:39:58.165 [info] Preview server closed for c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.dll
2024-01-18 21:39:58.165 [info] Preview server closed for c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.dll
2024-01-18 21:39:58.165 [info] Preview server closed for c:\Users\Sobirjon\Desktop\Projects\selfscale2\SelfScale\bin\Debug\net8.0\SelfScale.dll
2024-01-18 21:39:58.166 [info] Previewer process exited with code 1

Additional context

2024-01-18.21-38-48.mp4

Sorry about this, I will take a look, it should be an easy fix 🤞

Sorry about this, I will take a look, it should be an easy fix 🤞

Thank you.