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

after failed connection attempt, does not "release" connection attempt/details for new attempt #9

Open
zippydan opened this issue Jun 5, 2021 · 3 comments

Comments

@zippydan
Copy link

zippydan commented Jun 5, 2021

Using macOS version on BigSur

If I put incorrect credentials in to login, the "Connecting" notice just keeps spinning forever.

In my case, I put the incorrect URL for the Connection Manager.

Since there is no convenient cancel button, I had to use the "Force Logout" option from the application menu.

This returns me to the login window, but using the "Debugging" window and the "Network" pane, I could see that converse.js continues to attempt to connect to the previously inputted Connection Manager even though I have "canceled" the connection attempt.

Even after I input a new Connection Manager URL and new login credentials and start a new login attempt, converse.js continues unsuccessfully trying to establish a connection using the first attempt with the first inputted credentials, and never stops, effectively ignoring the newly-inputted credentials.

The newly-inputted credentials are not entirely ignored. If I quit the converse.js app completely, and then relaunch it, it will then automatically attempt to connect with the last set of credentials I inputted before closing the app.

In short:

  1. converse.js should have a method to fully cancel an attempted connection - currently it does not
  2. converse.js should not require me to close and reopen the app to attempt a new connection with new credentials - currently it does
@lennylen
Copy link

+1

Describe the bug
When I enter in the BOSH address, [email protected] and password, nothing happens when i click add account. All the fields reset. If i restart the app it just shows a blank display.

To Reproduce
Steps to reproduce the behavior:

Enter details on first launch
Nothing happens, so restart the app
App is now restarted and shows blank screen
If i go to debug mode I see one error in error console:
index.html:1 Uncaught (in promise) Error: The name org.freedesktop.secrets was not provided by any .service files

Expected behavior
To login and chat.

Environment (please complete the following information):
Desktop App. Debian 10 Stable

Additional context
none

@lennylen
Copy link

Workaround for now on Ubuntu/Debian:
rm ~/.config/@converse/desktop/Settings

Using macOS version on BigSur

If I put incorrect credentials in to login, the "Connecting" notice just keeps spinning forever.

In my case, I put the incorrect URL for the Connection Manager.

Since there is no convenient cancel button, I had to use the "Force Logout" option from the application menu.

This returns me to the login window, but using the "Debugging" window and the "Network" pane, I could see that converse.js continues to attempt to connect to the previously inputted Connection Manager even though I have "canceled" the connection attempt.

Even after I input a new Connection Manager URL and new login credentials and start a new login attempt, converse.js continues unsuccessfully trying to establish a connection using the first attempt with the first inputted credentials, and never stops, effectively ignoring the newly-inputted credentials.

The newly-inputted credentials are not entirely ignored. If I quit the converse.js app completely, and then relaunch it, it will then automatically attempt to connect with the last set of credentials I inputted before closing the app.

In short:

  1. converse.js should have a method to fully cancel an attempted connection - currently it does not
  2. converse.js should not require me to close and reopen the app to attempt a new connection with new credentials - currently it does

@lennylen
Copy link

lennylen commented Sep 15, 2021

I deleted the Settings file and heres what happens:

Attempt to login again with all 3 credentials
Click Add Account
Form resets back to original state

Debug log (error console):
Uncaught (in promise) Error: The name org.freedesktop.secrets was not provided by any .service files index.html:1 Uncaught (in promise)

Error: The name org.freedesktop.secrets was not provided by any .service files

Screenshot:
Screenshot_20210915_003226

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants