Code Monkey home page Code Monkey logo

ninja's Introduction


English | 简体中文

CI CI

ninja

Reverse engineered ChatGPT proxy

Project has ended.

Features

  • API key acquisition
  • Email/password account authentication
  • Proxy ChatGPT-API/OpenAI-API
  • ChatGPT WebUI
  • Support IP proxy pool
  • Very small memory footprint
  • Solve FunCaptcha with Capsolver.com

Installation

If you need more detailed installation and usage information, please check wiki

Contributing

If you would like to submit your contribution, please open a Pull Request.

Getting help

Your question might already be answered on the issues

Instructions

  1. Open source projects can be modified, but please keep the original author information to avoid losing technical support.
  2. Submit an issue if there are errors, bugs, etc., and I will fix them.

License

ninja © gngpp, Released under the GPL-3.0 License.

ninja's People

Contributors

0x676e67 avatar blueskea avatar dependabot[bot] avatar rexwzh avatar unsciorg avatar xiexin12138 avatar yongman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ninja's Issues

Failing to compile on Arch Linux

Compiling boring-sys v2.0.0 (https://github.com/gngpp/boring#c54e490f)
error: failed to run custom build command for boring-sys v2.0.0 (https://github.com/gngpp/boring#c54e490f)

Caused by:
process didn't exit successfully: /home/jirubizu/Development/Ai/ninja/target/release/build/boring-sys-cbaecee17b0560c2/build-script-build (exit status: 101)
--- stdout
cargo:rerun-if-env-changed=BORING_BSSL_PATH
CMAKE_TOOLCHAIN_FILE_x86_64-unknown-linux-gnu = None
CMAKE_TOOLCHAIN_FILE_x86_64_unknown_linux_gnu = None
HOST_CMAKE_TOOLCHAIN_FILE = None
CMAKE_TOOLCHAIN_FILE = None
CMAKE_GENERATOR_x86_64-unknown-linux-gnu = None
CMAKE_GENERATOR_x86_64_unknown_linux_gnu = None
HOST_CMAKE_GENERATOR = None
CMAKE_GENERATOR = None
CMAKE_PREFIX_PATH_x86_64-unknown-linux-gnu = None
CMAKE_PREFIX_PATH_x86_64_unknown_linux_gnu = None
HOST_CMAKE_PREFIX_PATH = None
CMAKE_PREFIX_PATH = None
CMAKE_x86_64-unknown-linux-gnu = None
CMAKE_x86_64_unknown_linux_gnu = None
HOST_CMAKE = None
CMAKE = None
running: cd "/home/jirubizu/Development/Ai/ninja/target/release/build/boring-sys-40706b39376a8007/out/build" && CMAKE_PREFIX_PATH="" "cmake" "/home/jirubizu/.cargo/git/checkouts/boring-e91d5d2310e5f29a/c54e490/boring-sys/deps/boringssl" "-DCMAKE_INSTALL_PREFIX=/home/jirubizu/Development/Ai/ninja/target/release/build/boring-sys-40706b39376a8007/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" "-DCMAKE_BUILD_TYPE=MinSizeRel"
-- Configuring done (0.0s)
-- Generating done (0.0s)
-- Build files have been written to: /home/jirubizu/Development/Ai/ninja/target/release/build/boring-sys-40706b39376a8007/out/build
running: cd "/home/jirubizu/Development/Ai/ninja/target/release/build/boring-sys-40706b39376a8007/out/build" && MAKEFLAGS="-j --jobserver-fds=7,8 --jobserver-auth=7,8" "cmake" "--build" "." "--target" "ssl" "--config" "MinSizeRel"
[100%] Built target ssl
cargo:root=/home/jirubizu/Development/Ai/ninja/target/release/build/boring-sys-40706b39376a8007/out
running: cd "/home/jirubizu/Development/Ai/ninja/target/release/build/boring-sys-40706b39376a8007/out/build" && CMAKE_PREFIX_PATH="" "cmake" "/home/jirubizu/.cargo/git/checkouts/boring-e91d5d2310e5f29a/c54e490/boring-sys/deps/boringssl" "-DCMAKE_INSTALL_PREFIX=/home/jirubizu/Development/Ai/ninja/target/release/build/boring-sys-40706b39376a8007/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" "-DCMAKE_BUILD_TYPE=MinSizeRel"
-- Configuring done (0.0s)
-- Generating done (0.0s)
-- Build files have been written to: /home/jirubizu/Development/Ai/ninja/target/release/build/boring-sys-40706b39376a8007/out/build
running: cd "/home/jirubizu/Development/Ai/ninja/target/release/build/boring-sys-40706b39376a8007/out/build" && MAKEFLAGS="-j --jobserver-fds=7,8 --jobserver-auth=7,8" "cmake" "--build" "." "--target" "crypto" "--config" "MinSizeRel"
[100%] Built target crypto
cargo:root=/home/jirubizu/Development/Ai/ninja/target/release/build/boring-sys-40706b39376a8007/out
cargo:rustc-link-search=native=/home/jirubizu/Development/Ai/ninja/target/release/build/boring-sys-40706b39376a8007/out/build/
cargo:rustc-link-lib=static=crypto
cargo:rustc-link-lib=static=ssl
cargo:rerun-if-env-changed=BORING_BSSL_INCLUDE_PATH

--- stderr
thread 'main' panicked at /home/jirubizu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.68/src/fallback.rs:777:9:
"atomic_wide_counter_struct(unnamed_at/usr/include/bits/atomic_wide_counter_h_28_3)" is not a valid Ident
stack backtrace:
0: 0x559d17847e4c - std::backtrace_rs::backtrace::libunwind::trace::he43a6a3949163f8c
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
1: 0x559d17847e4c - std::backtrace_rs::backtrace::trace_unsynchronized::h50db52ca99f692e7
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2: 0x559d17847e4c - std::sys_common::backtrace::_print_fmt::hd37d595f2ceb2d3c
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:67:5
3: 0x559d17847e4c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h678bbcf9da6d7d75
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:44:22
4: 0x559d17873d5c - core::fmt::rt::Argument::fmt::h3a159adc080a6fc9
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/fmt/rt.rs:138:9
5: 0x559d17873d5c - core::fmt::write::hb8eaf5a8e45a738e
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/fmt/mod.rs:1094:21
6: 0x559d1784489e - std::io::Write::write_fmt::h9663fe36b2ee08f9
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/io/mod.rs:1714:15
7: 0x559d17847c34 - std::sys_common::backtrace::_print::hcd4834796ee88ad2
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:47:5
8: 0x559d17847c34 - std::sys_common::backtrace::print::h1360e9450e4f922a
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:34:9
9: 0x559d17849503 - std::panicking::default_hook::{{closure}}::h2609fa95cd5ab1f4
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:270:22
10: 0x559d1784921c - std::panicking::default_hook::h6d75f5747cab6e8d
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:290:9
11: 0x559d17849a89 - std::panicking::rust_panic_with_hook::h57e78470c47c84de
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:707:13
12: 0x559d17849987 - std::panicking::begin_panic_handler::{{closure}}::h3dfd2453cf356ecb
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:599:13
13: 0x559d17848376 - std::sys_common::backtrace::__rust_end_short_backtrace::hdb177d43678e4d7e
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:170:18
14: 0x559d178496d2 - rust_begin_unwind
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:595:5
15: 0x559d17379593 - core::panicking::panic_fmt::hd1e971d8d7c78e0e
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/panicking.rs:67:14
16: 0x559d17791009 - proc_macro2::fallback::validate_ident::ha8c92a4bdf0d3815
at /home/jirubizu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.68/src/fallback.rs:777:9
17: 0x559d17790d5c - proc_macro2::fallback::Ident::_new::hd1d6d59a91471e5c
at /home/jirubizu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.68/src/fallback.rs:719:9
18: 0x559d17790dcc - proc_macro2::fallback::Ident::new::h7ce4f102aee244e9
at /home/jirubizu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.68/src/fallback.rs:729:9
19: 0x559d17793407 - proc_macro2::imp::Ident::new::h2a70ab03008b3403
at /home/jirubizu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.68/src/wrapper.rs:645:50
20: 0x559d1779f225 - proc_macro2::Ident::new::h36f4dddb367ca8d5
at /home/jirubizu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.68/src/lib.rs:952:21
21: 0x559d173f9a42 - bindgen::ir::context::BindgenContext::rust_ident_raw::hc8885b09893d5e43
at /home/jirubizu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.60.1/src/ir/context.rs:861:9
22: 0x559d173f96da - bindgen::ir::context::BindgenContext::rust_ident::hb9c8828fb0d75783
at /home/jirubizu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.60.1/src/ir/context.rs:853:9
23: 0x559d17466249 - <bindgen::ir::comp::CompInfo as bindgen::codegen::CodeGenerator>::codegen::hcfb28b23547b8143
at /home/jirubizu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.60.1/src/codegen/mod.rs:1786:31
24: 0x559d173a66c7 - <bindgen::ir::ty::Type as bindgen::codegen::CodeGenerator>::codegen::h364e92a93b47c9d4
at /home/jirubizu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.60.1/src/codegen/mod.rs:814:39
25: 0x559d17415a4d - <bindgen::ir::item::Item as bindgen::codegen::CodeGenerator>::codegen::hd11fbe961e264f79
at /home/jirubizu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.60.1/src/codegen/mod.rs:500:17
26: 0x559d1746d0ef - <bindgen::ir::comp::CompInfo as bindgen::codegen::CodeGenerator>::codegen::hcfb28b23547b8143
at /home/jirubizu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.60.1/src/codegen/mod.rs:2115:13
27: 0x559d173a66c7 - <bindgen::ir::ty::Type as bindgen::codegen::CodeGenerator>::codegen::h364e92a93b47c9d4
at /home/jirubizu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.60.1/src/codegen/mod.rs:814:39
28: 0x559d17415a4d - <bindgen::ir::item::Item as bindgen::codegen::CodeGenerator>::codegen::hd11fbe961e264f79
at /home/jirubizu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.60.1/src/codegen/mod.rs:500:17
29: 0x559d174b696a - <bindgen::ir::module::Module as bindgen::codegen::CodeGenerator>::codegen::{{closure}}::hcf41458159a61a4f
at /home/jirubizu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.60.1/src/codegen/mod.rs:523:21
30: 0x559d173c4c57 - <bindgen::ir::module::Module as bindgen::codegen::CodeGenerator>::codegen::ha183b43afb230cf5
at /home/jirubizu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.60.1/src/codegen/mod.rs:553:13
31: 0x559d17415a29 - <bindgen::ir::item::Item as bindgen::codegen::CodeGenerator>::codegen::hd11fbe961e264f79
at /home/jirubizu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.60.1/src/codegen/mod.rs:491:17
32: 0x559d174c3a3f - bindgen::codegen::codegen::{{closure}}::hc732306d0b69467b
at /home/jirubizu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.60.1/src/codegen/mod.rs:4364:9
33: 0x559d173fc052 - bindgen::ir::context::BindgenContext::gen::h3ec397e22302fcfd
at /home/jirubizu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.60.1/src/ir/context.rs:1173:19
34: 0x559d174c319d - bindgen::codegen::codegen::he02de11090b125ff
at /home/jirubizu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.60.1/src/codegen/mod.rs:4328:5
35: 0x559d173d3bfd - bindgen::Bindings::generate::hfa0d60c3336d079f
at /home/jirubizu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.60.1/src/lib.rs:2438:32
36: 0x559d173d0d56 - bindgen::Builder::generate::hb5152e4e9122b8e0
at /home/jirubizu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.60.1/src/lib.rs:1502:9
37: 0x559d17383db4 - build_script_build::main::h78d8e03ff42de64a
at /home/jirubizu/.cargo/git/checkouts/boring-e91d5d2310e5f29a/c54e490/boring-sys/build.rs:457:20
38: 0x559d1737ae2b - core::ops::function::FnOnce::call_once::h67ba60198b020261
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/ops/function.rs:250:5
39: 0x559d17379ede - std::sys_common::backtrace::__rust_begin_short_backtrace::h0c899f121dac1eda
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:154:18
40: 0x559d1737a711 - std::rt::lang_start::{{closure}}::had618109dcc66c21
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/rt.rs:166:18
41: 0x559d1784013b - core::ops::function::impls::<impl core::ops::function::FnOnce for &F>::call_once::hbcc4f8a3f5ada78c
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/ops/function.rs:284:13
42: 0x559d1784013b - std::panicking::try::do_call::he5f117a9e13dadde
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:502:40
43: 0x559d1784013b - std::panicking::try::h2f3af9afce3a0443
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:466:19
44: 0x559d1784013b - std::panic::catch_unwind::h6d6c387f38ef05ea
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panic.rs:142:14
45: 0x559d1784013b - std::rt::lang_start_internal::{{closure}}::h6ca09d5905711415
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/rt.rs:148:48
46: 0x559d1784013b - std::panicking::try::do_call::ha9fd18ea06654a4b
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:502:40
47: 0x559d1784013b - std::panicking::try::hda5c2a4432362341
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:466:19
48: 0x559d1784013b - std::panic::catch_unwind::h440f731b142bc235
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panic.rs:142:14
49: 0x559d1784013b - std::rt::lang_start_internal::hc0b4e50f058f62ce
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/rt.rs:148:20
50: 0x559d1737a6ea - std::rt::lang_start::haf867660dfd3dfe8
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/rt.rs:165:17
51: 0x559d17384a7e - main
52: 0x7f47b1cd4cd0 -
53: 0x7f47b1cd4d8a - __libc_start_main
54: 0x559d17379c55 - _start
55: 0x0 -

通过网页登录时,提示“No solver available”

启动命令:ninja serve run -L debug
通过网页登录时,提示“No solver available”
2023-09-28_105403

日志:

2023-09-28T02:50:46.945519Z DEBUG hyper::proto::h1::role: resetting h1 header read timeout timer
2023-09-28T02:50:46.945587Z DEBUG hyper::proto::h1::io: parsed 13 headers
2023-09-28T02:50:46.945594Z DEBUG hyper::proto::h1::conn: incoming body is content-length (71 bytes)
2023-09-28T02:50:46.945625Z DEBUG hyper::proto::h1::conn: incoming body completed
2023-09-28T02:50:46.945653Z DEBUG request{method=POST uri=/auth/login version=HTTP/1.1}: tower_http::trace::on_request: started processing request
2023-09-28T02:50:46.945893Z DEBUG request{method=POST uri=/auth/login version=HTTP/1.1}: tower_http::trace::on_response: finished processing request latency=0 ms status=200
2023-09-28T02:50:46.945969Z DEBUG hyper::proto::h1::io: flushed 18058 bytes
2023-09-28T02:50:47.201759Z DEBUG hyper::proto::h1::role: resetting h1 header read timeout timer
2023-09-28T02:50:47.201887Z DEBUG hyper::proto::h1::io: parsed 8 headers
2023-09-28T02:50:47.201896Z DEBUG hyper::proto::h1::conn: incoming body is empty
2023-09-28T02:50:47.201957Z DEBUG request{method=GET uri=/ulp/react-components/1.66.5/css/main.cdn.min.css version=HTTP/1.1}: tower_http::trace::on_request: started processing request
2023-09-28T02:50:47.202044Z DEBUG request{method=GET uri=/ulp/react-components/1.66.5/css/main.cdn.min.css version=HTTP/1.1}: tower_http::trace::on_response: finished processing request latency=0 ms status=200
2023-09-28T02:50:47.202190Z DEBUG hyper::proto::h1::io: flushed 233306 bytes
2023-09-28T02:50:47.202225Z DEBUG hyper::proto::h1::role: resetting h1 header read timeout timer
2023-09-28T02:50:47.202239Z DEBUG hyper::proto::h1::io: parsed 8 headers
2023-09-28T02:50:47.202244Z DEBUG hyper::proto::h1::conn: incoming body is empty
2023-09-28T02:50:47.202263Z DEBUG request{method=GET uri=/sweetalert2/bulma.min.css version=HTTP/1.1}: tower_http::trace::on_request: started processing request
2023-09-28T02:50:47.202288Z DEBUG request{method=GET uri=/sweetalert2/bulma.min.css version=HTTP/1.1}: tower_http::trace::on_response: finished processing request latency=0 ms status=200
2023-09-28T02:50:47.202333Z DEBUG hyper::proto::h1::io: flushed 20076 bytes
2023-09-28T02:50:47.484945Z DEBUG hyper::proto::h1::role: resetting h1 header read timeout timer
2023-09-28T02:50:47.485031Z DEBUG hyper::proto::h1::io: parsed 8 headers
2023-09-28T02:50:47.485042Z DEBUG hyper::proto::h1::conn: incoming body is empty
2023-09-28T02:50:47.485106Z DEBUG request{method=GET uri=/sweetalert2/sweetalert2.all.min-bc15590d.js version=HTTP/1.1}: tower_http::trace::on_request: started processing request
2023-09-28T02:50:47.485167Z DEBUG request{method=GET uri=/sweetalert2/sweetalert2.all.min-bc15590d.js version=HTTP/1.1}: tower_http::trace::on_response: finished processing request latency=0 ms status=200
2023-09-28T02:50:47.485308Z DEBUG hyper::proto::h1::io: flushed 69086 bytes
2023-09-28T02:50:47.779530Z DEBUG hyper::proto::h1::role: resetting h1 header read timeout timer
2023-09-28T02:50:47.779599Z DEBUG hyper::proto::h1::io: parsed 9 headers
2023-09-28T02:50:47.779608Z DEBUG hyper::proto::h1::conn: incoming body is empty
2023-09-28T02:50:47.779662Z DEBUG request{method=GET uri=/fonts/colfax/ColfaxAIBold.woff2 version=HTTP/1.1}: tower_http::trace::on_request: started processing request
2023-09-28T02:50:47.779730Z DEBUG request{method=GET uri=/fonts/colfax/ColfaxAIBold.woff2 version=HTTP/1.1}: tower_http::trace::on_response: finished processing request latency=0 ms status=200
2023-09-28T02:50:47.779837Z DEBUG hyper::proto::h1::io: flushed 27706 bytes
2023-09-28T02:50:47.781556Z DEBUG hyper::proto::h1::role: resetting h1 header read timeout timer
2023-09-28T02:50:47.781598Z DEBUG hyper::proto::h1::io: parsed 9 headers
2023-09-28T02:50:47.781606Z DEBUG hyper::proto::h1::conn: incoming body is empty
2023-09-28T02:50:47.781652Z DEBUG request{method=GET uri=/fonts/colfax/ColfaxAIRegular.woff2 version=HTTP/1.1}: tower_http::trace::on_request: started processing request
2023-09-28T02:50:47.781715Z DEBUG request{method=GET uri=/fonts/colfax/ColfaxAIRegular.woff2 version=HTTP/1.1}: tower_http::trace::on_response: finished processing request latency=0 ms status=200
2023-09-28T02:50:47.781803Z DEBUG hyper::proto::h1::io: flushed 28354 bytes

docker报错500

这里我用的文档中的docker-compose文件来拉取的,并没有修改的操作
这是docker的日志,这里我是用wsl子系统搭建的,并且使用了tun模式
image
访问8080能访问到网页,但是发送信息会报错
image
不使用tun模式似乎会直接无法连接到warp
image
api调用的话报了这个错误
image
我的pyjai脚本内容如下

import openai


openai.api_key = "token"
openai.api_base = "http://localhost:8080/to/v1/"

while True:
    text = input("请输入问题:")
    response = openai.ChatCompletion.create(
        model='gpt-3.5-turbo',
        messages=[
            {'role': 'user', 'content': text},
        ],
        stream=True,
        allow_fallback=True
    )

    for chunk in response:
        print(chunk.choices[0].delta.get("content", ""), end="", flush=True)
    print("\n")

可以直接在docker里使用token吗?

因为是个人用,把api给其他软件来用,所以用这个超长的token当key的时候,会报401,不知道是不是太长了,但是python脚本调用是正常的,想问下大佬,如何把这个token加入到docker环境里?调用时候就不要key了,直接给地址就好

请问直接请求chatgpt-api可以吗?

比如在postman发起请求http://localhost:7999/backend-api/conversation
我试了下 返回如下:
body为:

 {
        "action": "next",
        "messages": [
            {
                "id": "97a1aae0-c099-4590-a473-f60423f0e27c",
                "author": {
                    "role": "user"
                },
                "content": {
                    "content_type": "text",
                    "parts": [
                        "你好啊"
                    ]
                },
                "metadata": {}
            }
        ],
        "model": "gpt-4",
        "parent_message_id": "396b852d-e6e8-4c61-aecb-23edbacd6aa0",
        "timezone_offset_min": -480,
        "history_and_training_disabled": false
    }

response为:

{
    "detail": [
        {
            "loc": [
                "body"
            ],
            "msg": "field required",
            "type": "value_error.missing"
        }
    ]
}

请问是哪里出了问题吗?还是说不支持这样调用?

直接用dockercompose启动 输入token后403

1694599022612
这是compose文件内容
`version: '3'

services:
ninja:
image: ghcr.io/gngpp/ninja:latest
container_name: ninja
restart: unless-stopped
environment:
- TZ=Asia/Shanghai
- PROXIES=socks5://warp:10000
# - CONFIG=/serve.toml
# - PORT=8080
# - HOST=0.0.0.0
# - TLS_CERT=
# - TLS_KEY=
# volumes:
# - ${PWD}/ssl:/etc
# - ${PWD}/serve.toml:/serve.toml
command: serve run
ports:
- "8080:7999"
depends_on:
- warp

warp:
container_name: warp
image: ghcr.io/gngpp/warp:latest
restart: unless-stopped

watchtower:
container_name: watchtower
image: containrrr/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: --interval 3600 --cleanup
restart: unless-stopped
`

Error 403 when converting ChatGPT to API

Experiencing a 403 error when transitioning from ChatGPT to API, only affects GPT4; GPT3 is unaffected.

error response

{
  "code": "403",
  "msg": "HTTP status client error (403 Forbidden) for url (https://chat.openai.com/backend-api/conversation)"
}

牛逼

老哥这个怎么编译的 ubuntu直接装上就能跑吗?

关于使用gpt3.5还是gpt4的疑问

请教大神
前端使用的是chatgpt-next-web
配置的BASE_URL="http://*:7999/to"(这个项目好像只能使用这个api,backend-api不能使用)

我有两个账号一个开通了plus,另一个没有,但是有open api gpt4的权限
而分别使用两个账号的accesstoken时,都可以使用gpt4

看项目特征有一条:“API密钥获取”,是项目支持通过accesstoken获取openai的key而通过api去访问的gpt4?

运行 examples/chatgpt.rs 报错

请教,怎样才能正常运行


Caused by:
    0: error trying to connect: TLS handshake failed: cert verification failed - unable to get local issuer certificate [CERTIFICATE_VERIFY_FAILED]
    1: TLS handshake failed: cert verification failed - unable to get local issuer certificate [CERTIFICATE_VERIFY_FAILED]
    2: [CERTIFICATE_VERIFY_FAILED]
    3: [CERTIFICATE_VERIFY_FAILED]```


怎么设置har文件地址呢?

我打开http://127.0.0.1:7999/har/upload,
上传har文件,提示
Failed to upload file
You have to set the path of the uploaded file
意思是我在我本地运行docker时,启动要设置上传路径吗?
我看readme里面--arkose-har-file参数,但是我设置参数启动报错,这个参数是要跟我本地har文件绝对地址吗?

【bug】当使用yescaptcha作为arksose解决方案时,程序重启

现象描述:

当使用yescaptcha作为arksose解决方案时,点击登录,页面503,后台报错如下:

2023-10-02T11:52:45.021166Z  INFO openai::serve: Starting HTTP(S) server at http(s)://0.0.0.0:7999    
2023-10-02T11:52:45.021185Z  INFO openai::serve: Starting 100 workers    
2023-10-02T11:52:45.021188Z  INFO openai::serve: Concurrent limit 65535    
2023-10-02T11:52:45.021190Z  INFO openai::serve: Keepalive 60 seconds    
2023-10-02T11:52:45.021192Z  INFO openai::serve: Timeout 600 seconds    
2023-10-02T11:52:45.021194Z  INFO openai::serve: Connect timeout 60 seconds    
2023-10-02T11:52:45.021196Z  INFO openai::serve: Disable direct connection    
2023-10-02T11:52:45.021198Z  INFO openai::serve: ArkoseLabs solver: Yescaptcha    
2023-10-02T11:52:45.025290Z  INFO openai::balancer: [Client] Add socks5://xx@xx to proxy pool    
2023-10-02T11:52:45.025327Z  INFO openai::balancer: [AuthClient] Add socks5://xx@xx to proxy pool    
2023-10-02T11:52:46.740547Z  INFO openai::serve: What is my IP address: 2001:470:23:45f:9e2b:c302:df9:47af    
thread 'tokio-runtime-worker' panicked at 'no entry found for key', openai/src/arkose/funcaptcha/mod.rs:237:45
stack backtrace:
   0:     0x7f5c2deadb9f - <unknown>
   1:     0x7f5c2db1e12f - <unknown>
   2:     0x7f5c2de79f46 - <unknown>
   3:     0x7f5c2deaf06f - <unknown>
   4:     0x7f5c2deaec9f - <unknown>
   5:     0x7f5c2deafc13 - <unknown>
   6:     0x7f5c2deaf722 - <unknown>
   7:     0x7f5c2deaf686 - <unknown>
   8:     0x7f5c2deaf671 - <unknown>
   9:     0x7f5c2da23de2 - <unknown>
  10:     0x7f5c2da24322 - <unknown>
  11:     0x7f5c2dcaa5e8 - <unknown>
  12:     0x7f5c2dcbb56d - <unknown>
  13:     0x7f5c2dca684d - <unknown>
  14:     0x7f5c2dca4194 - <unknown>
  15:     0x7f5c2dca3a76 - <unknown>
  16:     0x7f5c2dcd3dd3 - <unknown>
  17:     0x7f5c2dd05ee2 - <unknown>
  18:     0x7f5c2dbfdb65 - <unknown>
  19:     0x7f5c2dbfd762 - <unknown>
  20:     0x7f5c2dbf7d57 - <unknown>
  21:     0x7f5c2dbf790b - <unknown>
  22:     0x7f5c2dbfdb65 - <unknown>
  23:     0x7f5c2dc501b1 - <unknown>
  24:     0x7f5c2dc5faf5 - <unknown>
  25:     0x7f5c2dca0415 - <unknown>
  26:     0x7f5c2dc9fd60 - <unknown>
  27:     0x7f5c2dd043fe - <unknown>
  28:     0x7f5c2df1213b - <unknown>
  29:     0x7f5c2df19986 - <unknown>
  30:     0x7f5c2df1468b - <unknown>
  31:     0x7f5c2df1424c - <unknown>
  32:     0x7f5c2df1596f - <unknown>
  33:     0x7f5c2deb0ad5 - <unknown>
2023-10-02T11:53:52.468179Z  INFO openai::serve: Starting HTTP(S) server at http(s)://0.0.0.0:7999    
2023-10-02T11:53:52.468194Z  INFO openai::serve: Starting 100 workers    
2023-10-02T11:53:52.468197Z  INFO openai::serve: Concurrent limit 65535    
2023-10-02T11:53:52.468199Z  INFO openai::serve: Keepalive 60 seconds    
2023-10-02T11:53:52.468201Z  INFO openai::serve: Timeout 600 seconds    
2023-10-02T11:53:52.468203Z  INFO openai::serve: Connect timeout 60 seconds    
2023-10-02T11:53:52.468205Z  INFO openai::serve: Disable direct connection    
2023-10-02T11:53:52.468207Z  INFO openai::serve: ArkoseLabs solver: Yescaptcha    
2023-10-02T11:53:52.471341Z  INFO openai::balancer: [Client] Add socks5://xx@1x1 to proxy pool    
2023-10-02T11:53:52.471365Z  INFO openai::balancer: [AuthClient] Add socks5://x6@x1 to proxy pool    
2023-10-02T11:53:54.242214Z  INFO openai::serve: What is my IP address: 2001:470:23:45f:6a8f:c469:a21f:a8d0

image

warp not supported arm linux/arm64/v8

warp The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested。

funcaptcha异常

{
"code": "500",
"msg": "submit funcaptcha answer error: incorrect guess "
}
创建apikey时,一直是这个错误,并且消耗了yescaptcha的额度

用 to/v1 会出现问题

访问一段时间后出现。
ninja web端出现:Our systems have detected unusual activity from your system. Please try again later.
api http://XXX.xxx.xxx.xxx:7999/to/v1 会返回输入的指令
此时,官方web端是正常的。

美国的服务器挂多个账户,每个账户采用了美国住宅IP代理。

是什么原因?有没有解决思路?

请问该如何配置ipv6子网

项目docker-compose.yml配置如下:

  ninja:
    container_name: Ninja
    image: gngpp/ninja:latest
    restart: unless-stopped
    privileged: true
    command: run
    ports:
      - 8060:7999
    environment:
      - TZ=Asia/Shanghai
      - DISABLE_WEBUI=true
      - IPV6_SUBNET=2001:470:xxx::/48
    volumes:
      - ./config/chat.openai.com.har:/root/.chat3.openai.com.har 

ipv6子网是直接路由过来(He.net Tunnelbroker)。

运行报错信息如下:

[openai/src/serve/mod.rs:668:13] Check IP request error: error sending request for url (https://ifconfig.me/): error trying to connect: tcp connect error: Network unreachable 

请问大佬,该如何配置ipv6子网,谢谢

web不可以,但是https://host:port/v1/的API接入方式正常

使用了docker-compose的方式部署。配置如下
version: '3'
services:
ninja:
image: ghcr.io/gngpp/ninja:latest
container_name: ninja
restart: unless-stopped
environment:
#- TZ=Asia/Shanghai
- PROXIES=socks5://xxxxx:1080
- TLS_CERT=/etc/fullchain.pem
- TLS_KEY=/etc/privkey.pem
volumes:
- ${PWD}/ssl:/etc
# - ${PWD}/serve.toml:/serve.toml
command: serve run
ports:
- "5799:7999"
服务是起来了。
但是打开网页版不行,能登录,但是问问题会出现如下错误。
image

使用python的openai库通过API的接口,使用正常。代码如下:
import openai
openai.api_key = "xxxxxx"
openai.api_base = "https://xxxxxx:5799/v1"

while True:
text = input("请输入问题:")
response = openai.ChatCompletion.create(
model='gpt-3.5-turbo',
messages=[
{'role': 'user', 'content': text},
],
stream=True,
)
for chunk in response:
print(chunk.choices[0].delta.get("content", ""), end="", flush=True)
print("\n")

请大佬看看是怎么回事?

500报错

2023-10-26T04:04:53.593980Z ERROR tower_http::trace::on_failure: response failed classification=Status code: 500 Internal Server Error latency=0 ms
2023-10-26T04:06:52.143081Z ERROR tower_http::trace::on_failure: response failed classification=Status code: 500 Internal Server Error latency=0 ms

报错导致docker自动结束运行

thread 'tokio-runtime-worker' panicked at 'index out of bounds: the len is 0 but the index is 0', openai/src/arkose/funcaptcha/api_breaker.rs:119:21
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

docker images 0.7.2 No solver available

是刚pull 的。4小时左右前的版本。

启动步骤

docker pull gngpp/ninja:0.7.2
docker run -e TZ=Asia/Shanghai -e LOG=debug -e ALL_PROXY=socks5://192.168.1.20:8080 -p 7999:7999 -itd --name ninja gngpp/ninja:0.7.2 run

# 上传网页3.5 har
http://ip:port/har/upload

# web 用AceessToken 可正常对话

问题,

ChatGPT-Next-Web 里面调用出现问题。

https://github.com/Yidadaa/ChatGPT-Next-Web

使用接口
ChatGPT-To-API

https://host:port/to/v1/chat/completions

docker log

2023-10-25T04:00:25.435392Z DEBUG hyper::proto::h1::io: parsed 15 headers
2023-10-25T04:00:25.435419Z DEBUG hyper::proto::h1::conn: incoming body is content-length (5230 bytes)
2023-10-25T04:00:25.435499Z DEBUG request{method=POST uri=/to/v1/chat/completions/v1/chat/completions version=HTTP/1.1}: tower_http::trace::on_request: started processing request
2023-10-25T04:00:25.435626Z DEBUG request{method=POST uri=/to/v1/chat/completions/v1/chat/completions version=HTTP/1.1}: tower_http::trace::on_response: finished processing request latency=0 ms status=200
2023-10-25T04:00:25.435888Z DEBUG hyper::proto::h1::io: flushed 4961 bytes

ChatGPT-Next-Web 错误

<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="title" content="ChatGPT: Get instant answers, find inspiration, learn something new"><meta name="keywords" content="ai chat,ai,chap gpt,chat gbt,chat gpt 3,chat gpt login,chat gpt website,chat gpt,chat gtp,chat openai,chat,chatai,chatbot gpt,chatg,chatgpt login,chatgpt,gpt chat,open ai,openai chat,openai chatgpt,openai"><meta property="og:description" content="A conversational AI system that listens, learns, and challenges"><meta name="robots" content="index, follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta property="og:title" content="ChatGPT"><meta property="og:image" content="https://chat.openai.com/images/chatgpt-share-og.png"><meta property="og:url" content="https://chat.openai.com"><meta name="apple-itunes-app" content="app-id=6448311069"><title>404: This page could not be found</title><meta name="next-head-count" content="12"><link rel="apple-touch-icon" sizes="180x180" href="/resources/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/resources/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/resources/favicon-16x16.png"><link rel="preconnect" href="https://cdn.openai.com"><link rel="preload" href="https://cdn.openai.com/common/fonts/soehne/soehne-buch.woff2" as="font" crossorigin=""><link rel="preload" href="https://cdn.openai.com/common/fonts/soehne/soehne-halbfett.woff2" as="font" crossorigin=""><link rel="preload" href="https://cdn.openai.com/common/fonts/soehne/soehne-mono-buch.woff2" as="font" crossorigin=""><link rel="preload" href="https://cdn.openai.com/common/fonts/soehne/soehne-mono-halbfett.woff2" as="font" crossorigin=""><link rel="preload" href="https://cdn.oaistatic.com/_next/static/css/76140fdd044aa54f.css" as="style"><link rel="stylesheet" href="https://cdn.oaistatic.com/_next/static/css/76140fdd044aa54f.css" data-n-g=""><noscript data-n-css=""></noscript><script defer nomodule="" src="https://cdn.oaistatic.com/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="https://cdn.oaistatic.com/_next/static/chunks/webpack-a059c36498723d93.js" defer></script><script src="https://cdn.oaistatic.com/_next/static/chunks/framework-10a404587b40544b.js" defer></script><script src="https://cdn.oaistatic.com/_next/static/chunks/main-989cac6f6309d951.js" defer></script><script src="/_next/static/chunks/pages/_app-e4b9c31956fd78d2.js" defer></script><script src="https://cdn.oaistatic.com/_next/static/chunks/pages/_error-97106a6822dc2ecb.js" defer></script><script src="/_next/static/tLfeYLzFNDDz-YFDI_84l/_buildManifest.js" defer></script><script src="/_next/static/tLfeYLzFNDDz-YFDI_84l/_ssgManifest.js" defer></script></head><body class="antialiased"><div id="__next"><script>!function(){try{var e=document.documentElement,t=e.classList;t.remove("light","dark");var a=localStorage.getItem("theme");if("system"!==a&&a)a&&t.add(a||"");else{var c="(prefers-color-scheme: dark)",r=window.matchMedia(c);r.media!==c||r.matches?(e.style.colorScheme="dark",t.add("dark")):(e.style.colorScheme="light",t.add("light"))}"light"!==a&&"dark"!==a||(e.style.colorScheme=a)}catch(a){}}()</script><div style="font-family:system-ui,&quot;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block;text-align:left"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found<!-- -->.</h2></div></div></div><div class="absolute left-0 right-0 top-0 z-[2]"></div></div><script id="__NEXT_DATA__" type="application/json">{"assetPrefix":"https://cdn.oaistatic.com","buildId":"tLfeYLzFNDDz-YFDI_84l","gip":false,"isFallback":false,"nextExport":true,"page":"/_error","props":{"pageProps":{"statusCode":404}},"query":{},"scriptLoader":[]}</script><script>"serviceWorker"in navigator&&window.addEventListener("load",function(){navigator.serviceWorker.register("/service-worker.js",{scope:"/resources/"}).then(function(e){console.log("ServiceWorker registration successful with scope: ",e.scope)},function(e){console.log("ServiceWorker registration failed: ",e)})})</script></body></html>

https://host:port/to

docker log


-10-25T04:02:27.466667Z DEBUG hyper::proto::h1::conn: read eof
2023-10-25T04:02:40.448933Z DEBUG hyper::proto::h1::role: setting h1 header read timeout timer
2023-10-25T04:02:40.449012Z DEBUG hyper::proto::h1::io: parsed 13 headers
2023-10-25T04:02:40.449039Z DEBUG hyper::proto::h1::conn: incoming body is empty
2023-10-25T04:02:40.449120Z DEBUG request{method=OPTIONS uri=/to/v1/chat/completions version=HTTP/1.1}: tower_http::trace::on_request: started processing request
2023-10-25T04:02:40.449187Z DEBUG request{method=OPTIONS uri=/to/v1/chat/completions version=HTTP/1.1}: tower_http::trace::on_response: finished processing request latency=0 ms status=200
2023-10-25T04:02:40.449337Z DEBUG hyper::proto::h1::io: flushed 390 bytes
2023-10-25T04:02:40.454399Z DEBUG hyper::proto::h1::role: resetting h1 header read timeout timer
2023-10-25T04:02:40.454513Z DEBUG hyper::proto::h1::io: parsed 15 headers
2023-10-25T04:02:40.454543Z DEBUG hyper::proto::h1::conn: incoming body is content-length (350 bytes)
2023-10-25T04:02:40.454647Z DEBUG request{method=POST uri=/to/v1/chat/completions version=HTTP/1.1}: tower_http::trace::on_request: started processing request
2023-10-25T04:02:40.455442Z DEBUG hyper::proto::h1::conn: incoming body completed
2023-10-25T04:02:40.455695Z DEBUG request{method=POST uri=/to/v1/chat/completions version=HTTP/1.1}: tower_http::trace::on_response: finished processing request latency=1 ms status=500
2023-10-25T04:02:40.455838Z ERROR request{method=POST uri=/to/v1/chat/completions version=HTTP/1.1}: tower_http::trace::on_failure: response failed classification=Status code: 500 Internal Server Error latency=1 ms
2023-10-25T04:02:40.456069Z DEBUG hyper::proto::h1::io: flushed 353 bytes
2023-10-25T04:03:09.494776Z DEBUG hyper::proto::h1::conn: read eof

ChatGPT-Next-Web 错误

{
  "code": "500",
  "msg": "No solver available"
}

可以和潘多拉联动吗?

因为后续打算部署在nas上,可能不是一直都有魔法的,就想如果可以和潘多拉联动,把潘多拉的页面转为api来达到免魔法的效果

稳定出现Error creating session: unknown challenge type。实际上从浏览器插件来看,yescaptcha可以过

WARN openai::arkose::funcaptcha: [openai/src/arkose/funcaptcha/mod.rs:226:17] challenge string_table: {
    "3.next_time": "Next Time:",
    "aria.answer_field": "Answer field",
    "3.instructions": "Pick the odd one out",
    "game_meta.interstitial_progress_1": "{{currentChallenge}} done",
    "meta.funcaptcha_website": "Open Arkose Labs website",
    "meta.star_info": "Stars you have earned",
    "meta.stars_link": "Stars",
    "meta.generic_error": "Something went wrong. Please reload the challenge to try again.",
    "meta.api_timeout_error": "The connection to a verification server was interrupted. Please reload the challenge to try again. ",
    "openai_custom_instructions-game_meta.landing_heading": "Verify that you are human",
    "3.challenge_progress": "{{currentChallenge}} of {{numChallenges}}",
    "meta.html_verify_button": "Verify",
    "meta.audio_sending_answer": "Committing your answer. Please wait...",
    "meta.audio_disabled": "The audio challenge has been disabled. Please use the visual challenge, or contact the customer support team for assistance.",
    "3.fail_top": "Whoops! That's not quite right.",
    "aria.audio_answer_input": "Challenge answer",
    "meta.meta_start_cta": "Start visual challenge",
    "meta.audio_play_button": "Play",
    "game_meta.verification": "Verification",
    "aria.right_arrow": "Navigate to next image",
    "aria.visual_challenge_describe": "Audio challenge is available below. Compatible with screen reader software.",
    "meta.audio_alert": "Please enter your answer into the input box.",
    "meta.audio_challenge_frame_title": "Audio challenge",
    "3.instructions-maze2": "Pick the mouse that can reach all the cheese in the maze",
    "meta.funcaptcha_solved_phrase": "Verification challenge has been solved",
    "meta.loading_info": "Working, please wait...",
    "game_meta.wait_text": "Please wait while we check your score.",
    "meta.verification_complete": "Verification complete!",
    "game_meta.challenge": "Challenge {{count}}",
    "aria.restart_challenge": "Restarting challenge",
    "meta.audio_rate_limit": "Use of the audio challenge for this user has been too high. Please try again.",
    "meta.restart_label": "Restart",
    "3.fail_info_timed_top": "Yikes! Not quite fast enough.",
    "3.fail_info_timed_middle": "Try to answer before,this timer,runs out!",
    "3.intro_title-MobileDemo_custom_instructions": "Verification Needed...",
    "aria.visual_challenge": "Visual challenge. Audio challenge is available below, compatible with screen reader software.",
    "3.instructions_dice_revised": "Pick the dice pair whose top sides add up to 7",
    "game_meta.landing_heading": "Protecting your account",
    "aria.audio_challenge": "Audio challenge",
    "game_meta.game_perfect": "Perfect",
    "meta.audio_please_download_info-3": "Please download and listen to the sound, type the number of the song that is the most sad:",
    "game_meta.game_check": "Check!",
    "meta.audio_play": "Play Sound",
    "meta.footer_general_info-1": "Please solve the puzzle.",
    "aria.cross_icon_alt": "Example for incorrect answer.",
    "meta.audio_please_download_info": "Please download and listen to the sound, then type what you heard:",
    "3.interstitial_progress_2": "{{currentChallenge}} of {{numChallenges}}",
    "game_meta.game_good": "Good",
    "meta.audio_play_again": "Play sound again",
    "aria.correct_image_alt": "Example for correct answer.",
    "meta.visual_version": "Change to a visual challenge",
    "aria.wrong_image_alt": "Example for incorrect answer.",
    "meta.session_timeout": "The connection to a verification server was interrupted. Please <strong>refresh this page</strong> to try again.",
    "meta.footer_patent": "Patent pending",
    "meta.audio_info_play-3": "Press Play, type the number of the song that is the most sad, then press enter:",
    "game_meta.not_for_public_watermark": "NOT FOR PRODUCTION USE",
    "game_meta.landing_button": "Verify",
    "meta.visual_challenge_label": "Visual",
    "game_meta.landing_start": "Start Puzzle",
    "meta.audio_incorrect": "Incorrect, try again",
    "3.interstitial_progress_1": "{{currentChallenge}} done",
    "aria.challenge_image_alt": "Image {{count}}.",
    "openai_custom_instructions-game_meta.landing_info": "Continue by completing this quick puzzle.",
    "game_meta.landing_info": "Please solve this puzzle so we know you are a real person",
    "aria.left_arrow": "Navigate to previous image",
    "meta.session_reset": "Your session was reset. Please try again.",
    "openai_custom_instructions-game_meta.landing_start": "Begin puzzle",
    "3.fail_button": "Try again",
    "meta.audio_info_ctrl": "Press CTRL to play again.",
    "aria.tick_icon_alt": "Example for correct answer.",
    "game_meta.game_great": "Great",
    "meta.audio_version": "Change to an audio challenge",
    "3.fail_top_multi": "Whoops! At least one of your answers is not quite right.",
    "meta.audio_new_puzzle": "Start over with a different challenge",
    "meta.funcaptcha": "Arkose Labs",
    "meta.text_info": "Enter the text you see:",
    "game_meta.checking": "Checking",
    "meta.audio_sent_info": "Verification complete! You've proven you're a human. Continue your action.",
    "game_meta.seconds": "seconds",
    "meta.reload_challenge": "Reload Challenge",
    "meta.audio_verify_button": "Verify",
    "3.finish_message": "<b>Verification Complete</b> <br>You've proven you're a human. <br>Continue your action.",
    "meta.audio_info": "Enter the numbers you hear:",
    "aria.visual_challenge_label": "Visual challenge.",
    "meta.audio_download": "Download Sound",
    "meta.audio_info_play": "Press Play and type what you hear:",
    "meta.help": "Get answers to your questions",
    "meta.footer_finished_info-1": "<p><strong>Verification complete!</strong></p><p>You've proven you're a human.</p><p>Continue your action.</p>",
    "meta.audio_answer_input": "Challenge Answer",
    "3.intro_title": "Verification",
    "meta.audio_challenge": "Change to an audio challenge",
    "meta.finished_info": "You've proven you're a human. Continue your action.",
    "meta.footer_general_info": "Play like humans do.",
    "aria.input_placeholder": "Type here...",
    "meta.visual_challenge_frame_title": "Visual challenge",
    "meta.footer_finished_info-3": "<b>Verification complete!</b><br>You've proven you're a human.<br>Continue your action.",
    "meta.html_verify_info": "Please prove you're not a spammer by doing this quick activity!",
    "meta.audio_challenge_label": "Audio",
    "3.fail_info_timed_middle_hidden": "Try to answer before,too much time,runs out!",
    "meta.footer_phone_mode_on": "This isn't working for me",
}    
2023-10-12T08:19:08.851885Z  WARN openai::arkose::funcaptcha: [openai/src/arkose/funcaptcha/mod.rs:226:17] challenge string_table: {
    "aria.restart_challenge": "Restarting challenge",
    "game_meta.game_check": "Check!",
    "meta.audio_play_button": "Play",
    "meta.visual_challenge_frame_title": "Visual challenge",
    "meta.footer_general_info-1": "Please solve the puzzle.",
    "aria.visual_challenge_label": "Visual challenge.",
    "game_meta.challenge": "Challenge {{count}}",
    "3.next_time": "Next Time:",
    "3.fail_info_timed_middle": "Try to answer before,this timer,runs out!",
    "meta.footer_finished_info-1": "<p><strong>Verification complete!</strong></p><p>You've proven you're a human.</p><p>Continue your action.</p>",
    "aria.challenge_image_alt": "Image {{count}}.",
    "meta.star_info": "Stars you have earned",
    "game_meta.game_good": "Good",
    "3.challenge_progress": "{{currentChallenge}} of {{numChallenges}}",
    "meta.audio_sent_info": "Verification complete! You've proven you're a human. Continue your action.",
    "game_meta.game_perfect": "Perfect",
    "game_meta.landing_start": "Start Puzzle",
    "meta.funcaptcha": "Arkose Labs",
    "meta.reload_challenge": "Reload Challenge",
    "meta.verification_complete": "Verification complete!",
    "meta.funcaptcha_website": "Open Arkose Labs website",
    "meta.audio_verify_button": "Verify",
    "3.finish_message": "<b>Verification Complete</b> <br>You've proven you're a human. <br>Continue your action.",
    "meta.audio_info_play-3": "Press Play, type the number of the song that is the most sad, then press enter:",
    "aria.left_arrow": "Navigate to previous image",
    "aria.audio_challenge": "Audio challenge",
    "meta.audio_disabled": "The audio challenge has been disabled. Please use the visual challenge, or contact the customer support team for assistance.",
    "meta.footer_general_info": "Play like humans do.",
    "meta.help": "Get answers to your questions",
    "3.instructions": "Pick the odd one out",
    "aria.visual_challenge_describe": "Audio challenge is available below. Compatible with screen reader software.",
    "meta.audio_incorrect": "Incorrect, try again",
    "game_meta.landing_info": "Please solve this puzzle so we know you are a real person",
    "3.fail_info_timed_middle_hidden": "Try to answer before,too much time,runs out!",
    "game_meta.landing_heading": "Protecting your account",
    "3.fail_info_timed_top": "Yikes! Not quite fast enough.",
    "3.instructions-maze2": "Pick the mouse that can reach all the cheese in the maze",
    "meta.audio_challenge_label": "Audio",
    "aria.visual_challenge": "Visual challenge. Audio challenge is available below, compatible with screen reader software.",
    "meta.audio_please_download_info": "Please download and listen to the sound, then type what you heard:",
    "meta.audio_version": "Change to an audio challenge",
    "meta.audio_challenge_frame_title": "Audio challenge",
    "meta.audio_please_download_info-3": "Please download and listen to the sound, type the number of the song that is the most sad:",
    "meta.audio_rate_limit": "Use of the audio challenge for this user has been too high. Please try again.",
    "meta.finished_info": "You've proven you're a human. Continue your action.",
    "openai_custom_instructions-game_meta.landing_heading": "Verify that you are human",
    "game_meta.seconds": "seconds",
    "game_meta.not_for_public_watermark": "NOT FOR PRODUCTION USE",
    "aria.wrong_image_alt": "Example for incorrect answer.",
    "3.intro_title": "Verification",
    "game_meta.checking": "Checking",
    "game_meta.verification": "Verification",
    "meta.audio_download": "Download Sound",
    "meta.visual_version": "Change to a visual challenge",
    "meta.audio_new_puzzle": "Start over with a different challenge",
    "meta.text_info": "Enter the text you see:",
    "meta.generic_error": "Something went wrong. Please reload the challenge to try again.",
    "meta.footer_patent": "Patent pending",
    "meta.audio_play_again": "Play sound again",
    "3.interstitial_progress_1": "{{currentChallenge}} done",
    "aria.audio_answer_input": "Challenge answer",
    "meta.funcaptcha_solved_phrase": "Verification challenge has been solved",
    "3.fail_top_multi": "Whoops! At least one of your answers is not quite right.",
    "openai_custom_instructions-game_meta.landing_start": "Begin puzzle",
    "3.intro_title-MobileDemo_custom_instructions": "Verification Needed...",
    "meta.restart_label": "Restart",
    "meta.footer_finished_info-3": "<b>Verification complete!</b><br>You've proven you're a human.<br>Continue your action.",
    "meta.visual_challenge_label": "Visual",
    "meta.html_verify_info": "Please prove you're not a spammer by doing this quick activity!",
    "meta.session_reset": "Your session was reset. Please try again.",
    "meta.meta_start_cta": "Start visual challenge",
    "meta.audio_info": "Enter the numbers you hear:",
    "aria.input_placeholder": "Type here...",
    "game_meta.game_great": "Great",
    "openai_custom_instructions-game_meta.landing_info": "Continue by completing this quick puzzle.",
    "3.fail_top": "Whoops! That's not quite right.",
    "game_meta.interstitial_progress_1": "{{currentChallenge}} done",
    "meta.audio_sending_answer": "Committing your answer. Please wait...",
    "meta.audio_play": "Play Sound",
    "meta.audio_answer_input": "Challenge Answer",
    "game_meta.landing_button": "Verify",
    "aria.right_arrow": "Navigate to next image",
    "3.interstitial_progress_2": "{{currentChallenge}} of {{numChallenges}}",
    "aria.tick_icon_alt": "Example for correct answer.",
    "meta.session_timeout": "The connection to a verification server was interrupted. Please <strong>refresh this page</strong> to try again.",
    "aria.correct_image_alt": "Example for correct answer.",
    "meta.api_timeout_error": "The connection to a verification server was interrupted. Please reload the challenge to try again. ",
    "3.instructions_dice_revised": "Pick the dice pair whose top sides add up to 7",
    "meta.html_verify_button": "Verify",
    "meta.stars_link": "Stars",
    "aria.cross_icon_alt": "Example for incorrect answer.",
    "meta.footer_phone_mode_on": "This isn't working for me",
    "meta.audio_info_ctrl": "Press CTRL to play again.",
    "3.fail_button": "Try again",
    "meta.loading_info": "Working, please wait...",
    "meta.audio_info_play": "Press Play and type what you hear:",
    "meta.audio_challenge": "Change to an audio challenge",
    "meta.audio_alert": "Please enter your answer into the input box.",
    "aria.answer_field": "Answer field",
    "game_meta.wait_text": "Please wait while we check your score.",
}    

GPT4 error

WARN openai::serve: [openai/src/serve/mod.rs:656:13] Check IP request error: error sending request for url (https://ifconfig.me/): error trying to connect: TLS handshake failed: cert verification failed - Invalid certificate verification context unexpected EOF

这个是什么问题,早上还没有这个问题,后来开始429错误,然后重新部署就会出现这个错误

启动报错error: unrecognized subcommand 'serve'

docker-compose 0.7.3版本,启动

watchtower | time="2023-10-26T08:37:37Z" level=info msg="Watchtower 1.6.0"
watchtower | time="2023-10-26T08:37:37Z" level=info msg="Using no notifications"
watchtower | time="2023-10-26T08:37:37Z" level=info msg="Checking all containers (except explicitly disabled with label)"
watchtower | time="2023-10-26T08:37:37Z" level=info msg="Scheduling first run: 2023-10-26 09:37:37 +0000 UTC"
watchtower | time="2023-10-26T08:37:37Z" level=info msg="Note that the first check will be performed in 59 minutes, 59 seconds"
ninja | error: unrecognized subcommand 'serve'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.