On xdd-plus-21-12-08, two errors were reported in running XDD. Jiqiren also hung up, no messages were sent, and the service stopped itself.
the following two errors were reported
fetch QRcode error: packet timed out,
2-error: unknown flag
With the help of some Qun friends, the tutorial is summarized as follows
1 Download
https://github.com/764763903a/xdd-plus/releases/tag/v1.7
cd ~
dowload Time is slow, wait patiently. . . .
wget https://github.com/764763903a/xdd-plus/archive/refs/tags/v1.7.tar.gz
tar xzvf v1.7.tar.gz
cd xdd-plus-1.7/qbot/
wget https://github.91chi.fun//https://github.com//764763903a/xdd-plus/releases/download/v1.7/config.yml
This file only needs to change which line of uin, that is, which line of QQ account, and replace it with your own (robot) QQ
[root@VM-4-10-centos qbot]# cat config.yml
# go-cqhttp default configuration file
account: # Account related
uin: 1565396344 # QQ account
password:'' # Use scan code to log in when the password is empty
encrypt: false # Whether to enable password encryption
status: 0 # Online status Please refer to https://docs.go-cqhttp.org/guide/config.html#Online status
relogin: # Reconnect settings
delay: 3 # The first reconnection delay, in seconds
interval: 3 # Reconnect interval
max-times: 0 # Maximum number of reconnections, 0 means unlimited
--------------------
cd ..
wget https://github.com.cnpmjs.org/764763903a/xdd-plus/releases/download/v1.7/xdd-linux-amd64
chmod +x xdd-linux-amd64
cd conf/
cp demo_app.conf app.conf
Here, copy the configuration file of the old version of conf.yaml to the conf/ directory of the new version, and it is not too troublesome to reconfigure
cp ~/xdd-plus/conf/config.yaml. # There is a dot at the end
cd /root/xdd-plus-1.7/
./xdd-linux-amd64
Then scan the QR code to log in to jiqiren's QQ.
Ctrl + c
nohup ./xdd-linux-amd64 &
(shang above Ctrl +c may need to log in again after exiting, here cat nohup.out, and then scan the code again, this is the log output file)
vim conf/config Yaml
change this in the slow query configuration
later: 1 # delay to prevent Black IP. Set the default 60 to 1. The unit is seconds
Then log in to QQ and leave a message if you have other questions
Read More:
- [Solved] ERROR: error loading sources list: The read operation timed out
- [Solved] Node uploads files to FTP server error: timed out while making data connection
- summary of configuration and deployment of uwsgi+nginx+flag in centos7 and why internal server error is prompted [official instructions]
- ros2 apt-get install error: E: Failed to fetch http://packages.ros.org…
- [Solved] yocto Compile Error: ERROR: libtinyxml2-XXX do_fetch: Fetcher failure for URL
- How to Solve Ubuntu “Failed to fetch” Error
- Git Error Resolution: errno:10054 Time out
- Solve git upload file error [rejected] master -> master (fetch first) error: failed to push some refs to ‘
- [Solved] ERROR: Command errored out with exit status 128: git clone -q
- [Solved] Apex Install Error: ERROR: Command errored out with exit status 1
- [docker][issue]Error response from daemon: mkdir xxx: file exists: unknown
- [Solved] curl: (6) Could not resolve host: harbor.od.com; Unknown error
- [Solved] Docker error: “unknown runtime specified NVIDIA” using GPU“
- Runtime error – [xcodeproj] unknown object version. [How to Solve]
- Linux solves nohup: ignoring input and appending output to “nohup. Out” and nohup: ignoring input redirection error to standard output
- [Solved] OCI runtime create failed: /usr/bin/nvidia-container-runtime did not terminate successfully: unknown
- [Solved] Linux gcc Compile Error: unknown type name ‘bool‘
- [Solved] Error response from daemon: manifest for nvidia/cuda:latest not found: manifest unknown: manifest
- [Solved] Centos Start rabbitmq Error: ERROR: epmd error for host “192“:badarg (unknown POSIX error)
- Docker Start Container Error: Error response from daemon: task already exists: unknown