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

MacOS desktop Client stuck in Disconnected after reboot when server cannot be reached #10654

Closed
2 tasks done
nliechti opened this issue Apr 3, 2023 · 5 comments · Fixed by #10663
Closed
2 tasks done
Labels
p3-medium Normal priority type:bug

Comments

@nliechti
Copy link

nliechti commented Apr 3, 2023

Pre-submission Checks

  • I checked for similar issues, but could not find any. I also checked the closed issues. I could not contribute additional information to any existing issue.
  • I will take the time to fill in all the required fields. I know that the bug report may be dismissed otherwise due to lack of information.

Describe the bug

My ownCloud server is only reachable behind a VPN. When the ownCloud client starts on system boot it seems to be stuck in
the "Disconnected" state.
If you quit and restart the Client with the VPN then connected, the authentication dialog pop's up and you have to authorise the client in the Browser again. This also happens if you start the client manually before being connected to the VPN.

If you start the client manually when connected to the VPN everything works fine.

It seems only to be a problem on the first launch after a reboot. After that everything works as intended.

Expected behavior

If the first authentication fails, the server should try to reconnect the same way it does when you quit and restart the app manually.

Steps to reproduce the issue

  1. Have your ownCloud instance not accessible.
  2. Restart the computer (tested only on MacOS)
  3. Start ownCloud client
  4. Make ownCloud server accessible from the computer
  5. The client should now be stuck in "Disconnected"

Logs

No response

Client version number

ownCloud 3.2.1.10355 9724d6
Libraries Qt 5.15.5, OpenSSL 1.1.1q 5 Jul 2022
Using virtual files plugin: suffix
osx-22.4.0

Server information

ownCloud 10.11.0.6 on AlmaLinux 8

PHP 7.4.30 (cli) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.30, Copyright (c), by Zend Technologies

Additional context

Authorisation is done via oAuth in the Browser.

@michaelstingl
Copy link
Contributor

Could you check with the 4.0 pre-release builds?

Try with the testpilotcloud build to not mess up your production ownCloud setup.

@nliechti
Copy link
Author

nliechti commented Apr 3, 2023

The new 4.0.0 build does a bit better of a job to throw up the "Reauthentication" dialog when i open the client. But still needs to be spotted manually that it didn't work and the reauthentication shouldn't be necessary in the first place.

@michaelstingl
Copy link
Contributor

Could you capture client debug log files, including HTTP?
https://doc.owncloud.com/desktop/next/appendices/troubleshooting.html#log-files

Then upload here:
https://cloud.owncloud.com/index.php/s/BOdKFaLXdyFQeDL

Internal link for the team:
https://cloud.owncloud.com/index.php/f/5983171

@nliechti
Copy link
Author

nliechti commented Apr 4, 2023

Hey I have uploaded the logfile owncloud_github_10654.log.
It should contain the start without VPN connection and manual reconnection after the VPN is connected.

@nliechti
Copy link
Author

@michaelstingl @TheOneRing Thank you for your excellent support. I think i never had any issue solved as fast as this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p3-medium Normal priority type:bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants