Invalid and/or missing SSL certificate when using Google App Engine -


update: please, if can help: google waiting inputs , examples of problem on bug tracking tool. if have reproducible steps issue, please share them on: https://code.google.com/p/googleappengine/issues/detail?id=10937

i'm trying fetch data stackexchange api using google app engine backend. may know, of stackexchange's apis site-specific, requiring developers run queries against every site user registered in.

so, here's backend code fetching timeline data these sites. feed_info_site variable holds stackexchange site name (such 'security', 'serverfault', etc.).

    data = json.loads(urllib.urlopen("%sme/timeline?%s" %          (self.api_base_url, urllib.urlencode({"pagesize": 100,          "fromdate": se_since_timestamp, "filter": "!9wwbr         (nmw", "site": feed_info_site, "access_token":      decrypt(self.api_access_token_secret, self.access_token), "key":  self.api_app_key}))).read()) item in data['items']:     ... # code parsing timeline items 

when running query on sites except stack overflow, works ok. what's weird is, when feed_info_site variable set 'stackoverflow', following error google app engine:

    httpexception: invalid and/or missing ssl certificate url:  https://api.stackexchange.com/2.2/me/timeline? filter=%219wwbr%28nmw&access_token=     <access_token_removed>&fromdate=1&pagesize=100&key= <api_key_removed>&site=stackoverflow 

of course, if run same query in safari, json results i'm expecting api. problem lies in google's urlfetch service. found several topics here on stack overflow related similar https/ssl exceptions, no accepted answer solved problems. tried removing cacerts.txt files. tried making call validate_certificate=false, no success.

i think problem not strictly related https/ssl. if so, how explain changing single api parameter make request fail?

  1. wait next update app engine (scheduled 1 soon) update.
  2. replace browserid.org/verify service (verifier.loogin.persona.org/verify service hosted mozilla used)
  3. make sure cacerts.txt doesnt exist (looks have sorted in-case :-) )
  4. attempt again luck! -brendan

Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -