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

Cannot connect securely to <server address> #11621

Closed
2 tasks done
beuker81 opened this issue Apr 30, 2024 · 24 comments · Fixed by #11626
Closed
2 tasks done

Cannot connect securely to <server address> #11621

beuker81 opened this issue Apr 30, 2024 · 24 comments · Fixed by #11626
Assignees
Labels
Milestone

Comments

@beuker81
Copy link

beuker81 commented Apr 30, 2024

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

When I try to login one of the two account I get the message: Cannot connect securely to

I have no issue with the Windows Desktop app or the iPhone app but the Mac app doesn't work.
Also the webpage has no problem. Valid SSL Cert. Using Let's Encrypt.

Expected behavior

That the owncloud app just login.

Steps to reproduce the issue

  1. Open owncloud
  2. Click on the account you want to login
  3. Click on account and then login
  4. Error message

Screenshots

Screenshot 2024-05-01 at 00 24 30

Logs

No response

Client version number

ownCloud Mac Desktop app 5.2.1.13040

Desktop environment (Linux only)

MAC OSX Ventura 13.6.6 (22G630)

Client package version and origin (Linux only)

No response

Installation path (Windows only)

No response

Server information

ownCloud server 10.14.0.3

Additional context

No response

@TheOneRing
Copy link
Contributor

The dialog suggests that there is something wrong.
As it only happens on that device.. have you checked the certificate in the browser on that system?
Are you using some proxy software on that device, maybe installed by your employer?

@beuker81
Copy link
Author

beuker81 commented May 2, 2024

The dialog suggests that there is something wrong. As it only happens on that device.. have you checked the certificate in the browser on that system? Are you using some proxy software on that device, maybe installed by your employer?

Yes I have checked in a browser if there is something wrong with the certificate and no issue's. Just as how it should look like. I don't use any proxy software on the laptop. It's my private laptop.

@TheOneRing
Copy link
Contributor

Could you please upload some client logs with httplogging enabled (https://doc.owncloud.com/desktop/next/appendices/troubleshooting.html#log-files) to:
https://infinite.owncloud.com/s/asdDIpEeRmoiFzT
PW: 99^&VqTfy1r*

@beuker81
Copy link
Author

beuker81 commented May 2, 2024

Could you please upload some client logs with httplogging enabled (https://doc.owncloud.com/desktop/next/appendices/troubleshooting.html#log-files) to: https://infinite.owncloud.com/s/asdDIpEeRmoiFzT PW: 99^&VqTfy1r*

Done and thanks in advance!

@Sky3RN
Copy link

Sky3RN commented May 3, 2024

I have the exact same issue since a few weeks, it's getting on my nerves !
The same message with the same fingerprints etc..

Capture du 2024-05-02 15-50-07

@TheOneRing
Copy link
Contributor

With d41d8cd98f00b204e9800998ecf8427e we have the fingerprint of null.
The error message we get in the log is:
Error: SSL handshake failed: The issuer certificate could not be found

@TheOneRing
Copy link
Contributor

Does the issue only occur when the application is started or randomly?
If you decline the dialog and try it again, does it behave the same?

@beuker81
Copy link
Author

beuker81 commented May 3, 2024

Does the issue only occur when the application is started or randomly? If you decline the dialog and try it again, does it behave the same?

When the application starts it presents the issue. Also when you try again to manually login it also shows.
When I decline the dialog the user does not login and when I click on login again the same message shows.

@Sky3RN
Copy link

Sky3RN commented May 3, 2024

Does the issue only occur when the application is started or randomly? If you decline the dialog and try it again, does it behave the same?

When the application starts it presents the issue. Also when you try again to manually login it also shows. When I decline the dialog the user does not login and when I click on login again the same message shows.

Same behaviour here !

@TheOneRing TheOneRing self-assigned this May 3, 2024
@TheOneRing
Copy link
Contributor

I have the exact same issue since a few weeks, it's getting on my nerves ! The same message with the same fingerprints etc..

Capture du 2024-05-02 15-50-07

That Linux with the AppImage/our packages/system packages?
Also what distro are you using?

@TheOneRing TheOneRing added this to the Desktop 6.0 milestone May 3, 2024
@Sky3RN
Copy link

Sky3RN commented May 3, 2024

I have the exact same issue since a few weeks, it's getting on my nerves ! The same message with the same fingerprints etc..
Capture du 2024-05-02 15-50-07

That Linux with the AppImage/our packages/system packages?

If I remember well, it's from the official OwnCloud repo, not the AppImage.

Capture du 2024-05-03 15-28-42

Also what distro are you using?

Ubuntu 20.04

@beuker81
Copy link
Author

beuker81 commented May 3, 2024

I have remove the 5.2.1 version and installed the older version 5.1.2.

My issue is resolved. Seems like an issue in the 5.2.1 version. I haven't tested 5.2.0.

Maybe this helps?

@Sky3RN
Copy link

Sky3RN commented May 3, 2024

I have remove the 5.2.1 version and installed the older version 5.1.2.

My issue is resolved. Seems like an issue in the 5.2.1 version. I haven't tested 5.2.0.

Maybe this helps?

I gotta try this !

I'd like to keep my ownCloud package from the official repo, because I like the simplicity of updating in command line.

Is there anyway to downgrade from sudo apt ?

@beuker81
Copy link
Author

beuker81 commented May 3, 2024

I have remove the 5.2.1 version and installed the older version 5.1.2.
My issue is resolved. Seems like an issue in the 5.2.1 version. I haven't tested 5.2.0.
Maybe this helps?

I gotta try this !

I'd like to keep my ownCloud package from the official repo, because I like the simplicity of updating in command line.

Is there anyway to downgrade from sudo apt ?

What you can do is: sudo apt-get install =

The version you need you can find here: https://download.owncloud.com/desktop/ownCloud/stable/5.1/linux/

Or search it with apt.

@Sky3RN
Copy link

Sky3RN commented May 3, 2024

I have remove the 5.2.1 version and installed the older version 5.1.2.
My issue is resolved. Seems like an issue in the 5.2.1 version. I haven't tested 5.2.0.
Maybe this helps?

I gotta try this !
I'd like to keep my ownCloud package from the official repo, because I like the simplicity of updating in command line.
Is there anyway to downgrade from sudo apt ?

What you can do is: sudo apt-get install =

The version you need you can find here: https://download.owncloud.com/desktop/ownCloud/stable/5.1/linux/

Or search it with apt.

Thanks, just found it after writing my post !

Unfortunately for me this didn't solve my issue. I've tried the 5.1.2.12600 and 5.2.0.12726 !

What's the exact build you tried ?

@beuker81
Copy link
Author

beuker81 commented May 3, 2024

What's the exact build you tried ?

5.1.2.12600

I think even before I updated I had a 5.0 version running. On a Mac you need to complete remove the client before using an older version. Seems to be a bug from many years ago.

@TheOneRing
Copy link
Contributor

Downgrading is not supported and downgrading to a version with known issues is not recommended at all!!

@Sky3RN
Copy link

Sky3RN commented May 3, 2024

On a Mac you need to complete remove the client before using an older version. Seems to be a bug from many years ago.

Tried to uninstall the client too here on Linux to install the 5.1.2 but still the same issue. :(

@TheOneRing
Copy link
Contributor

Could you try updating back to 5.2.1 to validate that it's really the version?

For testing you could also try our coinstallable nightly
https://download.owncloud.com/desktop/testpilotcloud/daily/6.0/

It will use a separate profile.

@beuker81
Copy link
Author

beuker81 commented May 3, 2024

Could you try updating back to 5.2.1 to validate that it's really the version?

Ok reinstalling 5.2.1 didn't fix it but deleting 5.2.1 and installing 5.1.2 and now updating to 5.2.1 it still seems to work. Let me test it out for a couple of days. Maybe something in the profile/settings?

@TheOneRing
Copy link
Contributor

Could affected users check their settings https://doc.owncloud.com/desktop/next/advanced_usage/configuration_file.html for a CaCertificates key?
If you find such a key could you please upload your settings to the above url?

@Sky3RN
Copy link

Sky3RN commented May 4, 2024

Could affected users check their settings https://doc.owncloud.com/desktop/next/advanced_usage/configuration_file.html for a CaCertificates key? If you find such a key could you please upload your settings to the above url?

I won't be able to do this before Monday because I'm not home for the whole week-end, but I'll let you know as soon as possible !
For the moment I can only access to SSH to my computer to check the config file, and yes, there is a CaCertificate key in the owncloud.cfg !

For testing you could also try our coinstallable nightly
https://download.owncloud.com/desktop/testpilotcloud/daily/6.0/

I'll try on Monday, what do I need to do ? Simply install this version and run it ?
Will it use my config file or generate a new one ?
Maybe the issue might come from my config file ? (I have more than 1 To of files to sync so I hate reinitializing the config file etc.. 😄) Maybe that's why @beuker81 succeed by fully deleting & reinstalling the app :

Could you try updating back to 5.2.1 to validate that it's really the version?

Ok reinstalling 5.2.1 didn't fix it but deleting 5.2.1 and installing 5.1.2 and now updating to 5.2.1 it still seems to work. Let me test it out for a couple of days. Maybe something in the profile/settings?

@Sky3RN
Copy link

Sky3RN commented May 6, 2024

Here's something interesting : I deleted the CaCertificate line from the .cfg file and the error message has gone ! 👍
So that's the solution, I guess an old key was in the file and ownCloud was looking for it.

By the way, I also tried to install the testpilot 6.0 version but couldn't do it.
Capture du 2024-05-06 09-42-16

@beuker81
Copy link
Author

beuker81 commented May 6, 2024

I don't have any problems when I did a clean install of the client so it seems that my issue is also a CaCert in the config file.
I checked old configs from my time machine backup and those have the CaCertificates key part in it. In the new config this does not exist so it seems this resolved the issue. Thanks!

@beuker81 beuker81 closed this as completed May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants