Skip to content

SOLIDPOD/SOLIDUI: When attempting to log out and cancel from the app, an exception is shown #685

Description

@srodriguez142857

Describe the Bug

When the user attempts to log out, but then cancels the action from the app, while the web browser still shows the signing out option, an exception arises. After this, the app becomes unresponsive (the user cannot log out).

To Reproduce

Steps to reproduce the behavior:

  1. Log out from the app. (The web browser window will show the signing out button).
  2. Click on the 'Cancel' button.
  3. Try to log out again.
  4. See error.

Expected Behaviour

[ERROR:flutter/shell/platform/common/accessibility_bridge.cc(114)] Failed to update ui::AXTree, error: 658 will not be in the tree and is not the new root
[ERROR:flutter/shell/platform/common/accessibility_bridge.cc(114)] Failed to update ui::AXTree, error: 658 will not be in the tree and is not the new root
[ERROR:flutter/shell/platform/common/accessibility_bridge.cc(114)] Failed to update ui::AXTree, error: 658 will not be in the tree and is not the new root
[ERROR:flutter/shell/platform/common/accessibility_bridge.cc(114)] Failed to update ui::AXTree, error: 658 will not be in the tree and is not the new root
KeyStorage => deleteSecurityKey() removed from secure storage
KeyManager => forgetSecurityKey() cleared all sensitive data from memory
KeyManager => clear() completed - all sensitive data cleared
[ERROR:flutter/runtime/dart_vm_initializer.cc(40)] Unhandled Exception: SocketException: Failed to create server socket (OS Error: The shared flag to bind() needs to be `true` if binding multiple times on the same (address, port) combination.), address = 127.0.0.1, port = 4400
#0      _NativeSocket.bind (dart:io-patch/socket_patch.dart:1216:7)
<asynchronous suspension>
#1      _RawServerSocket.bind.<anonymous closure> (dart:io-patch/socket_patch.dart:2163:12)
<asynchronous suspension>
#2      _ServerSocket.bind.<anonymous closure> (dart:io-patch/socket_patch.dart:2483:12)
<asynchronous suspension>
#3      _HttpServer.bind.<anonymous closure> (dart:_http/http_impl.dart:3476:24)
<asynchronous suspension>
#4      OidcLoopbackListener.listenForSingleResponse (package:oidc_loopback_listener/src/oidc_loopback_listener.dart:44:20)
<asynchronous suspension>

Screenshots

Image

Context

Where has the issue been observed:

  • Android
  • Chrome
  • iOS
  • Linux
  • macOS
  • Web
  • Windows

App Version: RioDash v1.0.1
Flutter Version: Flutter 3.44.4

Closing Criteria

The error has been fixed.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions