简体   繁体   English

只有Internet Explorer在与Tumblr Api的oauth连接上显示500错误

[英]Only Internet Explorer shows 500 error at oauth connection to Tumblr Api

I've searched the internet around for the following issue but found topics whose solution didn't help me or topics with no solutions. 我在互联网上搜索以下问题,但发现其解决方案对我没有帮助的主题或没有解决方案的主题。 So here it goes: 所以就这样:

For my php application I need to connect to Tumblr by way of oAuth and Tumblrs API. 对于我的php应用程序,我需要通过oAuth和Tumblrs API连接到Tumblr。 In Google Chrome, Firefox and Opera the process of getting tokens and building the authorize link and sending the user there everything runs perfectly. 在Google Chrome,Firefox和Opera中,获取令牌和建立授权链接并将用户发送到那里的过程运行完美。 However, in Internet Explorer a 500 error (internet server error) is returned. 但是,在Internet Explorer中,将返回500错误(Internet服务器错误)。

I traced the problem down to this: the request token and secret token are received from Tumblr; 我将问题归结为:从Tumblr收到了请求令牌和秘密令牌。 the app builds the authorization link; 该应用会建立授权链接; and when redirecting the user, it fails (again: only in Internet Explorer, latest version as well as lower versions). 并在重定向用户时失败(再次:仅在Internet Explorer,最新版本和较低版本中)。

The returning url from Tumblr is: [www.myurl.com]?oauth_token=[token]&oauth_verifier=[verifiertoken]# = Tumblr返回的URL是:[www.myurl.com]?oauth_token = [token]&oauth_verifier = [verifiertoken]# =

The url thats build then for the user to go to is: http://www.tumblr.com/oauth/authorize?oauth_token= {$token} 然后供用户使用的构建的URL是: http : //www.tumblr.com/oauth/authorize? oauth_token = {$ token}

Has this ever happened to anyone else? 这有没有发生过? If yes, your help would be appreciated big time! 如果是,您的帮助将不胜感激!

Okay, I found the cause. 好的,我找到了原因。 This problem occurred due to the following triviality: my local Internet Explorer browser doesn't work right. 发生此问题的原因如下:我的本地Internet Explorer浏览器无法正常工作。 It doesn't remove cookies nor temporary internet files after using the 'remove browser history' option with all switches on. 在打开所有开关后使用“删除浏览器历史记录”选项后,它不会删除Cookie或临时Internet文件。 I browsed to my app with other computers MSIE browsers and it DID work. 我使用其他计算机的MSIE浏览器浏览到我的应用程序,并且DID正常工作。 I removed all history files of my MSIE manually and now it also works on my local computer. 我手动删除了MSIE的所有历史记录文件,现在它也可以在本地计算机上使用。 This took some hours of frustration, so I post my answer in cause someone else experiences the same issue. 这花了几个小时的挫败感,所以我发布我的答案是因为其他人也遇到同样的问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM