Switching to retail server issues
Posted 25 June 2012 - 06:43 PM
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:
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
Posted 26 June 2012 - 12:04 AM
Posted 26 June 2012 - 12:35 AM
Posted 26 June 2012 - 02:59 AM
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
Posted 26 June 2012 - 06:53 PM
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