the loading indicator showing with message "please wait while the application is re-connecting #1168
Replies: 4 comments 1 reply
-
Me too !!! And the code in the documentation of https://pub.dev/packages/flet is also obsolete, the constructor of the FletApp class is missing the assetsDir parameter. |
Beta Was this translation helpful? Give feedback.
-
Are you able to open http://localhost:8550 in the browser? |
Beta Was this translation helpful? Give feedback.
-
is it resolved? I encountered same issue. cannot run sample app in flutter with that error message |
Beta Was this translation helpful? Give feedback.
-
I tried to connect to "http://localhost:8550" on browser in android/web environment. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have an issue with running the flet package on Flutter app ,Although the python script is running on the same port .
any help with that ?
Restarted application in 3,774ms.
flutter: Page build: page
flutter: Page theme: ThemeMode.system
flutter: Page fonts build: page
flutter: MeterialApp.router build: page
flutter: currentConfiguration
flutter: Page navigator build: page
flutter: _buildNavigator build
flutter: Page media build
flutter: New page size: Size(393.0, 852.0)
flutter: Page brightness did not change.
flutter: Route changed to: /
flutter: Registering web client with route: /
flutter: currentConfiguration
flutter: Connecting to Flet server http://localhost:8550...
flutter: Connecting to WebSocket server ws://localhost:8550/ws...
flutter: currentConfiguration
flutter: registerWebClientInternal
flutter: Page build: page
flutter: Page theme: ThemeMode.system
flutter: Page fonts build: page
flutter: MeterialApp.router build: page
flutter: Page navigator build: page
flutter: _buildNavigator build
flutter: Page size did not change.
flutter: Page brightness did not change.
[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: SocketException: Connection refused (OS Error: Connection refused, errno = 61), address = localhost, port = 53374
#0 _NativeSocket.startConnect (dart:io-patch/socket_patch.dart:694:35)
#1 _RawSocket.startConnect (dart:io-patch/socket_patch.dart:1855:26)
#2 RawSocket.startConnect (dart:io-patch/socket_patch.dart:27:23)
#3 Socket._startConnect (dart:io-patch/socket_patch.dart:2078:22)
#4 Socket.startConnect (dart:io/socket.dart:763:21)
#5 _ConnectionTarget.connect (dart:_http/http_impl.dart:2466:20)
#6 _HttpClient._getConnection.connect (dart:_http/http_impl.dart:2906:12)
#7 _HttpClient._getConnection (dart:_http/http_impl.dart:2911:12)
#8 _HttpClient._openUrl (dart:_http/http_impl.dart:2766:12)
#9 _HttpClient.openUrl (dart:_http/http_impl.dart:2604:7)
#10 _WebSocketImpl.connect (dart:_http/websocket_impl.dart:1021:42)
#11 WebSocket.connect (dart:_http/websocket.dart:320:22)
#12 new<…>
flutter: WebSocket stream error WebSocketChannelException: WebSocketChannelException: SocketException: Connection refused (OS Error: Connection refused, errno = 61), address = localhost, port = 53374
flutter: WebSocket stream closed
flutter: Reconnect in 1 seconds
flutter: Page build: page
flutter: Page theme: ThemeMode.system
flutter: Page fonts build: page
flutter: MeterialApp.router build: page
flutter: Page navigator build: page
flutter: _buildNavigator build
flutter: Connecting to Flet server http://localhost:8550...
flutter: Connecting to WebSocket server ws://localhost:8550/ws...
flutter: registerWebClientInternal
[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: SocketException: Connection refused (OS Error: Connection refused, errno = 61), address = localhost, port = 53391
#0 _NativeSocket.startConnect (dart:io-patch/socket_patch.dart:694:35)
#1 _RawSocket.startConnect (dart:io-patch/socket_patch.dart:1855:26)
#2 RawSocket.startConnect (dart:io-patch/socket_patch.dart:27:23)
#3 Socket._startConnect (dart:io-patch/socket_patch.dart:2078:22)
#4 Socket.startConnect (dart:io/socket.dart:763:21)
#5 _ConnectionTarget.connect (dart:_http/http_impl.dart:2466:20)
#6 _HttpClient._getConnection.connect (dart:_http/http_impl.dart:2906:12)
#7 _HttpClient._getConnection (dart:_http/http_impl.dart:2911:12)
#8 _HttpClient._openUrl (dart:_http/http_impl.dart:2766:12)
#9 _HttpClient.openUrl (dart:_http/http_impl.dart:2604:7)
#10 _WebSocketImpl.connect (dart:_http/websocket_impl.dart:1021:42)
#11 WebSocket.connect (dart:_http/websocket.dart:320:22)
#12 new<…>
flutter: WebSocket stream error WebSocketChannelException: WebSocketChannelException: SocketException: Connection refused (OS Error: Connection refused, errno = 61), address = localhost, port = 53391
flutter: WebSocket stream closed
flutter: Reconnect in 1 seconds
flutter: Connecting to Flet server http://localhost:8550...
flutter: Connecting to WebSocket server ws://localhost:8550/ws...
flutter: registerWebClientInternal
[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: SocketException: Connection refused (OS Error: Connection refused, errno = 61), address = localhost, port = 53407
#0 _NativeSocket.startConnect (dart:io-patch/socket_patch.dart:694:35)
#1 _RawSocket.startConnect (dart:io-patch/socket_patch.dart:1855:26)
#2 RawSocket.startConnect (dart:io-patch/socket_patch.dart:27:23)
#3 Socket._startConnect (dart:io-patch/socket_patch.dart:2078:22)
#4 Socket.startConnect (dart:io/socket.dart:763:21)
#5 _ConnectionTarget.connect (dart:_http/http_impl.dart:2466:20)
#6 _HttpClient._getConnection.connect (dart:_http/http_impl.dart:2906:12)
#7 _HttpClient._getConnection (dart:_http/http_impl.dart:2911:12)
#8 _HttpClient._openUrl (dart:_http/http_impl.dart:2766:12)
#9 _HttpClient.openUrl (dart:_http/http_impl.dart:2604:7)
#10 _WebSocketImpl.connect (dart:_http/websocket_impl.dart:1021:42)
#11 WebSocket.connect (dart:_http/websocket.dart:320:22)
#12 new<…>
flutter: WebSocket stream error WebSocketChannelException: WebSocketChannelException: SocketException: Connection refused (OS Error: Connection refused, errno = 61), address = localhost, port = 53407
flutter: WebSocket stream closed
flutter: Reconnect in 1 seconds
flutter: Connecting to Flet server http://localhost:8550...
flutter: Connecting to WebSocket server ws://localhost:8550/ws...
flutter: registerWebClientInternal
Beta Was this translation helpful? Give feedback.
All reactions