- A+
所属分类:AI
一、说明:
使用程序wechat-chatgpt:https://github.com/fuergaosi233/wechat-chatgpt搭建本地化chatgpt集成到微信中,程序部署过程中的报错处理。
常见报错:
报错一:No chatgpt item in pool
报错二:No chatgpt account in pool
报错三:ChatGPT failed to refresh auth token. Error: 403 Forbidden #79
二、报错故障处理
1、针对“No chatgpt item in pool”和“No chatgpt account in pool”报错,通过如下方式处理
xtx@dockershell:~$ rm -rf wechat-chatgpt/
xtx@dockershell:~$ ll
total 4972
drwxr-x--- 10 xtx xtx 4096 Dec 9 16:53 ./
drwxr-xr-x 3 root root 4096 Oct 24 06:28 ../
-rw------- 1 xtx xtx 12980 Dec 9 09:12 .bash_history
-rw-r--r-- 1 xtx xtx 220 Jan 6 2022 .bash_logout
-rw-r--r-- 1 xtx xtx 3771 Jan 6 2022 .bashrc
drwx------ 2 xtx xtx 4096 Oct 24 06:28 .cache/
-rw-rw-r-- 1 xtx xtx 2377 Dec 9 16:28 config.yaml
-rw-r--r-- 1 xtx xtx 4181 Oct 25 07:19 config.yml
drwxrwx--x 48 xtx xtx 4096 Oct 27 17:55 data/
-rw-r--r-- 1 xtx xtx 788 Oct 25 05:56 device.json
drwxrwxr-x 2 xtx xtx 4096 Dec 9 08:49 .dock/
-rw-r--r-- 1 xtx xtx 4972924 Oct 25 05:44 go-cqhttp_1.0.0-rc3_linux_amd64.deb
drwxrwxr-x 3 xtx xtx 4096 Oct 25 05:57 .local/
drwxr-xr-x 2 xtx xtx 4096 Oct 25 07:19 logs/
-rw-rw-r-- 1 xtx xtx 10240 Oct 27 06:08 native-bridge.tar
-rw-r--r-- 1 xtx xtx 807 Jan 6 2022 .profile
-rw-r--r-- 1 xtx xtx 295 Oct 25 07:19 qrcode.png
drwx------ 2 xtx xtx 4096 Oct 24 06:30 .ssh/
-rw-r--r-- 1 xtx xtx 0 Oct 24 06:29 .sudo_as_admin_successful
drwxrwxr-x 4 xtx xtx 4096 Oct 25 05:57 ttt/
-rw-rw-r-- 1 xtx xtx 166 Nov 23 09:16 .wget-hsts
-rw------- 1 xtx xtx 114 Dec 9 15:52 .Xauthority
xtx@dockershell:~$ rm config.yaml
xtx@dockershell:~$ git clone https://github.com/fuergaosi233/wechat-chatgpt.git
Cloning into 'wechat-chatgpt'...
remote: Enumerating objects: 359, done.
remote: Counting objects: 100% (193/193), done.
remote: Compressing objects: 100% (97/97), done.
remote: Total 359 (delta 119), reused 131 (delta 95), pack-reused 166
Receiving objects: 100% (359/359), 415.19 KiB | 646.00 KiB/s, done.
Resolving deltas: 100% (201/201), done.
xtx@dockershell:~$ cd wechat-chatgpt/
xtx@dockershell:~/wechat-chatgpt$ docker build -t wechat-chatgpt .
Sending build context to Docker daemon 1.167MB
Step 1/11 : FROM python:3
---> 539eccd5ee4e
Step 2/11 : WORKDIR /app
---> Running in c15805a1065e
Removing intermediate container c15805a1065e
---> 0ebabd024dd2
Step 3/11 : ARG POETRY_VERSION=1.2.2
---> Running in 268ca1896016
Removing intermediate container 268ca1896016
---> f0db231549d6
Step 4/11 : RUN apt-get update && curl -sL https://deb.nodesource.com/setup_16.x | bash - && apt-get install -y nodejs && rm -rf /var/cache/apk/* && pip3 install --no-cache-dir poetry && rm -rf ~/.cache/
---> Running in 00a64386ad00
Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]
Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]
Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Get:4 http://deb.debian.org/debian bullseye/main amd64 Packages [8184 kB]
Get:5 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [209 kB]
Get:6 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [14.6 kB]
Fetched 8615 kB in 4s (1918 kB/s)
Reading package lists...
## Installing the NodeSource Node.js 16.x repo...
## Populating apt-get cache...
+ apt-get update
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Reading package lists...
## Installing packages required for setup: lsb-release...
+ apt-get install -y lsb-release > /dev/null 2>&1
## Confirming "bullseye" is supported...
+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_16.x/dists/bullseye/Release'
## Adding the NodeSource signing key to your keyring...
+ curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | tee /usr/share/keyrings/nodesource.gpg >/dev/null
## Creating apt sources list file for the NodeSource Node.js 16.x repo...
+ echo 'deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x bullseye main' > /etc/apt/sources.list.d/nodesource.list
+ echo 'deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x bullseye main' >> /etc/apt/sources.list.d/nodesource.list
## Running `apt-get update` for you...
+ apt-get update
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Get:4 https://deb.nodesource.com/node_16.x bullseye InRelease [4586 B]
Get:5 https://deb.nodesource.com/node_16.x bullseye/main amd64 Packages [774 B]
Fetched 5360 B in 1s (3836 B/s)
Reading package lists...
## Run `sudo apt-get install -y nodejs` to install Node.js 16.x and npm
## You may also need development tools to build native addons:
sudo apt-get install gcc g++ make
## To install the Yarn package manager, run:
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null
echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
nodejs
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 27.2 MB of archives.
After this operation, 128 MB of additional disk space will be used.
Get:1 https://deb.nodesource.com/node_16.x bullseye/main amd64 nodejs amd64 16.18.1-deb-1nodesource1 [27.2 MB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 27.2 MB in 5s (4993 kB/s)
Selecting previously unselected package nodejs.
(Reading database ... 23442 files and directories currently installed.)
Preparing to unpack .../nodejs_16.18.1-deb-1nodesource1_amd64.deb ...
Unpacking nodejs (16.18.1-deb-1nodesource1) ...
Setting up nodejs (16.18.1-deb-1nodesource1) ...
Collecting poetry
Downloading poetry-1.2.2-py3-none-any.whl (212 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 212.4/212.4 kB 820.6 kB/s eta 0:00:00
Collecting cachecontrol[filecache]<0.13.0,>=0.12.9
Downloading CacheControl-0.12.11-py2.py3-none-any.whl (21 kB)
Collecting cachy<0.4.0,>=0.3.0
Downloading cachy-0.3.0-py2.py3-none-any.whl (20 kB)
Collecting cleo<2.0.0,>=1.0.0a5
Downloading cleo-1.0.0a5-py3-none-any.whl (78 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.7/78.7 kB 4.9 MB/s eta 0:00:00
Collecting crashtest<0.4.0,>=0.3.0
Downloading crashtest-0.3.1-py3-none-any.whl (7.0 kB)
Collecting dulwich<0.21.0,>=0.20.46
Downloading dulwich-0.20.50-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (501 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 501.7/501.7 kB 4.2 MB/s eta 0:00:00
Collecting html5lib<2.0,>=1.0
Downloading html5lib-1.1-py2.py3-none-any.whl (112 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 112.2/112.2 kB 14.8 MB/s eta 0:00:00
Collecting jsonschema<5.0.0,>=4.10.0
Downloading jsonschema-4.17.3-py3-none-any.whl (90 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.4/90.4 kB 16.1 MB/s eta 0:00:00
Collecting keyring>=21.2.0
Downloading keyring-23.11.0-py3-none-any.whl (36 kB)
Collecting packaging>=20.4
Downloading packaging-22.0-py3-none-any.whl (42 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.6/42.6 kB 32.2 MB/s eta 0:00:00
Collecting pexpect<5.0.0,>=4.7.0
Downloading pexpect-4.8.0-py2.py3-none-any.whl (59 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 59.0/59.0 kB 22.7 MB/s eta 0:00:00
Collecting pkginfo<2.0,>=1.5
Downloading pkginfo-1.9.2-py3-none-any.whl (26 kB)
Collecting platformdirs<3.0.0,>=2.5.2
Downloading platformdirs-2.6.0-py3-none-any.whl (14 kB)
Collecting poetry-core==1.3.2
Downloading poetry_core-1.3.2-py3-none-any.whl (531 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 531.3/531.3 kB 11.9 MB/s eta 0:00:00
Collecting poetry-plugin-export<2.0.0,>=1.1.2
Downloading poetry_plugin_export-1.2.0-py3-none-any.whl (10 kB)
Collecting requests<3.0,>=2.18
Downloading requests-2.28.1-py3-none-any.whl (62 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 20.8 MB/s eta 0:00:00
Collecting requests-toolbelt<0.10.0,>=0.9.1
Downloading requests_toolbelt-0.9.1-py2.py3-none-any.whl (54 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.3/54.3 kB 29.5 MB/s eta 0:00:00
Collecting shellingham<2.0,>=1.5
Downloading shellingham-1.5.0-py2.py3-none-any.whl (9.3 kB)
Collecting tomlkit!=0.11.2,!=0.11.3,<1.0.0,>=0.11.1
Downloading tomlkit-0.11.6-py3-none-any.whl (35 kB)
Collecting urllib3<2.0.0,>=1.26.0
Downloading urllib3-1.26.13-py2.py3-none-any.whl (140 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.6/140.6 kB 13.6 MB/s eta 0:00:00
Collecting virtualenv!=20.4.5,!=20.4.6,>=20.4.3
Downloading virtualenv-20.17.1-py3-none-any.whl (8.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.8/8.8 MB 7.0 MB/s eta 0:00:00
Collecting msgpack>=0.5.2
Downloading msgpack-1.0.4.tar.gz (128 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 128.1/128.1 kB 6.8 MB/s eta 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Installing backend dependencies: started
Installing backend dependencies: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Collecting lockfile>=0.9
Downloading lockfile-0.12.2-py2.py3-none-any.whl (13 kB)
Collecting pylev<2.0.0,>=1.3.0
Downloading pylev-1.4.0-py2.py3-none-any.whl (6.1 kB)
Collecting six>=1.9
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting webencodings
Downloading webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
Collecting attrs>=17.4.0
Downloading attrs-22.1.0-py2.py3-none-any.whl (58 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.8/58.8 kB 10.8 MB/s eta 0:00:00
Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0
Downloading pyrsistent-0.19.2-py3-none-any.whl (57 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.5/57.5 kB 10.7 MB/s eta 0:00:00
Collecting jaraco.classes
Downloading jaraco.classes-3.2.3-py3-none-any.whl (6.0 kB)
Collecting importlib-metadata>=4.11.4
Downloading importlib_metadata-5.1.0-py3-none-any.whl (21 kB)
Collecting SecretStorage>=3.2
Downloading SecretStorage-3.3.3-py3-none-any.whl (15 kB)
Collecting jeepney>=0.4.2
Downloading jeepney-0.8.0-py3-none-any.whl (48 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.4/48.4 kB 13.4 MB/s eta 0:00:00
Collecting ptyprocess>=0.5
Downloading ptyprocess-0.7.0-py2.py3-none-any.whl (13 kB)
Collecting charset-normalizer<3,>=2
Downloading charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
Collecting idna<4,>=2.5
Downloading idna-3.4-py3-none-any.whl (61 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 9.1 MB/s eta 0:00:00
Collecting certifi>=2017.4.17
Downloading certifi-2022.12.7-py3-none-any.whl (155 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 155.3/155.3 kB 5.9 MB/s eta 0:00:00
Collecting distlib<1,>=0.3.6
Downloading distlib-0.3.6-py2.py3-none-any.whl (468 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 468.5/468.5 kB 5.9 MB/s eta 0:00:00
Collecting filelock<4,>=3.4.1
Downloading filelock-3.8.2-py3-none-any.whl (10 kB)
Collecting zipp>=0.5
Downloading zipp-3.11.0-py3-none-any.whl (6.6 kB)
Collecting cryptography>=2.0
Downloading cryptography-38.0.4-cp36-abi3-manylinux_2_28_x86_64.whl (4.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.2/4.2 MB 5.6 MB/s eta 0:00:00
Collecting more-itertools
Downloading more_itertools-9.0.0-py3-none-any.whl (52 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.8/52.8 kB 13.5 MB/s eta 0:00:00
Collecting cffi>=1.12
Downloading cffi-1.15.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (462 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 462.6/462.6 kB 5.9 MB/s eta 0:00:00
Collecting pycparser
Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 kB 5.9 MB/s eta 0:00:00
Building wheels for collected packages: msgpack
Building wheel for msgpack (pyproject.toml): started
Building wheel for msgpack (pyproject.toml): finished with status 'done'
Created wheel for msgpack: filename=msgpack-1.0.4-cp311-cp311-linux_x86_64.whl size=324553 sha256=5e0a86ae1331413b30b8e9eca03514acfccd918a76d701ea08f01f0f51cd3721
Stored in directory: /tmp/pip-ephem-wheel-cache-wtpy4rjx/wheels/be/38/62/bffc8d68ee5e3a6a3080b2f8a520e8302fe333528d93a488af
Successfully built msgpack
Installing collected packages: webencodings, pylev, ptyprocess, msgpack, lockfile, distlib, zipp, urllib3, tomlkit, six, shellingham, pyrsistent, pycparser, poetry-core, platformdirs, pkginfo, pexpect, packaging, more-itertools, jeepney, idna, filelock, crashtest, charset-normalizer, certifi, cachy, attrs, virtualenv, requests, jsonschema, jaraco.classes, importlib-metadata, html5lib, dulwich, cleo, cffi, requests-toolbelt, cryptography, cachecontrol, SecretStorage, keyring, poetry-plugin-export, poetry
Successfully installed SecretStorage-3.3.3 attrs-22.1.0 cachecontrol-0.12.11 cachy-0.3.0 certifi-2022.12.7 cffi-1.15.1 charset-normalizer-2.1.1 cleo-1.0.0a5 crashtest-0.3.1 cryptography-38.0.4 distlib-0.3.6 dulwich-0.20.50 filelock-3.8.2 html5lib-1.1 idna-3.4 importlib-metadata-5.1.0 jaraco.classes-3.2.3 jeepney-0.8.0 jsonschema-4.17.3 keyring-23.11.0 lockfile-0.12.2 more-itertools-9.0.0 msgpack-1.0.4 packaging-22.0 pexpect-4.8.0 pkginfo-1.9.2 platformdirs-2.6.0 poetry-1.2.2 poetry-core-1.3.2 poetry-plugin-export-1.2.0 ptyprocess-0.7.0 pycparser-2.21 pylev-1.4.0 pyrsistent-0.19.2 requests-2.28.1 requests-toolbelt-0.9.1 shellingham-1.5.0 six-1.16.0 tomlkit-0.11.6 urllib3-1.26.13 virtualenv-20.17.1 webencodings-0.5.1 zipp-3.11.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Removing intermediate container 00a64386ad00
---> 6e9aa24143c4
Step 5/11 : COPY package*.json ./
---> c82cf49b738c
Step 6/11 : COPY pyproject.toml ./
---> caced05379b6
Step 7/11 : COPY poetry.lock ./
---> 62086ecac5ad
Step 8/11 : ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
---> Running in f3cde6cddd52
Removing intermediate container f3cde6cddd52
---> f2960e64a2cf
Step 9/11 : RUN poetry install && npm install && rm -rf ~/.npm/
---> Running in 553d7f471fa4
Creating virtualenv chatbot-twitter-9TtSrW0h-py3.11 in /root/.cache/pypoetry/virtualenvs
Installing dependencies from lock file
Warning: poetry.lock is not consistent with pyproject.toml. You may be getting improper dependencies. Run `poetry lock [--no-update]` to fix it.
Package operations: 17 installs, 0 updates, 0 removals
• Installing idna (3.4)
• Installing sniffio (1.3.0)
• Installing anyio (3.6.2)
• Installing certifi (2022.9.24)
• Installing h11 (0.14.0)
• Installing hpack (4.0.0)
• Installing hyperframe (6.0.1)
• Installing charset-normalizer (2.1.1)
• Installing h2 (4.1.0)
• Installing httpcore (0.16.2)
• Installing rfc3986 (1.5.0)
• Installing tls-client (0.1.5)
• Installing urllib3 (1.26.13)
• Installing httpx (0.23.1)
• Installing openaiauth (0.0.4)
• Installing requests (2.28.1)
• Installing revchatgpt (0.0.33.5)
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
added 511 packages, and audited 512 packages in 13s
78 packages are looking for funding
run `npm fund` for details
7 high severity vulnerabilities
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
npm notice
npm notice New major version of npm available! 8.19.2 -> 9.2.0
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.2.0>
npm notice Run `npm install -g npm@9.2.0` to update!
npm notice
Removing intermediate container 553d7f471fa4
---> 09fdc5e1a2a7
Step 10/11 : COPY . .
---> 38a277d66480
Step 11/11 : CMD ["npm", "run", "dev"]
---> Running in 1dd6becc5b0d
Removing intermediate container 1dd6becc5b0d
---> 5c0ccee230f8
Successfully built 5c0ccee230f8
Successfully tagged wechat-chatgpt:latest
xtx@dockershell:~/wechat-chatgpt$ cp config.yaml.example ~/config.yaml
xtx@dockershell:~/wechat-chatgpt$ cd ..
xtx@dockershell:~$ cat config.yaml
chatGPTAccountPool:
- email: email
password: password
session_token: session_token
chatPrivateTiggerKeyword: ""xtx@dockershell:~$ nano config.pa
xtx@dockershell:~$ nano config.yaml
xtx@dockershell:~$ docker run -d --name wechat-chatgpt -v $(pwd)/config.yaml:/app/config.yaml wechat-chatgpt
e88aca382debaf80fd9bd341764ee0450d11d1f387d3951f90573e9a522f22a4
xtx@dockershell:~$ docker logs -f wechat-chatgpt
> wechat-chatgpt@1.0.0 dev
> nodemon --exec node --watch config.yaml --loader ts-node/esm src/main.ts
[nodemon] 2.0.20
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): config.yaml
[nodemon] watching extensions: ts
[nodemon] starting `node --loader ts-node/esm src/main.ts`
(node:32) ExperimentalWarning: Custom ESM Loaders is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
Scan QR Code to login: 2
https://wechaty.js.org/qrcode/https%3A%2F%2Flogin.weixin.qq.com%2Fl%2F4ami8vCkWw%3D%3D
▄▄▄▄▄▄▄ ▄ ▄▄ ▄▄ ▄▄ ▄▄▄▄▄▄▄
█ ▄▄▄ █ ▀ ▄ ██▄ ▀▄▄ █ ▄▄▄ █
█ ███ █ ▀▀▄█▀████▀▀▄▀ █ ███ █
█▄▄▄▄▄█ ▄▀█ ▄ ▄ █▀█▀▄ █▄▄▄▄▄█
▄ ▄▄ ▄▄▄▀███▀▄▄▄ █▄▀ ▄ ▄ ▄▄
▀█▀▀▄▄▄ █▄▄▄▀▄▀ ▄ ▀▀▄██▀▀ ▄▄▀
▀▄▄███▄▀▀▄▄ ▀██ ▀▄▀▄▀▄ ▀▄▄ ▀
█▀ ▀▀▀▄ ▀█▄▀ ▄▀▀▄▄█▄▄▀▄▄ ███
▀ ▄▀▄▄▄█▄▄ ▄▀▄██▀ ▄▄▄█▀██▄ █
▄ █▀█▄██▄▀▀█ ██▄▀ ▀▀ █ ▀█▀
▄▄ ▄▄▄ ▀ ▀▀▄ ▄█▀ ███▄█▄█
▄▄▄▄▄▄▄ ██▀▄█▀▀ ▀▀███ ▄ ██▀█▀
█ ▄▄▄ █ ▀▀ ▄▀▀▀▄▄▄▀ █▄▄▄█▀▄▄▄
█ ███ █ █ ████▀▀ ▄██▀ █▀▀▄ █
█▄▄▄▄▄█ ▄ ▄▄▀▀ ▄▀ ▀▄█▄ █▀ █
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Scan QR Code to login: 3
https://wechaty.js.org/qrcode/https%3A%2F%2Flogin.weixin.qq.com%2Fl%2F4ami8vCkWw%3D%3D
▄▄▄▄▄▄▄ ▄ ▄▄ ▄▄ ▄▄ ▄▄▄▄▄▄▄
█ ▄▄▄ █ ▀ ▄ ██▄ ▀▄▄ █ ▄▄▄ █
█ ███ █ ▀▀▄█▀████▀▀▄▀ █ ███ █
█▄▄▄▄▄█ ▄▀█ ▄ ▄ █▀█▀▄ █▄▄▄▄▄█
▄ ▄▄ ▄▄▄▀███▀▄▄▄ █▄▀ ▄ ▄ ▄▄
▀█▀▀▄▄▄ █▄▄▄▀▄▀ ▄ ▀▀▄██▀▀ ▄▄▀
▀▄▄███▄▀▀▄▄ ▀██ ▀▄▀▄▀▄ ▀▄▄ ▀
█▀ ▀▀▀▄ ▀█▄▀ ▄▀▀▄▄█▄▄▀▄▄ ███
▀ ▄▀▄▄▄█▄▄ ▄▀▄██▀ ▄▄▄█▀██▄ █
▄ █▀█▄██▄▀▀█ ██▄▀ ▀▀ █ ▀█▀
▄▄ ▄▄▄ ▀ ▀▀▄ ▄█▀ ███▄█▄█
▄▄▄▄▄▄▄ ██▀▄█▀▀ ▀▀███ ▄ ██▀█▀
█ ▄▄▄ █ ▀▀ ▄▀▀▀▄▄▄▀ █▄▄▄█▀▄▄▄
█ ███ █ █ ████▀▀ ▄██▀ █▀▀▄ █
█▄▄▄▄▄█ ▄ ▄▄▀▀ ▄▀ ▀▄█▄ █▀ █
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
error.response.headers['set-cookie'] [
'wxuin=2175xxxx2051; Domain=wx.qq.com; Path=/; Expires=Sat, 10-Dec-2022 05:00:45 GMT; Secure',
'wxsid=a/14Bka6xxxxF08Bi4; Domain=wx.qq.com; Path=/; Expires=Sat, 10-Dec-2022 05:00:45 GMT; Secure',
'wxloadtime=1670605245; Domain=wx.qq.com; Path=/; Expires=Sat, 10-Dec-2022 05:00:45 GMT; Secure',
'mm_lang=zh-CN; Domain=wx.qq.com; Path=/; Expires=Sat, 10-Dec-2022 05:00:45 GMT; Secure',
'wxuin=2175162051; Domain=.qq.com; Path=/; Expires=Sat, 10-Dec-2022 05:00:45 GMT; Secure',
'webwx_data_ticket=gSc0xxxx4f5mcD57+qRfOkUz; Domain=.qq.com; Path=/; Expires=Sat, 10-Dec-2022 05:00:45 GMT; Secure',
'webwxuvid=eb35eea3b39042521137658b74e64380c39bcaa03ed2d346b8d67034917041cb96c40f5aa6e239a2543bcf4508547af8; Domain=wx.qq.com; Path=/; Expires=Mon, 06-Dec-2032 17:00:45 GMT; Secure',
'webwx_auth_ticket=CIsBEN+xssYKGoABSPAbFrpkYfaaGxPpMmLS/bzUsx6KYsCBOMjB1lUoCLtQBpiOu5ULe4NP88PUbeMFeW+llsEQwF294bEceL7RlFlJUO2Nf/aCtfl0Tf+JE9B3Z5KfDaEYj0EOad/jyegDgjmMTq+Mm1Hd98tY4A7oToGdOGCsXjBRmJzfOHdUNng=; Domain=wx.qq.com; Path=/; Expires=Mon, 06-Dec-2032 17:00:45 GMT; Secure'
]
User Contact<xtxChino> logged in
Start GPT Bot Config is:{"chatGPTAccountPool":["session_token:eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2R0NNIn0..IOEPnLR8w2Tfyp6m.M-w4lpoTTa-R-dy6GQzj5MEfYKWyCZ0ksPnHQXd4Pi9NepN_XttRB4HRxm49zzWb-aJq9bNsQmF3fhFtGxBo9sMT-F5z2W1ie348Ucq7p2w8peKXLYrGEWgQ3T3FsPz_f7xngwAjZUgnIF075RXzi6xJRisLzwqkgmVSMC2kDcWKWISYAdtjrBRxYvbGnPF-ps6wCWoTNIJ74gM4tfuOsLSKkqgXkx3nWxRvman1y60PTCYU6B5pipDI5Zg-mWWUZC-OYBOJYrIFHbFRjedKABtaGQe8k_TlcAGTPrikJu0VsRtvXDCMVOuO1lIqcOTKczuavNRX-9rPrrY9FHOmdh-1bha1Rahfor7EF9njw19EcghvsHhnDjj7KYaesR8FSfzdJBarFgfN2C8KfX4qDG7uf4Z6_NtA0By_1450SLQLDStzPpjeJMSIqJztcYZnNIrpSmvgdU-a-Oseb9wO4uiiIdtLqbGKgkEvPPqzsS1GmTyQi1Z1UTSbgBAAnr24bq0W45dYP1nvKTv7zMfC1YhHsX9_tzZ7uBR3yggGEG-6VIO9FEVcUuWdC5Dpjk_FT1HkV9LrcdOxYcgopBynRoX-r8LedTrRB-b6c43N6kAbIRbT3bjd43lPUWZBgXK0q_gGHtdp7-kfvZGEqRo0zuHciB1oTjMHhheEh-cei71j4pCN-JgGdaYoO1_ADZ2oiEIrmbsPoBnurAvv1UpnDT7RFXcWLRsXuSZ8atHti9qnUNp-4mF8S4aAHg5W_KxNVCb-EMqZ-6xj7PnOQrw6U09yB26eGZpz7DSDzUWShALUCuk03NmsexOkIDnpKM31TuIciMYHSvRsQWPu2xxOfQNZtmESmHMLXID-WmuYVPH_0O4liHu4nCDkbHEhhsTpCeBV6Et__yii_biaslYxlXzmzblAStMh4T-SmXo46MxkT06TJQqoi-RHPqEUKoidnh2fJFoJHoKe4Qr66N_NaiQjU_MSlMQKK0ORoHpL7Hqjhl7mowTtaj5h08il4ECo_HLgj_GOQ3eI1NJxRyKL-prvAa5E3D1yG2rfsWDB9nlosSiKadsGgmf17JYEparsChNvyrdTucP6CTv43HV1rkhBN-eVK28x-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxGlWVhdkdoMQxbCep5nXgCmt-er-fwk-wmTxJCgYRsBHpIY3R4EEAhZd9xQS3Y2q6j_9_-efumph3V7WPItBX4dK85ahJI35ZPxuom_KouPyKGvn2Pxbi8Meh_RWWQeScEX_yKv06X2LMSCdGsmADiQOKj4TOkvgFmZBw6cdiMEiItz9rXfzbGObI5O.SGdmOtxfJuOJPvYL8MqPfQ"],"chatGptRetryTimes":3,"chatPrivateTiggerKeyword":""}
uncaughtException Error: ⚠️ No chatgpt account in pool
at ChatGPTPoole.startPools (file:///app/src/chatgpt.ts:159:13)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async ChatGPTBot.startGPTBot (file:///app/src/chatgpt.ts:233:5)
at async WechatyImpl.<anonymous> (file:///app/src/main.ts:23:7)
Message: Message#Unknown[🗣Contact<xtxChino>]
Message: Message#Text[🗣Contact<昕日初升>] 你是谁
🎯 Triggered ChatGPT: 你是谁
Error: ⚠️ No chatgpt item in pool
at ChatGPTPoole.getConversation (file:///app/src/chatgpt.ts:176:13)
at ChatGPTPoole.sendMessage (file:///app/src/chatgpt.ts:188:35)
at ChatGPTBot.getGPTMessage (file:///app/src/chatgpt.ts:253:35)
at ChatGPTBot.onPrivateMessage (file:///app/src/chatgpt.ts:308:35)
at ChatGPTBot.onMessage (file:///app/src/chatgpt.ts:334:27)
at WechatyImpl.<anonymous> (file:///app/src/main.ts:32:26)
at WechatyImpl.emit (node:events:513:28)
at WechatyImpl.emit (node:domain:489:12)
at WechatyImpl.emit (file:///app/node_modules/wechaty/src/wechaty-mixins/gerror-mixin.ts:44:22)
at PuppetWechat4u.<anonymous> (file:///app/node_modules/wechaty/src/wechaty-mixins/puppet-mixin.ts:281:22)
如果以上方式无法解决该报错就需要更换程序版本了,回退到之前的程序版本,可以解决该问题。拉取以下版本的docker镜像:docker pull holegots/wechat-chatgpt:0.0.2-alpha 可以规避该问题。
至此,完成centos8下搭建chatgpt本地环境集成到微信中,接入个人微信操作过程报错故障处理的所有操作流程。
本文是全系列中第14 / 156篇:chatGPT
- chatgpt是什么?可以提供哪些服务,用户该怎样使用chatgpt(附Chat GPT注册教程)
- ChatGPT:本地环境搭建chatgpt、调试运行、接口API调用
- 在微信上搭建ChatGpt机器人
- 微信接入ChatGPT,使用Node+ChatGPT+Wechaty做一个微信机器人
- ChatGPT版微信个人号搭建流程
- 做了第一个ChatGPT .NET API聊天库
- 当大厂程序员已开始用AI写代码 人类会被AIGC淘汰吗?
- 【基于OpenAI的ChatGPT】搭建属于自己的微信聊天机器人(附带注册英国手机号码方式)
- 基于ChatGPT的微信聊天机器人
- 使用OpenGPT(ChatGPT)搭建 QQ 机器人
- chatgpt对接微信全流程
- 2023最新的Chatgpt微信机器人搭建教程【附免注册chatgpt账号】
- centos8下搭建chatgpt本地环境集成到微信中,接入个人微信操作教程
- centos8下搭建chatgpt本地环境集成到微信中,接入个人微信操作过程报错故障处理
- centos8下搭建chatgpt本地环境集成到微信中,接入个人微信操作过程报错故障处理【后续更新附加】
- 砸下677亿,微软盯上ChatGPT
- 他做了一个「ChatGPT 杀手」,a16z 抢着投
- ChatGPT:是平台的缪斯还是黑客的「MOSS」?
- 我用 ChatGPT 搞钱,月赚 10 万
- 一文读懂:有关ChatGPT的十个问题
- ChatGPT 创始人和他疯狂的 Worldcoin 实验
- ChatGPT爆火的冷思考:盈利难题与治理挑战
- 开局打爆谷歌,微软ChatGPT版必应亲测:强到发指!
- 八张数据图完整了解ChatGPT行业影响全景
- 昂贵的ChatGPT背后,国产GPU“掘金”路漫漫
- 观点:不要神化ChatGPT
- 别煽动焦虑了,ChatGPT还抢不动打工人的饭碗
- 最快月活过亿,但ChatGPT或终将被开源打败
- 朱嘉明:智能数字新时代,关于AIGC的13个关键问题
- 算力才是ChatGPT核心竞争力?AI芯片被推至聚光灯下
- 中美“狂飙”ChatGPT,一文读懂超20家科技巨头最新布局
- 阿里版ChatGPT已进入测试!中文聊天截图曝光,达摩院出品
- 生成式AI狂飙,中国版ChatGPT还有多远?
- 只见ChatGPT笑,不见元宇宙哭
- 谷歌版ChatGPT灾难级发布,市值一夜狂跌7000亿,熬夜网友:退钱!
- 谷歌“仓促”迎接 AI 大战,机器人 Bard“掉链子”股价大跌
- 10个实用的 ChatGPT 免费扩展!
- ChatGPT爆红,AI大规模商用离我们还有多远?
- ChatGPT火了,区块链和元宇宙没人提了?
- 「用ChatGPT搞钱年入百万!」各路博主发布生财之道,网友回呛:答辩的搬运工
- 颠覆历史!「ChatGPT搜索引擎」发布,微软市值一夜飙涨5450亿
- 中国版ChatGPT项目“文心一言”将于3月面世,百度能否趁势“狂飙”?
- 同一个问题被问100遍,被“封神”的ChatGPT终于穿帮了
- AI搜索大战打响!微软官宣ChatGPT引入Bing 生成式AI能否帮助巨头走出泥潭?
- ChatGPT引爆新一轮科技军备赛
- 微软“核弹级”更新:ChatGPT亮相Bing搜索和浏览器,今天上线,免费使用
- 卖账号、赚打赏,他们用 ChatGPT 搞钱
- 盖茨再谈ChatGPT:AI能提高效率,但要考虑边界在哪
- OpenAI给科技行业敲响警钟,中国必须要有自主“大模型”
- 谷歌亲自下场,AI大战正式打响!
- 当你还在讨论分析ChatGPT,有人开始用它“搞钱”了
- ChatGPT杀疯了,两个月引爆千亿美金新赛道
- 谷歌慌了,超20亿投资ChatGPT竞品Anthropic对抗微软
- 狂飙的ChatGPT,为什么是OpenAI最先做出来?
- 欧盟委员会对 ChatGPT 的最新监管方向
- 小冰CEO李笛:“按ChatGPT模式做AI,我们一天成本要3亿”
- 国产ChatGPT扎堆,又是一场元宇宙式狂欢?
- ChatGPT开始被“疯狂吐槽”了
- 私募如何玩转ChatGPT?
- ChatGPT爆红、元宇宙过气:科技巨头为何总是喜新厌旧?
- 大厂火拼ChatGPT
- 麦肯锡:ChatGPT 等生成式 AI 技术将如何改变企业?
- ChatGPT 两个月引爆万亿新赛道,国内外有哪些 AI 玩家能突出重围?
- ChatGPT热度再升级,AIGC的投资人开始关注“文生图”了
- AIGC应用持续升温,将给普通人生活带来哪些改变?
- ChatGPT持续“高烧”,再走一遍元宇宙的老路
- 第一批因ChatGPT坐牢的人,已经上路了
- 给担心被ChatGPT取代的人:2023年我们必须学习的人工智能技能
- ChatGPT“狂飙”:风浪越大,鱼越贵
- 为了 ChatGPT,微软抛弃元宇宙?
- ChatGPT成科技圈的“新贵”,谁还记得元宇宙?
- ChatGPT反噬百度
- 给数字人装上ChatGPT ?多家公司这样回应
- 教程:如何创建一个 AI 元宇宙化身
- 不只是聊天机器人:一文梳理 ChatGPT 带来的真正影响
- 美国宾州大学教授体验 Bing AI 有感:生成式 AI 的改进速度超乎预料,但我们还没准备好
- 元宇宙规模化商用仍未落地,ChatGPT或难续写新故事
- ChatGPT来袭,元宇宙将迎新契机?
- 没有对标ChatGPT产品,苹果内部AI峰会被指更像“团建”
- OpenAI与AIGC:改变人类生产范式,通往“万物的摩尔定律”
- ChatGPT在一线城市火,元宇宙在二三线城市热
- 英伟达将AI雄心扩展到云端,黄仁勋:生成式AI带来“拐点”
- ChatGPT的前世今生:OpenAI的技术「执拗」与「豪赌」
- OpenAI造就硅谷新“黑帮”:ChatGPT爆火背后的神秘大佬、技术版图和资本故事
- 国内AI公司,靠ChatGPT逆袭?
- Meta推出先进大型语言模型,下一个ChatGPT不远了?
- 与周鸿祎“深聊”ChatGPT:它会不会产生与人类为敌的想法?
- ChatGPT狂欢背后:别让科技新概念昙花一现
- ChatGPT能让AI赛道“复苏”吗?
- 马斯克谋划建研究室开发ChatGPT竞争对手,自曝对AI感到焦虑
- ChatGPT获得“正经编制”,国际预科生写论文用它不算作弊!
- 知乎CEO周源:密切关注ChatGPT发展,AI能让内容更快推广
- ChatGPT之父撰文:《万物摩尔定律》出现,这场革命将创造惊人的财富
- 一文了解 ChatGPT 等 LLMs 得到明显改进的 3 个变化
- 2.5亿美金,Salesforce设立史上规模最大AIGC风投基金
- AIGC如何成为元宇宙神助攻?
- ChatGPT 算力消耗惊人,能烧得起的中国公司寥寥无几
- 云巨头拥抱 AI:Salesforce 引入 ChatGPT
- GPT-4将在下周发布,必应日活破亿,谷歌还有招架之力吗?
- 揭秘ChatGPT背后天价超算!上万颗英伟达A100,烧光微软数亿美元
- 科技巨头持续血拼:微软豪掷数亿造ChatGPT超算,谷歌加急测试Big Bard
- 想成为顶级 AI 绘画师?先让这 7 个平台帮你成为 Prompt 高手
- 解读美国版权局最新 AI 生成作品版权指南,版权之路依旧艰难
- 周鸿祎:GPT-4会掀起新的工业革命,国内追赶不应放弃核心技术研发
- 竞品还在追赶,OpenAI 用 GPT-4 飚赢自己
- GPT-4震撼空降,谷歌「紧追」微软有点难
- GPT-4来了!国内相关初创项目近30家,VC加紧奔赴AI淘金热
- GPT-4震惊四座,中国创业者激战“小模型”
- ChatGPT-4 本周降临:它将如何影响 Web3?
- 彻底颠覆 Office,微软发布 Copilot
- 从GPT-4、文心一言再到Copilot,AIGC的长期价值被逐渐确立
- 又一中文版ChatGPT!李开复宣布筹组AI新公司“Project Al 2.0”
- OpenAI重磅研究:ChatGPT可能影响80%工作岗位,收入越高影响越大
- 首发ChatGPT课、AI共创游戏设计,网易试图抢跑AIGC红利
- GPT-4如何引领科技前沿?盘点10大应用场景
- AI“春晚”英伟达又甩王炸!ChatGPT专用GPU来了 还要赋能芯片制造
- AI企业如何发展,“中国版chat GPT”给出了答案
- 百度被网暴,AI大模型“套皮”海外知名项目,百度首次回复:假的!
- 李彦宏:中国基本不会再出一个OpenAI,创业公司重做ChatGPT没多大意义
- ChatGPT“变现”在即,哪些法律风险不容忽视?
- OpenAI大动作!ChatGPT开始联网 一夜之间从工具进化成平台?
- 一文读懂 ChatGPT 插件功能:语言模型获取新信息的“眼睛和耳朵”
- ChatGPT这么牛,我们应该如何兼顾发展和治理?
- 动嘴就能写代码,GitHub 将 ChatGPT 引入 IDE,重磅发布 Copilot X!
- 生成式AI淘金热,谁能从中赚钱?
- 智慧法律时代来临!以 ChatGPT 为代表的新 AI 技术加速升级法律服务
- 疯狂三月:一场ChatGPT引发的千亿“钞”能力竞赛
- 紧急刹车:AI 军备竞赛升温,“喊停”公开信倏忽而至
- 叫停GPT-4后续AI大模型!马斯克、Bengio等人发出公开信,千人响应
- 多家AI企业坦言大模型尚处研制阶段,行业应用落地存在不确定性
- “得志”于 AIGC,商汤科技“失意”在持续亏损
- 自主完成任务的ChatGPT,Beyond ChatGPT
- 自主拆分任务的chatGPT版本autoGPT的用户前端化实现——agentGPT部署及配置全流程
- chatGPT本地化搭建服务,一键免费部署你的私人 ChatGPT 网页应用。
- 苹果禁用ChatGPT,为防机密泄露!大模型版Siri即将升级推出
- 第一代AIGC硬件悄然爆发
- 从战略高度重视ChatGPT引发的新一轮人工智能革命
- 好莱坞片酬最高的演员,投资了世界上最成功的 AI 公司
- 研究:ChatGPT带来生成式AI十年繁荣,2032年市场规模1.3万亿美元
- 大模型创业潮:狂飙 180 天
- 在未来城市中,AIGC会扮演怎样的角色?
- OpenAI、谷歌双标玩得溜:训练大模型用他人数据,却决不允许自身数据外流
- AI席卷华尔街:对冲基金部署ChatGPT,银行展开“军备竞赛” AI梦工厂 发布在 AIGC 1.4万
- 华为版ChatGPT将于7月初发布,名为“盘古Chat”
- 大模型落地,搜索先成卷王
- 困在网页里的ChatGPT,想在移动生态里突围
- ChatGPT和AI正如何改变播客行业?
- ChatGPT流量见顶,AI革命中道崩殂?或许是OpenAI在下一盘大棋
- OpenAI 内部力推,AI 代理真能成为互联网应用发展的下一个阶段吗?
- 自行车+ChatGPT主打“陪伴”?感觉哪里怪怪的
- 押注新浪潮!韩国目标成为全球第三大AI强国
- GPT-4 “炼丹”指南:MoE、参数量、训练成本和推理的秘密
- OpenAI「打死都不说」的 GPT-4 训练细节被传出,这是我的解读
- 狙击 GPT-4 插件!谷歌 AI 助手 Bard 即将推出扩展程序,与微软的竞争进入白热化
- 谁拖了中国ChatGPT的后腿?
- 生成式AI这一年:从群雄乱战到生态确立,世界已被改变
- 我的微信
- 这是我的微信扫一扫
-
- 我的电报
- 这是我的电报扫一扫
-