Tag: urlfetch

使用Google App Engine时无效和/或缺lessSSL证书

更新 :请任何人都可以提供帮助:Google正在等待他们的错误跟踪工具的input和这个问题的例子。 如果您对此问题有可重复的步骤,请分享: https : //code.google.com/p/googleappengine/issues/detail?id = 10937 我试图使用Google App Engine后端从StackExchange API中获取数据。 您可能知道,一些StackExchange的API是特定于站点的,要求开发人员针对用户注册的每个站点运行查询。 所以,这里是我的后端代码从这些网站获取时间线数据。 feed_info_sitevariables包含feed_info_site站点名称(例如'security' , 'serverfault'等)。 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()) for item in data['items']: … # code for parsing timeline items 在堆栈溢出之外的所有站点上运行此查询时,一切正常。 奇怪的是,当feed_info_sitevariables设置为'stackoverflow' ,我从Google App Engine得到以下错误: HTTPException: Invalid and/or […]