Jump to content

Welcome! You're currently a Guest.

If you'd like to join in the Discussion, or access additional features in our forums, please sign in with your Evernote Account here. Have an Evernote Account but forgot your password? Reset it! Don't have an account yet? Create One! You'll need to set your Display Name before your first post.

Photo
Windows

BUG: Evernote on Linux with Wine

evernote

  • Please log in to reply
20 replies to this topic

#1 hdave

hdave

  • Pip
  • Title: Member
  • Group: Members
  • 40 posts

Posted 30 April 2012 - 05:59 AM

I am trying to run the Windows client v4.5.4 on Ubuntu 12.04 with Wine 1.5.3 and it installs great, but will not permit me to login, giving the following SSL error:


err:wininet:NETCON_secure_connect SSL_connect failed: 12157

Does anyone else have this working?

#2 Owyn

Owyn

  • PipPipPipPipPip
  • Title: Evernote Geek
  • Group: Members
  • 3,618 posts

Posted 30 April 2012 - 12:43 PM

I have the same/similar problem on a new 12.04 install with stable Wine 1.4.0.
Had this working fine in 10.04 but I did a bunch of experimenting when I did that install.

Working on clean fix right now.
EVERNOTE: Getting Started | Support Page | Knowledge Base | Support Requests

Premium User
Ubuntu 12.04/10.04 + various other Linux distro (Web client & VirtualBox XP SP3 ENW)
Windows 7 SP1 & XP SP3 (EN 4.5.8.7356)
iPod Touch 2G (iOS 4.2.1, EN 4.1.9) / Blackberry Playbook (OS 2.0.1, EN 1.3)
Latest stable browsers & clippers(Chrome(default), Firefox, IE8/9)

#3 Owyn

Owyn

  • PipPipPipPipPip
  • Title: Evernote Geek
  • Group: Members
  • 3,618 posts

Posted 30 April 2012 - 01:03 PM

Juan Lang 2011-03-23 13:57:06 CDT
(In reply to comment #39)
> The Witcher registration is also affected by this bug, winetricks wininet works
> around it.
>
> err:wininet:NETCON_secure_connect SSL_connect failed: 12037


This is probably a different bug, even though the same function call fails.
Please open a different bug for this, and attach a +wininet,+chain log to it.

http://bugs.winehq.o...gi?id=16831#c40

My old install notes show I had applied "winetricks wininet" to my 10.04 install.
Doing a bit more research before proceeding at my end.
EVERNOTE: Getting Started | Support Page | Knowledge Base | Support Requests

Premium User
Ubuntu 12.04/10.04 + various other Linux distro (Web client & VirtualBox XP SP3 ENW)
Windows 7 SP1 & XP SP3 (EN 4.5.8.7356)
iPod Touch 2G (iOS 4.2.1, EN 4.1.9) / Blackberry Playbook (OS 2.0.1, EN 1.3)
Latest stable browsers & clippers(Chrome(default), Firefox, IE8/9)

#4 hdave

hdave

  • Pip
  • Title: Member
  • Group: Members
  • 40 posts

Posted 01 May 2012 - 01:11 AM

My old install notes show I had applied "winetricks wininet" to my 10.04 install.
Doing a bit more research before proceeding at my end.


I finally got it working without any wine tricks. The secret was to use Wine version 1.4. Note that the Ubuntu 1.4 version in the repos didn't work. I had to install 1.4 from Play On Linux (POL) to get it to work. Ran it as Windows 7. Seems there is a regression in Wine... :-(

#5 Owyn

Owyn

  • PipPipPipPipPip
  • Title: Evernote Geek
  • Group: Members
  • 3,618 posts

Posted 01 May 2012 - 11:04 AM

Thanks for the info. Winetricks is also broken from the default repo. Looks like 12.04 still has a lot of rough edges.
EVERNOTE: Getting Started | Support Page | Knowledge Base | Support Requests

Premium User
Ubuntu 12.04/10.04 + various other Linux distro (Web client & VirtualBox XP SP3 ENW)
Windows 7 SP1 & XP SP3 (EN 4.5.8.7356)
iPod Touch 2G (iOS 4.2.1, EN 4.1.9) / Blackberry Playbook (OS 2.0.1, EN 1.3)
Latest stable browsers & clippers(Chrome(default), Firefox, IE8/9)

#6 Zatrapadoo

Zatrapadoo

  • PipPip
  • Title: Alliance Lackey
  • Group: Members
  • 75 posts

Posted 01 May 2012 - 02:02 PM

I think short term support releases of Ubuntu exist only for publicity purposes (they generate media attention). I always go for long term support versions...

#7 hdave

hdave

  • Pip
  • Title: Member
  • Group: Members
  • 40 posts

Posted 02 May 2012 - 03:31 AM

Thanks for the info. Winetricks is also broken from the default repo. Looks like 12.04 still has a lot of rough edges.


It certainly does. If you really want stable, you need to give an LTS release like 12.04 about 2-3 months to fully bake. By that time issues like this will be taken care of. BTW -- I think the root cause is 12.04 OpenSSL:

https://bugs.launchp...ssl/ bug/965371

#8 Owyn

Owyn

  • PipPipPipPipPip
  • Title: Evernote Geek
  • Group: Members
  • 3,618 posts

Posted 02 May 2012 - 08:14 AM

Yeah. That does look suspicious.
I installed 12.04 as a multi-boot on 2 purposely spare partitions on my main 10.04 system.
There are a lot of things I like about 12.04 but for now I am going to make 10.04 the boot default. It is far from vanilla now but it does work.
EVERNOTE: Getting Started | Support Page | Knowledge Base | Support Requests

Premium User
Ubuntu 12.04/10.04 + various other Linux distro (Web client & VirtualBox XP SP3 ENW)
Windows 7 SP1 & XP SP3 (EN 4.5.8.7356)
iPod Touch 2G (iOS 4.2.1, EN 4.1.9) / Blackberry Playbook (OS 2.0.1, EN 1.3)
Latest stable browsers & clippers(Chrome(default), Firefox, IE8/9)

#9 Owyn

Owyn

  • PipPipPipPipPip
  • Title: Evernote Geek
  • Group: Members
  • 3,618 posts

Posted 17 May 2012 - 01:10 AM

FYI. Just finished update on 12.04 and retest of problem. Still there, even after the openssl update.

Codeweavers has note about a kernel problem in 12.04 which may also be causing the problem.
http://www.codeweave.../faq/ubuntu1204

I tested that workaround without success.

Also tried trial version of Crossover. That also has install problems with 12.04. Waiting for response from Codeweaver support on those problems.

Oh well. Back to 10.04 for another week. I should have known better than to jump into 12.04 right out of the gate.
EVERNOTE: Getting Started | Support Page | Knowledge Base | Support Requests

Premium User
Ubuntu 12.04/10.04 + various other Linux distro (Web client & VirtualBox XP SP3 ENW)
Windows 7 SP1 & XP SP3 (EN 4.5.8.7356)
iPod Touch 2G (iOS 4.2.1, EN 4.1.9) / Blackberry Playbook (OS 2.0.1, EN 1.3)
Latest stable browsers & clippers(Chrome(default), Firefox, IE8/9)

#10 mission-mike

mission-mike

  • Pip
  • Title: Member
  • Group: Members
  • 1 posts

Posted 01 July 2012 - 03:20 PM

Isn't the problem with the fact that Evernote is dependent on .NET and it needs either mono installed or .NET in c:\Program Files?

Just a thought...

#11 Owyn

Owyn

  • PipPipPipPipPip
  • Title: Evernote Geek
  • Group: Members
  • 3,618 posts

Posted 02 July 2012 - 01:04 PM

EN 3.5 used .Net. EN 4+ does not.
EVERNOTE: Getting Started | Support Page | Knowledge Base | Support Requests

Premium User
Ubuntu 12.04/10.04 + various other Linux distro (Web client & VirtualBox XP SP3 ENW)
Windows 7 SP1 & XP SP3 (EN 4.5.8.7356)
iPod Touch 2G (iOS 4.2.1, EN 4.1.9) / Blackberry Playbook (OS 2.0.1, EN 1.3)
Latest stable browsers & clippers(Chrome(default), Firefox, IE8/9)

#12 cyberjar09

cyberjar09

  • Pip
  • Title: Member
  • Group: Members
  • 1 posts

Posted 08 July 2012 - 11:46 AM

any luck getting it going yet?

#13 Phil Stephens

Phil Stephens

  • Pip
  • Title: Member
  • Group: Members
  • 11 posts

Posted 19 July 2012 - 10:25 AM

I am using Nixnote. It is not pretty, but is proving far more reliable at syncing my notes than the Windows Client. I have lost 35 notes this afternoon in the Windows client Ver 4.5.7 but Nixnote is happily syncing everything.

I am rapidly coming to the conclusion that the Windows version is not useable.

For Ubuntu/Mint Use:
sudo add-apt-repository ppa:vincent-c/nevernote
sudo apt-get update
sudo apt-get install nevernote
New Evernote user, hoping to make it my main organising tool...

#14 Hiroshi Miura

Hiroshi Miura

  • Pip
  • Title: Member
  • Group: Members
  • 5 posts

Posted 19 August 2012 - 12:22 PM

Evernote server does not suppot TLSv1.1 and v1.2 stronger encryption of https connection.
On the other hand, OpenSSL v1.0.x now support TLS v1.1/1.2 and WINE also support it automaticaly.

This causes the problem.

A solution is that disable TLSv1.1/1.2 on WINE.
Windows 7 also support TLSv1.1/1.2 but disabled by default.

A patch is as follows:
https://gist.github.com/3394551

#15 Owyn

Owyn

  • PipPipPipPipPip
  • Title: Evernote Geek
  • Group: Members
  • 3,618 posts

Posted 19 August 2012 - 12:30 PM

Evernote server does not suppot TLSv1.1 and v1.2 stronger encryption of https connection.
On the other hand, OpenSSL v1.0.x now support TLS v1.1/1.2 and WINE also support it automaticaly.

This causes the problem.

A solution is that disable TLSv1.1/1.2 on WINE.
Windows 7 also support TLSv1.1/1.2 but disabled by default.

A patch is as follows:
https://gist.github.com/3394551

Welcome to the forums.

Evernoted.
Any indication that this patch will be committed to Wine 1.4 stable?

PS: Noticed that Chrome recently applied equivalent patch to stable because of problems accessing IIS.
EVERNOTE: Getting Started | Support Page | Knowledge Base | Support Requests

Premium User
Ubuntu 12.04/10.04 + various other Linux distro (Web client & VirtualBox XP SP3 ENW)
Windows 7 SP1 & XP SP3 (EN 4.5.8.7356)
iPod Touch 2G (iOS 4.2.1, EN 4.1.9) / Blackberry Playbook (OS 2.0.1, EN 1.3)
Latest stable browsers & clippers(Chrome(default), Firefox, IE8/9)

#16 Hiroshi Miura

Hiroshi Miura

  • Pip
  • Title: Member
  • Group: Members
  • 5 posts

Posted 19 August 2012 - 12:48 PM

I'd like to commit a patch.
But, there also is big discussion on bug tracking of Wine: http://bugs.winehq.o...ug.cgi?id=30598

It is confused that OpenSSL in Ubuntu 12.04 also had a bug and confused everyone.

I've just tested and I believe my fix is OK at least for Evernote, but it is just a start line.
A solution should be to behave same as windows, when that don't have a problem. So I'm now researching it.

#17 Owyn

Owyn

  • PipPipPipPipPip
  • Title: Evernote Geek
  • Group: Members
  • 3,618 posts

Posted 19 August 2012 - 01:16 PM

Thanks. I added myself to the CC list for that bug.
As noted there:

david.h.vree@gmail.com 2012-05-08 13:10:55 CDT
I should be more specific. When I run Wine 1.4 from the Ubuntu repos, I also
cannot connect. But when I run "Wine 1.4" from my installation of PlayOnLinux
(on the same machine) it DOES work.

I do not have any idea why POL's 1.4 works and Ubuntu (and yours) doesn't. Can
you try POL with a 1.4 instance of Wine and see if it works for you?


Ilya Loginov 2012-05-09 13:08:09 CDT
There is no surprising that Play on Linux's version of wine 1.4 works.

PoL disribute wine as precompiled with openssl 0.9.8 tarball:

$ tar -tf PlayOnLinux-wine-1.4-linux-x86.pol | grep ssl
wineversion/1.4/lib/libssl.so
wineversion/1.4/lib/libssl.so.0.9.8

P.S. I had thought that PoL's wine is statically linked.


http://www.playonlinux.com/en/
EVERNOTE: Getting Started | Support Page | Knowledge Base | Support Requests

Premium User
Ubuntu 12.04/10.04 + various other Linux distro (Web client & VirtualBox XP SP3 ENW)
Windows 7 SP1 & XP SP3 (EN 4.5.8.7356)
iPod Touch 2G (iOS 4.2.1, EN 4.1.9) / Blackberry Playbook (OS 2.0.1, EN 1.3)
Latest stable browsers & clippers(Chrome(default), Firefox, IE8/9)

#18 Hiroshi Miura

Hiroshi Miura

  • Pip
  • Title: Member
  • Group: Members
  • 5 posts

Posted 20 August 2012 - 03:26 PM

https://gist.github.com/3394551

Now I updated a patch to see registry whether enable TLSv1.1 and TLSv1.2 to connect.
A default setting is same as Windows, Yes, disabled by default.

#19 Owyn

Owyn

  • PipPipPipPipPip
  • Title: Evernote Geek
  • Group: Members
  • 3,618 posts

Posted 20 August 2012 - 03:47 PM

Saw your post on wine-bug.
You should update your ENW (4.5.2). Current ENW stable is at 4.5.8.
EVERNOTE: Getting Started | Support Page | Knowledge Base | Support Requests

Premium User
Ubuntu 12.04/10.04 + various other Linux distro (Web client & VirtualBox XP SP3 ENW)
Windows 7 SP1 & XP SP3 (EN 4.5.8.7356)
iPod Touch 2G (iOS 4.2.1, EN 4.1.9) / Blackberry Playbook (OS 2.0.1, EN 1.3)
Latest stable browsers & clippers(Chrome(default), Firefox, IE8/9)

#20 Owyn

Owyn

  • PipPipPipPipPip
  • Title: Evernote Geek
  • Group: Members
  • 3,618 posts

Posted 21 August 2012 - 01:45 AM

FYI AFAIK Evernote does not use IIS. The tools they do use however seem to exhibit the same problem.

http://blog.evernote...ectural-digest/
http://blog.evernote.com/tech/
EVERNOTE: Getting Started | Support Page | Knowledge Base | Support Requests

Premium User
Ubuntu 12.04/10.04 + various other Linux distro (Web client & VirtualBox XP SP3 ENW)
Windows 7 SP1 & XP SP3 (EN 4.5.8.7356)
iPod Touch 2G (iOS 4.2.1, EN 4.1.9) / Blackberry Playbook (OS 2.0.1, EN 1.3)
Latest stable browsers & clippers(Chrome(default), Firefox, IE8/9)





Also tagged with one or more of these keywords: windows, evernote

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Clip to Evernote