1. <legend id='vi9s8'><style id='vi9s8'><dir id='vi9s8'><q id='vi9s8'></q></dir></style></legend>
      <tfoot id='vi9s8'></tfoot>
    2. <i id='vi9s8'><tr id='vi9s8'><dt id='vi9s8'><q id='vi9s8'><span id='vi9s8'><b id='vi9s8'><form id='vi9s8'><ins id='vi9s8'></ins><ul id='vi9s8'></ul><sub id='vi9s8'></sub></form><legend id='vi9s8'></legend><bdo id='vi9s8'><pre id='vi9s8'><center id='vi9s8'></center></pre></bdo></b><th id='vi9s8'></th></span></q></dt></tr></i><div id='vi9s8'><tfoot id='vi9s8'></tfoot><dl id='vi9s8'><fieldset id='vi9s8'></fieldset></dl></div>

      <small id='vi9s8'></small><noframes id='vi9s8'>

        <bdo id='vi9s8'></bdo><ul id='vi9s8'></ul>
      1. 令牌必须是短期令牌并且在合理的时间范围内

        Token must be a short-lived token and in a reasonable timeframe(令牌必须是短期令牌并且在合理的时间范围内)
        • <small id='3YOMm'></small><noframes id='3YOMm'>

          <i id='3YOMm'><tr id='3YOMm'><dt id='3YOMm'><q id='3YOMm'><span id='3YOMm'><b id='3YOMm'><form id='3YOMm'><ins id='3YOMm'></ins><ul id='3YOMm'></ul><sub id='3YOMm'></sub></form><legend id='3YOMm'></legend><bdo id='3YOMm'><pre id='3YOMm'><center id='3YOMm'></center></pre></bdo></b><th id='3YOMm'></th></span></q></dt></tr></i><div id='3YOMm'><tfoot id='3YOMm'></tfoot><dl id='3YOMm'><fieldset id='3YOMm'></fieldset></dl></div>

          <tfoot id='3YOMm'></tfoot>

              <tbody id='3YOMm'></tbody>

            <legend id='3YOMm'><style id='3YOMm'><dir id='3YOMm'><q id='3YOMm'></q></dir></style></legend>

              • <bdo id='3YOMm'></bdo><ul id='3YOMm'></ul>
                1. 本文介绍了令牌必须是短期令牌并且在合理的时间范围内的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我遇到了与 this 相同的错误.就我而言,当应用尝试通过 Google Cloud Client API 上传文件时,就会发生这种情况.

                  I am having the same error as this. In my case it is happening when the app is trying to upload a file via 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
                  

                  我加载令牌的方式是读取服务帐户 json 文件,并将其附加到 PHP 中的 CURLOPT_HTTPHEADER.过去一个月确实正常,所以我猜测谷歌改变了授权方式.

                  How I load the token is reading a service-account json file, and attach it to CURLOPT_HTTPHEADER in PHP. It did work properly for the past one month, so I am guessing that Google changed the way of authorization.

                  有没有人遇到过&解决了吗?

                  Has anyone faced & solved this?

                  推荐答案

                  我几乎在同一时间偶然发现了同样的问题,所以我预计会出现 Google 的通用错误,但我的计算机上发生了以下情况:

                  I stumbled upon the same issue at roughly the same time, so I expected a generic bug of Google but here is what had happened on my computer :

                  raise HttpAccessTokenRefreshError(error_msg, status=resp.status)
                  oauth2client.client.HttpAccessTokenRefreshError: invalid_grant: Invalid JWT: Token must be a short-lived token and in a reasonable timeframe
                  

                  在我的情况下是由于计算机时钟的同步不良引起的,其中执行的代码有 5 分钟的延迟(由于内部时钟的电池有问题).当我手动将计算机的内部时间更改为正确的时间时,它又开始工作了.

                  was caused in my case by a poor synchronisation of the computer's clock where the code was executed that had a lag of 5 minutes (due to a faulty battery for the internal clock). It started working again when I manually changed the internal time of my computer to the correct one.

                  在此处提到了此解决方案,但未包含完整的错误消息

                  This solution was mentionned here, but not with the full error message

                  这篇关于令牌必须是短期令牌并且在合理的时间范围内的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  DeepL的翻译效果还是很强大的,如果我们要用php实现DeepL翻译调用,该怎么办呢?以下是代码示例,希望能够帮到需要的朋友。 在这里需要注意,这个DeepL的账户和api申请比较难,不支持中国大陆申请,需要拥有香港或者海外信用卡才行,没账号的话,目前某宝可以
                  PHP通过phpspreadsheet导入Excel日期,导入系统后,全部变为了4开头的几位数字,这是为什么呢?原因很简单,将Excel的时间设置问文本,我们就能看到该日期本来的数值,上图对应的数值为: 要怎么解决呢?进行数据转换就行,这里可以封装方法,或者用第三方的
                  mediatemple - can#39;t send email using codeigniter(mediatemple - 无法使用 codeigniter 发送电子邮件)
                  Laravel Gmail Configuration Error(Laravel Gmail 配置错误)
                  Problem with using PHPMailer for SMTP(将 PHPMailer 用于 SMTP 的问题)
                  Issue on how to setup SMTP using PHPMailer in GoDaddy server(关于如何在 GoDaddy 服务器中使用 PHPMailer 设置 SMTP 的问题)
                  <tfoot id='0MRjM'></tfoot>
                  <i id='0MRjM'><tr id='0MRjM'><dt id='0MRjM'><q id='0MRjM'><span id='0MRjM'><b id='0MRjM'><form id='0MRjM'><ins id='0MRjM'></ins><ul id='0MRjM'></ul><sub id='0MRjM'></sub></form><legend id='0MRjM'></legend><bdo id='0MRjM'><pre id='0MRjM'><center id='0MRjM'></center></pre></bdo></b><th id='0MRjM'></th></span></q></dt></tr></i><div id='0MRjM'><tfoot id='0MRjM'></tfoot><dl id='0MRjM'><fieldset id='0MRjM'></fieldset></dl></div>

                    • <bdo id='0MRjM'></bdo><ul id='0MRjM'></ul>

                        • <small id='0MRjM'></small><noframes id='0MRjM'>

                          <legend id='0MRjM'><style id='0MRjM'><dir id='0MRjM'><q id='0MRjM'></q></dir></style></legend>

                              <tbody id='0MRjM'></tbody>