我有相同的错误此.就我而言,当应用尝试通过Google Cloud Client API上传文件时,就会发生这种情况.
POST https://www.googleapis.com/oauth2/v4/token
400 Bad Request
Invalid JWT: Token must be a short-lived token and in a reasonable timeframe
Run Code Online (Sandbox Code Playgroud)
我如何加载令牌是读取服务帐户json文件,并将其附加到CURLOPT_HTTPHEADERPHP中.它确实在过去一个月内正常运行,因此我猜测Google改变了授权方式.
谁有人面对并解决了这个问题?
我的iMac操作系统昨晚升级到OS X El Capitan(版本10.11).
我使用XAMPP 5.5.28.MySQL和ProFTPD正在运行,但升级后Apache Web Server无法运行.
即使应用程序日志说..
Starting Apache Web Server...
/Applications/XAMPP/xamppfiles/apache2/scripts/ctl.sh : httpd started
Run Code Online (Sandbox Code Playgroud)
然后试着在终端上启动它
$ sudo /Applications/XAMPP/xamppfiles/bin/httpd
(48)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(48)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
Run Code Online (Sandbox Code Playgroud)
我检查了是否有任何其他应用程序使用相同的端口
$ netstat -anp tcp | grep :80
Run Code Online (Sandbox Code Playgroud)
并没有使用它.
无论如何,为了避免错误,我将端口80更改为8888
$ vi /Applications/XAMPP/etc/httpd.conf
Run Code Online (Sandbox Code Playgroud)
然后尝试再次在终端上启动Web服务器,它工作正常.
现在想知道
80?任何帮助表示赞赏.