docs/en/06-advanced/06-tdgpt/10-faq.md
The TDgpt installation process compiles uWSGI on your local machine. In certain Python distributions, such as Anaconda, conflicts may occur during compilation. In this case, you can choose not to install uWSGI.
However, this means that you must manually run the python3.10 /usr/local/taos/taosanode/lib/taosanalytics/app.py command when starting the taosanode service. Use a virtual Python environment when running this command to ensure that dependencies can be loaded.
taos> create anode '127.0.0.1:6035';
DB error: Analysis service can't access[0x80000441] (0.117446s)
First, use curl to check whether the anode is providing services: The output of curl '127.0.0.1:6035' should be as follows:
TDengine© Time Series Data Analytics Platform (ver 1.0.x)
The following output indicates that the anode is not providing services:
curl: (7) Failed to connect to 127.0.0.1 port 6035: Connection refused
If the anode has not started or is not running, check the uWSGI log logs in the /var/log/taos/taosanode/taosanode.log file to find and resolve any errors.
Note: Do not use systemctl to check the status of the taosanode service.
taos> select _frowts,forecast(current, 'algo=arima, alpha=95, wncheck=0, rows=20') from d1 where ts<='2017-07-14 10:40:09.999';
DB error: Analysis service can't access[0x80000441] (60.195613s)
The timeout period for the analysis service is 60 seconds. If the analysis process cannot be completed within this period, this error will occur. You can reduce the scope of data being analyzed or try another algorithm to avoid the error.
This indicates that the analysis results contain an error. Check the anode operation logs in the /var/log/taos/taosanode/taosanode.app.log file to find and resolve any issues.
The default log level for TDgpt is DEBUG. To adjust the log level, you need to modify the log-level configuration item in the TDgpt configuration file located at /etc/taos/taosanode.ini.
# default log level
log-level = DEBUG
The available options for this configuration item include: DEBUG, INFO, CRITICAL, ERROR, and WARN.
For certain errors that cannot be directly identified via return codes, please check the log files to obtain accurate error details. The log files are located in the /var/log/taos/taosanode/ directory.
Please refer to the TDgpt Error Code List.