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

Windows 7 - Connection error message: Unable ti init SSL Context: #28

Closed
Pisoko opened this issue Jan 8, 2016 · 15 comments
Closed

Windows 7 - Connection error message: Unable ti init SSL Context: #28

Pisoko opened this issue Jan 8, 2016 · 15 comments

Comments

@Pisoko
Copy link

Pisoko commented Jan 8, 2016

Hey pbek,

I've got an issue until connecting to my owncloud with your windows client:

Connection error message: Unable ti init SSL Context:

OpenSSL 1.0.2e (64bit) is installed. (from heiße.de)


QOwnNotes Debug Information

General Info

Current Date: Fr Jan 8 08:39:53 2016
Version: 0.74
Build date: Jan 7 2016
Build number: 726
Platform: windows
Release: empty
Platform: windows
Qt Version: 5.4.2

Server Info

serverUrl: https://oc.ufz.de
appIsValid: no
connectionErrorMessage: Unable to init SSL Context:

Settings

MainWindow/geometry: <binary data>
MainWindow/menuBarGeometry: <binary data>
MainWindow/noteTextEdit.font: MS Shell Dlg 2,8.25,-1,5,50,0,0,0,0,0
MainWindow/noteTextView.font: MS Shell Dlg 2,8.25,-1,5,50,0,0,0,0,0
MainWindow/windowState: <binary data>
ShowSystemTray: false
SortingModeAlphabetically: false
cryptoKey: <hidden>
mainSplitterSizes: <binary data>
noteSaveIntervalTime: 10
notesPath: C:/Users/alber/testpilotcloud/Notes
notifyAllExternalModifications: false
ownCloud/localOwnCloudPath: C:/Users/alber/testCloud/Notes
ownCloud/password: <hidden>
ownCloud/serverUrl: https://oc.ufz.de
ownCloud/todoCalendarBackend: 0
ownCloud/todoCalendarEnabledList: empty
ownCloud/todoCalendarEnabledUrlList: empty
ownCloud/todoCalendarUrlList: empty
ownCloud/userName: alber
recentNoteFolders: C:/Users/alber/ownCloud/Notes,

@pbek
Copy link
Owner

pbek commented Jan 8, 2016

Hi @Pisoko ! Thank you for your report!
Did you install OpenSSL? Sadly this is necessary on Windows (it's mentioned in the settings).

@Pisoko
Copy link
Author

Pisoko commented Jan 8, 2016

OpenSSL 1.0.2e (64bit) is installed. (from heiße.de)

@pbek
Copy link
Owner

pbek commented Jan 8, 2016

Oh, sorry. I totally overread that! I will see if I can reproduce that problem locally...

@Pisoko
Copy link
Author

Pisoko commented Jan 8, 2016

if you need a testaccount on my cloud..let me know.

@Pisoko
Copy link
Author

Pisoko commented Jan 8, 2016

Mayb it's a firewall problem.. do you need other ports then 80/443?

@pbek
Copy link
Owner

pbek commented Jan 8, 2016

I just installed OpenSSL (Win32 OpenSSL v1.0.2e Light from http://slproweb.com/products/Win32OpenSSL.html) on a Windows 10 box. I let the installer copy the DLLs to the system directory (that's important). After I restarted QOwnNotes I could connect to my https Server.

Are the OpenSSL DLLs in your system directory? In my case that is C:\Windows\SysWOW64, I can see a libssl32.dll there...

Port 80/443 should be enough...
If you give me an account I can test it on your server too...

@pbek
Copy link
Owner

pbek commented Jan 8, 2016

Now I did the same on a Windows 7 box, again there was a libssl32.dll in C:\Windows\SysWOW64 and I could connect to my ownCloud server via https.

Maybe the "problem" is the 64bit version of OpenSSL? Can you please also try the 32bit version?

@Pisoko
Copy link
Author

Pisoko commented Jan 8, 2016

Ok.. libssl32.dll is in C:\Windows\SysWOW64 but it doesn't work.

Try it yourself pls:
owncloud.ufz.de
qbek
77G&jCt&$d6E

@pbek
Copy link
Owner

pbek commented Jan 8, 2016

It did work for me under Windows 7.

Server Info

serverUrl: https://owncloud.ufz.de
appIsValid: yes
serverVersion: 8.1.4.2
appVersion: 0.4.1

Are the other DLLs also in place? libeay32.dll, libssl32.dll, ssleay32.dll

@Pisoko
Copy link
Author

Pisoko commented Jan 8, 2016

yes of cause :/

@pbek
Copy link
Owner

pbek commented Jan 8, 2016

Can you please try to copy libeay32.dll, libssl32.dll and ssleay32.dll to your QOwnNotes folder (where the QOwnNotes.exe is). It also worked for me that way when they aren't in the Windows system folder.

@Pisoko
Copy link
Author

Pisoko commented Jan 8, 2016

Oh man.. I am sry.. I simply have to restart windows after that OpenSSL-Installation. Now it works fine. ;) THX!

@pbek
Copy link
Owner

pbek commented Jan 8, 2016

That's great! I'm glad it now works.
Just for the protocol, so you didn't have to (and didn't have) copy libeay32.dll, libssl32.dll and ssleay32.dll to your QOwnNotes directory?

@Pisoko
Copy link
Author

Pisoko commented Jan 8, 2016

I don't.. they still in C:\Windows\SysWOW64

@pbek
Copy link
Owner

pbek commented Jan 8, 2016

Ok, great! I think I will include the OpenSSL library in the future, it's too much of a hassle to install it by hand. ownCloud also includes the OpenSSL library with their desktop client.

Thanks a lot for your testing!

@pbek pbek closed this as completed Jan 8, 2016
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