gpt4 book ai didi

java - Good Data TT 代币将在不到一秒的时间内到期

转载 作者:太空宇宙 更新时间:2023-11-04 14:17:24 25 4
gpt4 key购买 nike

使用 Java HttpUrlConnection 连接到 Good Data api:

从本地主机运行时的应用程序始终运行完美,但在生产中,TT token 大多数时候会在不到一秒的时间内过期

2014-12-18 15:43:19.507 - Got SST token cookie=GDCAuthSST=; path=/gdc/account; expires=Sat, 03-Jan-2015 20:43:19 GMT; secure; HttpOnly

2014-12-18 15:43:19.618 - Exchanged it for TT token cookie=GDCAuthTT=fjMPorWZnO22FDhdb9qiapkzhmKKxwf2QANQaU-QXH6xKrUEulgsMdd2TZNmX71JdGfE972qko0Oo51KBMRpn_ofD6F6PhqNAp8GvrOvWGNcXGFnmdfq-Sb-_Eh_md_Vjbb_MhUqpKM93CR_Lbb_m6C1xN8RDYeyJzHxKfXjvJR7InYiOjE0MTg5MzU5OTksInUiOiI2NzU5MzkiLCJ>sIjoiMCIsImsiOiJjMTBmZDUwZi01NzM0LTQzMTgtODE5ZS0yZmE5NjA3MTk2NzIifQ; Path=/gdc; Secure; HttpOnly

2014-12-18 15:43:19.619 - call to server=https://secure.gooddata.com/gdc/md//obj/<1111111>

failed with 401 error and empty TT token

<html><head><title>401 Authorization Required</title></head><body>
<p>This server could not verify that you are authorized to access the document
requested. Either you supplied the wrong credentials (e.g., bad password),
or your browser doesn't understand how to supply the credentials required.
Please see <a href="http://docs.gooddata.apiary.io/#login">
Authenticating to the GoodData API</a> for details.</p></body></html>

cookie=GDCAuthTT=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/gdc; Secure

最佳答案

cookie=GDCAuthTT=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/gdc; Secure

它看起来像一个无效的 token ,通常是一个已删除的 token ,根本不会被存储。

获取 SST token 时可能会出现问题,您能否告诉我您是如何获取该 token 的?

关于java - Good Data TT 代币将在不到一秒的时间内到期,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27558785/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com