Hello,
I'm just putting the finishing touches on my Devcup entry and I'm having some trouble switching to the retail server.
My sandbox application functions properly, but on retail I get a HTTP/1.1 error when I attempt to do:
NoteStore->findNotesMetadata
Also, creating new notes works sporadically, i.e. only sometimes. Other-times it gives the HTTP/1.1 error.
All other functions work ( I can list and create notebooks and tags ).
I have tested and received the same errors using a developer token and OAuth token on retail.
If anyone has any advice on what to look for in order to fix this error it would be appreciated. I'm thinking the sandbox server is somehow more forgiving about the type of communication I use.
Any known differences between the two servers would also help me debug.
I'm using the C++ SDK with openssl 9.8
Thank you!
Switching to retail server issues
Started by Rambus, Jun 25 2012 06:43 PM
6 replies to this topic
#1
Posted 25 June 2012 - 06:43 PM
#2
Posted 26 June 2012 - 12:04 AM
When you switch to the production service, is your code pointing to evernote.com or www.evernote.com?
#3
Posted 26 June 2012 - 12:35 AM
Thank you for the reply Chris, I'm using www.evernote.com.
#4
Posted 26 June 2012 - 02:59 AM
I found the issue... Thank you for the great evernote people who helped.
I was using the latest C++ thrift. I created my connection initially using SSL. The communication would downgrade to HTTP after about 5 seconds (it times out for some reason). I guess viewing notes and tags does not requires SSL. Likewise, editing notes must not requires SSL on sandbox (why I never noticed it).
I solved it for the contest by recreating the connection prior to each call. This doesn't work for long commands- like searching a ton of notes, or downloading a large note, but will work well enough to make my app functional for the contest
I was using the latest C++ thrift. I created my connection initially using SSL. The communication would downgrade to HTTP after about 5 seconds (it times out for some reason). I guess viewing notes and tags does not requires SSL. Likewise, editing notes must not requires SSL on sandbox (why I never noticed it).
I solved it for the contest by recreating the connection prior to each call. This doesn't work for long commands- like searching a ton of notes, or downloading a large note, but will work well enough to make my app functional for the contest
#5
Posted 26 June 2012 - 03:45 AM
Great to hear and best of luck with the contest!
#6
Posted 26 June 2012 - 05:13 PM
Hi Rambus,
What is you OS and version number for your box?
Also, was your setup using either TLSv1.1 or SSLv23
Someone had a similar problem and I am curious if its related: http://devcup.everno...rum_topics/1042
What is you OS and version number for your box?
Also, was your setup using either TLSv1.1 or SSLv23
Someone had a similar problem and I am curious if its related: http://devcup.everno...rum_topics/1042
#7
Posted 26 June 2012 - 06:53 PM
Hello Chris,
I'm developing on Windows XP-64, with the latest service packs. I'm using an older version of SSL, as the more recent ones did not work (I will confirm the exact version).
When I get home I will also look at the linked post, and see if my solution has any bearing.
I'm developing on Windows XP-64, with the latest service packs. I'm using an older version of SSL, as the more recent ones did not work (I will confirm the exact version).
When I get home I will also look at the linked post, and see if my solution has any bearing.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users












