Jump to content

Cannot connect to Evernote Cloud


Recommended Posts

Hello.
We've been using Evernote Business/Team for 10 years.
We created a small program whose function is to perform a string search (we call it QWE Code) into the Evernote Cloud.
Our little program was running very well until yesterday morning and an error appeared like this:
10:40:08 AM > CrossCheck EN was interrupted by network issue: Couldn't connect to server: System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel.   at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)   at System.Net.HttpWebRequest.GetRequestStream()   at Thrift.Transport.THttpClient.SendRequest()
 
First I thought that our OAuth had expired and needed to create a new OAuth.
When I tried to create a new OAuth and the same error appeared.
So I assume that the communication path to the Evernote cloud has been changed or something, so our little program can't use the Evernote Cloud service.
Please help us to solve this problem and you can provide the good solution for us.
 
 
Link to comment

Send in a support ticket and have a chat with your teams rep as well. Sounds like something has changed somewhere and needs updating.

Link to comment

I've sent a ticket to Evernote Support. But I doubt they can provide a quick solution.

That's why I also posted it here.

Link to comment

Could be a number of reasons for that error. Maybe an endpoint has changed or an SSL certificate expired.

The API connection from my email software seems to be working OK so probably only something support and the devs can fix.

Link to comment
Thanks for your input Jon/T.
You mention 'chat with your teams rep' - does that mean as a Teams Business customer I should have a rep / manager from Evernote that I can talk with - or directly chat with?
I am finding that the generic Evernote support do not reply many times now.
Link to comment

There used to be a different route to support for teams but looking at it again now it looks like it's all in the same place but I would think your request will be marked as a teams account.

When did you send in a support request?

Link to comment

Until now no one come back to me from EN support to giving an solution. hmmmm.

is any one here know where other place to tell this issue to Evernote?

Link to comment
  • 3 weeks later...

Hi @Jon/t 

I done solve this issue and what I did is moving the program from WIndows Server 2012R2 into WIndows 10 and my QWE code program is running well.

Other issue is coming and I cannot solve it.

I create other small program to get OAuth token from evernote using Visual Studio and C#. The program is running well until the 18 May 2024 (same time with this issue show up). 

The mini browser that to get the user do authorization, is only showing a blank screen (see attachment).

A lot of javascript error message pop up when the mini browser showing.

Do you now any idea how to solve this issue?

Or are you have other recomendation how I can get Evernote token using OAuth?

 

imageEN.png

Link to comment
  • Level 5

From what you describe and what I see I think your problem is rooted in the stop for legacy syncing.

Windows Server 2012 is since long deprecated, as are probably the other platforms you use for your code. We know the legacy interface was stopped around the time you describe. I think (without knowing) that this cut off your remote access as well.

If this is correct (only support can confirm) you will not be able to reconnect.

Link to comment

Hi @PinkElephant,

Thank you for your reply.

Understand that Windows Server 2012R2 is depracated right now and my small program was running fine in Windows 10.

Every year I need to put new Evernote token in my small program so it can running well.

Now the get token program that I use from SDK from Evernote is not running well and giving like above screen.

I done did sending to evernote developer support but their answer not helping us much.

So this why I ask here if someone maybe knowing what other SDK that still can giving and autorization to get Evernote token.

 

Link to comment
  • 1 month later...

Hello! Sorry in advance if I chose the wrong topic. I'm very new to the Evernote development but very curious and want to try.

I recently received my Evernote API key and started to configure and try out it. I downloaded python3 sdk from Github.

I use Python 3.10 version. Set up virtual environment and installed SDK by following this page: https://dev.evernote.com/doc/start/python.php

It seemed that SDK installed nicely since the command '$ python -c 'from evernote.api.client import EvernoteClient' executed silently, but when I try to run the code 

import hashlib
import binascii
import evernote.edam.userstore.constants as UserStoreConstants
import evernote.edam.type.ttypes as Types
import os
from evernote.api.client import EvernoteClient
import config  # Ensure this line is present to import your configuration

# Use the configuration values from config.py
client = EvernoteClient(token=config.auth_token, sandbox=config.sandbox)

try:
    user_store = client.get_user_store()
    version_ok = user_store.checkVersion("Evernote EDAMTest (Python)",
                                         UserStoreConstants.EDAM_VERSION_MAJOR,
                                         UserStoreConstants.EDAM_VERSION_MINOR)
    print(f"Is version up-to-date? {version_ok}")
except Exception as e:
    print(f"Error connecting to Evernote: {e}")

I'm getting the error: 

Error connecting to Evernote: [Errno 11001] getaddrinfo failed

What could be the root cause for that?

Thank you in advance!

Link to comment
  • Evernote Expert

There really aren't many, if any, developers visiting here.

I'm not sure that you'll get much advice. Unfortunately this is where you'll be referred to if you contacted Evernote support.

I hope you'll find help but I certainly wouldn't advise you to hold your breath while you wait.

Link to comment

I think I was able to get it through without an exception. I set Sandbox parameter as False, since sandbox.evernote.com was deprecated and probably because of it the connection error happened. 

I will continue my development journey from there :)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...