Comments (10)
开debug日志发我看看,warn可以不用理
from ninja.
没什么应该是网络有问题 https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/502
from ninja.
ninja | 2023-10-30T02:12:55.409388Z DEBUG request{method=POST uri=/auth/login version=HTTP/1.0}: reqwest_impersonate::async_impl::client: redirect policy disallowed redirection to 'https://chat.openai.com/api/auth/callback/auth0?code=DVq9PQ1ORQEX3avQ9GwWak94OvOis1DCz0aV8GHPL1muR&state=X7FeajuHHzh1dw0nUFUJZNHLBgh2CDLRHb2xN_ztYx8'
ninja | 2023-10-30T02:12:55.409445Z DEBUG request{method=POST uri=/auth/login version=HTTP/1.0}: openai::auth: [openai/src/auth/mod.rs:247:9] get_location_path: {"date": "Mon, 30 Oct 2023 02:12:55 GMT", "content-type": "text/plain; charset=utf-8", "content-length": "170", "location": "https://chat.openai.com/api/auth/callback/auth0?code=DVq9PQ1ORQEX3avQ9GwWak94OvOis1DCz0aV8GHPL1muR&state=X7FeajuHHzh1dw0nUFUJZNHLBgh2CDLRHb2xN_ztYx8", "cf-cache-status": "DYNAMIC", "cache-control": "no-store, max-age=0, no-transform", "set-cookie": "auth0=s%3AEiSiLaocOZch6iSSXfYUb7-k0eiPkJ-A.3hTK%2FciDAf1M5WJBJcyjosw9Kp%2BayqhS2d6JvH04r8o; Path=/; Expires=Mon, 13 Nov 2023 02:12:55 GMT; HttpOnly; Secure; SameSite=None", "set-cookie": "auth0_compat=s%3AEiSiLaocOZch6iSSXfYUb7-k0eiPkJ-A.3hTK%2FciDAf1M5WJBJcyjosw9Kp%2BayqhS2d6JvH04r8o; Path=/; Expires=Mon, 13 Nov 2023 02:12:55 GMT; HttpOnly; Secure", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "vary": "Accept, Accept-Encoding", "ot-baggage-auth0-request-id": "81e022d40cd47e77", "ot-tracer-sampled": "true", "ot-tracer-spanid": "19ebb45a4c771390", "ot-tracer-traceid": "57cb4983624dd547", "pragma": "no-cache", "traceparent": "00-000000000000000057cb4983624dd547-19ebb45a4c771390-01", "tracestate": "auth0-request-id=81e022d40cd47e77,auth0=true", "x-auth0-requestid": "002278a26a8212fdaa8d", "x-content-type-options": "nosniff", "x-ratelimit-limit": "10000", "x-ratelimit-remaining": "9999", "x-ratelimit-reset": "1698631976", "server": "cloudflare", "cf-ray": "81e022d40cd47e77-LAX"}
ninja | 2023-10-30T02:12:55.409502Z DEBUG request{method=POST uri=/auth/login version=HTTP/1.0}: hyper_imp::client::pool: reuse idle connection for ("https", chat.openai.com)
ninja | 2023-10-30T02:12:55.409550Z DEBUG request{method=POST uri=/auth/login version=HTTP/1.0}:Connection{peer=Client}: h2_imp::codec::framed_write: send frame=Headers { stream_id: StreamId(5), flags: (0x5: END_HEADERS | END_STREAM) }
ninja | 2023-10-30T02:12:55.449980Z DEBUG request{method=POST uri=/auth/login version=HTTP/1.0}:Connection{peer=Client}: h2_imp::codec::framed_read: received frame=Data { stream_id: StreamId(9) }
ninja | 2023-10-30T02:12:55.450062Z DEBUG request{method=POST uri=/auth/login version=HTTP/1.0}:Connection{peer=Client}: h2_imp::codec::framed_read: received frame=Data { stream_id: StreamId(9), flags: (0x1: END_STREAM) }
ninja | 2023-10-30T02:12:55.664773Z DEBUG request{method=POST uri=/auth/login version=HTTP/1.0}:Connection{peer=Client}: h2_imp::codec::framed_read: received frame=Headers { stream_id: StreamId(5), flags: (0x5: END_HEADERS | END_STREAM) }
ninja | 2023-10-30T02:12:55.664898Z DEBUG request{method=POST uri=/auth/login version=HTTP/1.0}: reqwest_impersonate::async_impl::client: redirect policy disallowed redirection to 'https://chat.openai.com/'
ninja | 2023-10-30T02:12:55.664990Z DEBUG request{method=POST uri=/auth/login version=HTTP/1.0}: hyper_imp::client::pool: reuse idle connection for ("https", chat.openai.com)
ninja | 2023-10-30T02:12:55.665047Z DEBUG request{method=POST uri=/auth/login version=HTTP/1.0}:Connection{peer=Client}: h2_imp::codec::framed_write: send frame=Headers { stream_id: StreamId(7), flags: (0x5: END_HEADERS | END_STREAM) }
ninja | 2023-10-30T02:12:55.729907Z DEBUG request{method=POST uri=/auth/login version=HTTP/1.0}:Connection{peer=Client}: h2_imp::codec::framed_read: received frame=Headers { stream_id: StreamId(7), flags: (0x4: END_HEADERS) }
ninja | 2023-10-30T02:12:55.769874Z DEBUG request{method=POST uri=/auth/login version=HTTP/1.0}:Connection{peer=Client}: h2_imp::codec::framed_read: received frame=Data { stream_id: StreamId(7) }
ninja | 2023-10-30T02:12:55.769913Z DEBUG request{method=POST uri=/auth/login version=HTTP/1.0}:Connection{peer=Client}: h2_imp::codec::framed_read: received frame=Data { stream_id: StreamId(7), flags: (0x1: END_STREAM) }
ninja | 2023-10-30T02:12:55.770193Z DEBUG request{method=POST uri=/auth/login version=HTTP/1.0}: tower_http::trace::on_response: finished processing request latency=1997 ms status=303
ninja | 2023-10-30T02:12:55.770269Z DEBUG hyper::proto::h1::io: flushed 5273 bytes
ninja | 2023-10-30T02:13:03.343250Z DEBUG hyper_imp::client::client: client connection error: connection error: connection closed because of a broken pipe
ninja | 2023-10-30T02:13:05.426271Z DEBUG hyper_imp::client::client: client connection error: connection error: connection closed because of a broken pipe
ninja | 2023-10-30T02:13:05.735505Z DEBUG hyper_imp::client::client: client connection error: connection error: connection closed because of a broken pipe
用 Access token 登录是正常的, 用帐号密码登录会报 502
from ninja.
from ninja.
你的IP废了,换IP吧,我有一台机子就是不能登录,但是可以访问会话
from ninja.
你的IP废了,换IP吧,我有一台机子就是不能登录,但是可以访问会话
openai对登录限制很严格
from ninja.
嗯,我看演示站是正常的 。 您的 login 是 303 。我的是 502 。 我用的 Warp 。重启换 ip 么。。
from ninja.
嗯,我看演示站是正常的 。 您的 login 是 303 。我的是 502 。 我用的 Warp 。重启换 ip 么。。
不一定会换,谷歌我记得有个教程教怎么重启换warp IP的,你可以去试试
from ninja.
大佬,同样的环境,我用ninjia的auth界面,通过账号密码获取access token 是正常的,先用这种方式顶一下了😃
from ninja.
大佬,同样的环境,我用ninjia的auth界面,通过账号密码获取access token 是正常的,先用这种方式顶一下了😃
没有这种说法,两个接口调用的代码都是一样
from ninja.
Related Issues (20)
- # Not Working New Version `v0.9.25` Chat2API Is working but the webpage is not showing HOT 6
- @gnggp check these container logs `disable ui ` HOT 1
- How to enable web ui HOT 6
- thread 'main' panicked at crates/openai/src/context/arkose/mod.rs:51:14: Failed to create arkose database: RedbDatabaseError(DatabaseAlreadyOpen) note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace Aborted HOT 1
- 希望可以通过参数或变量自定义URL_CHATGPT_API和URL_PLATFORM_API的URL
- 无法访问webui HOT 1
- 【工具】支持refresh_token作为请求key,中转backend/*接口,自动更新access_token、调用gpt-4-mobile 、gpt-4-s 、基本所有的GPTS模型
- docker运行项目登录页面有文件显示404 HOT 2
- 升级最新版本9.26后,登录页Continue按钮无效了。 HOT 5
- 请问 GPT 3.5 会话不会产生 HAR 日志文件吗 HOT 3
- Issue Solve HOT 3
- gpt4无法对话(已上传har文件) HOT 4
- ninja 出现 Our systems have detected unusual activity from your system. Please try again later. HOT 6
- 升级9.0.27后 会出现 invalid location path: https://chat.openai.com/ 这个issue
- “/auth/token”返回Error: 401 - {"code":401,"msg":"Auth Key required!"} HOT 2
- api模式还是不行 HOT 2
- 登录需要拼图了 HOT 15
- chatgpt2api功能失效了吗 HOT 8
- 为什么成功在vps部署后,在网页打开会显示找不到此 *** 页面 HTTP ERROR 404 HOT 8
- 复活吧 无敌的ninja HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ninja.