Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于meilisearch的相关问题 #7563

Open
4 tasks done
ocean-zhc opened this issue Nov 25, 2024 · 0 comments
Open
4 tasks done

关于meilisearch的相关问题 #7563

ocean-zhc opened this issue Nov 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ocean-zhc
Copy link

ocean-zhc commented Nov 25, 2024

Please make sure of the following things

  • I have read the documentation.
    我已经阅读了文档

  • I'm sure there are no duplicate issues or discussions.
    我确定没有重复的issue或讨论。

  • I'm sure it's due to AList and not something else(such as Network ,Dependencies or Operational).
    我确定是AList的问题,而不是其他原因(例如网络依赖操作)。

  • I'm sure this issue is not fixed in the latest version.
    我确定这个问题在最新版本中没有被修复。

AList Version / AList 版本

v3.40.0

Driver used / 使用的存储驱动

no

Describe the bug / 问题描述

我直接用的官方驱动,将meilisearch替换成https 启动alist提示:FATA[2024-11-25 03:11:42] failed save setting: MeilisearchCommunicationError unable to execute request (path "GET /indexes/alist" with method "FetchInfo"): tls: failed to verify certificate: x509: certificate signed by unknown authority
image

但是我按照 从源码开始 https://alist.nn.ci/zh/guide/install/source.html 将meilisearch替换成https 这个问题复现不出来?
image
配置文件对比如下:
image

Reproduction / 复现链接

https://alist.nn.ci/zh/guide/install/source.html
启动服务命令
./alist server --force-bin-dir --log-std

Config / 配置

{
  "force": false,
  "site_url": "",
  "cdn": "",
  "jwt_secret": "wUtJ46F9aS5wamYb",
  "token_expires_in": 48,
  "database": {
    "type": "sqlite3",
    "host": "",
    "port": 0,
    "user": "",
    "password": "",
    "name": "",
    "db_file": "data/data.db",
    "table_prefix": "x_",
    "ssl_mode": "",
    "dsn": ""
  },
  "meilisearch": {
    "host": "https://10.11.11.6:7700",
    "api_key": "rwjyc5oe1zohw7l0nqolrgjndwu66dicva2i13wo",
    "index_prefix": ""
  },
  "scheme": {
    "address": "0.0.0.0",
    "http_port": 5244,
    "https_port": 5245,
    "force_https": false,
    "cert_file": "data/10.11.11.6.pem",
    "key_file": "data/10.11.11.6-key.pem",
    "unix_file": "",
    "unix_file_perm": ""
  },
  "temp_dir": "data/temp",
  "bleve_dir": "data/bleve",
  "dist_dir": "",
  "log": {
    "enable": true,
    "name": "data/log/log.log",
    "max_size": 50,
    "max_backups": 30,
    "max_age": 28,
    "compress": false
  },
  "delayed_start": 0,
  "max_connections": 0,
  "tls_insecure_skip_verify": true,
  "tasks": {
    "download": {
      "workers": 5,
      "max_retry": 1,
      "task_persistant": true
    },
    "transfer": {
      "workers": 5,
      "max_retry": 2,
      "task_persistant": true
    },
    "upload": {
      "workers": 5,
      "max_retry": 0,
      "task_persistant": false
    },
    "copy": {
      "workers": 5,
      "max_retry": 2,
      "task_persistant": true
    }
  },
  "cors": {
    "allow_origins": [
      "*"
    ],
    "allow_methods": [
      "*"
    ],
    "allow_headers": [
      "*"
    ]
  },
  "s3": {
    "enable": false,
    "port": 5246,
    "ssl": false
  }
}

Logs / 日志

�]11;?�\INFO[2024-11-25 02:54:25] reading config file: data/config.json
INFO[2024-11-25 02:54:25] load config from env with prefix:
INFO[2024-11-25 02:54:25] init logrus...
FATA[2024-11-25 02:54:25] failed save setting: MeilisearchCommunicationError unable to execute request (path "GET /indexes/alist" with method "FetchInfo"): tls: failed to verify certificate: x509: certificate signed by unknown authority
�]11;?�\INFO[2024-11-25 02:55:30] reading config file: data/config.json
INFO[2024-11-25 02:55:30] load config from env with prefix:
INFO[2024-11-25 02:55:30] init logrus...
FATA[2024-11-25 02:55:30] failed save setting: MeilisearchCommunicationError unable to execute request (path "GET /indexes/alist" with method "FetchInfo"): tls: failed to verify certificate: x509: certificate signed by unknown authority
�]11;?�\INFO[2024-11-25 02:56:00] reading config file: data/config.json
INFO[2024-11-25 02:56:00] load config from env with prefix:
INFO[2024-11-25 02:56:00] init logrus...
FATA[2024-11-25 02:56:00] failed save setting: MeilisearchCommunicationError unable to execute request (path "GET /indexes/alist" with method "FetchInfo"): tls: failed to verify certificate: x509: certificate signed by unknown authority
�]11;?�\INFO[2024-11-25 02:56:05] reading config file: data/config.json
INFO[2024-11-25 02:56:05] load config from env with prefix:
INFO[2024-11-25 02:56:05] init logrus...
FATA[2024-11-25 02:56:05] failed save setting: MeilisearchCommunicationError unable to execute request (path "GET /indexes/alist" with method "FetchInfo"): tls: failed to verify certificate: x509: certificate signed by unknown authority
�]11;?�\INFO�[0m[2024-11-25 02:56:11] reading config file: data/config.json
INFO[2024-11-25 02:56:11] load config from env with prefix:
INFO[2024-11-25 02:56:11] init logrus...
FATA[2024-11-25 02:56:11] failed save setting: MeilisearchCommunicationError unable to execute request (path "GET /indexes/alist" with method "FetchInfo"): tls: failed to verify certificate: x509: certificate signed by unknown authority
�]11;?�\INFO[2024-11-25 02:56:17] reading config file: data/config.json
INFO[2024-11-25 02:56:17] load config from env with prefix:
INFO[2024-11-25 02:56:17] init logrus...
FATA[2024-11-25 02:56:17] failed save setting: MeilisearchCommunicationError unable to execute request (path "GET /indexes/alist" with method "FetchInfo"): tls: failed to verify certificate: x509: certificate signed by unknown authority
�]11;?�\INFO[2024-11-25 02:56:23] reading config file: data/config.json
INFO[2024-11-25 02:56:23] load config from env with prefix:
INFO[2024-11-25 02:56:23] init logrus...
FATA[2024-11-25 02:56:23] failed save setting: MeilisearchCommunicationError unable to execute request (path "GET /indexes/alist" with method "FetchInfo"): tls: failed to verify certificate: x509: certificate signed by unknown authority
�]11;?�\INFO[2024-11-25 02:56:30] reading config file: data/config.json
INFO[2024-11-25 02:56:30] load config from env with prefix:
INFO[2024-11-25 02:56:30] init logrus...
FATA[2024-11-25 02:56:30] failed save setting: MeilisearchCommunicationError unable to execute request (path "GET /indexes/alist" with method "FetchInfo"): tls: failed to verify certificate: x509: certificate signed by unknown authority
�]11;?�\INFO[2024-11-25 02:56:39] reading config file: data/config.json
INFO[2024-11-25 02:56:39] load config from env with prefix:
INFO[2024-11-25 02:56:39] init logrus...
FATA[2024-11-25 02:56:39] failed save setting: MeilisearchCommunicationError unable to execute request (path "GET /indexes/alist" with method "FetchInfo"): tls: failed to verify certificate: x509: certificate signed by unknown authority
�]11;?�\INFO[2024-11-25 02:56:50] reading config file: data/config.json
INFO[2024-11-25 02:56:50] load config from env with prefix:
INFO[2024-11-25 02:56:50] init logrus...
FATA[2024-11-25 02:56:51] failed save setting: MeilisearchCommunicationError unable to execute request (path "GET /indexes/alist" with method "FetchInfo"): tls: failed to verify certificate: x509: certificate signed by unknown authority
�]11;?�\INFO[2024-11-25 02:57:09] reading config file: data/config.json
INFO[2024-11-25 02:57:09] load config from env with prefix:
INFO[2024-11-25 02:57:09] init logrus...
FATA[2024-11-25 02:57:09] failed save setting: MeilisearchCommunicationError unable to execute request (path "GET /indexes/alist" with method "FetchInfo"): tls: failed to verify certificate: x509: certificate signed by unknown authority
�]11;?�\INFO[2024-11-25 02:57:40] reading config file: data/config.json
INFO[2024-11-25 02:57:40] load config from env with prefix:
INFO[2024-11-25 02:57:40] init logrus...
FATA[2024-11-25 02:57:40] failed save setting: MeilisearchCommunicationError unable to execute request (path "GET /indexes/alist" with method "FetchInfo"): tls: failed to verify certificate: x509: certificate signed by unknown authority
�]11;?�\INFO[2024-11-25 02:58:36] reading config file: data/config.json
INFO[2024-11-25 02:58:36] load config from env with prefix:
INFO[2024-11-25 02:58:36] init logrus...
FATA[2024-11-25 02:58:37] failed save setting: MeilisearchCommunicationError unable to execute request (path "GET /indexes/alist" with method "FetchInfo"): tls: failed to verify certificate: x509: certificate signed by unknown authority
�]11;?�\INFO[2024-11-25 02:59:42] reading config file: data/config.json
INFO[2024-11-25 02:59:42] load config from env with prefix:
INFO[2024-11-25 02:59:42] init logrus...
FATA[2024-11-25 02:59:42] failed save setting: MeilisearchCommunicationError unable to execute request (path "GET /indexes/alist" with method "FetchInfo"): tls: failed to verify certificate: x509: certificate signed by unknown authority
�]11;?�\INFO[2024-11-25 03:00:47] reading config file: data/config.json
INFO[2024-11-25 03:00:47] load config from env with prefix:
INFO[2024-11-25 03:00:47] init logrus...
FATA[2024-11-25 03:00:47] failed save setting: MeilisearchCommunicationError unable to execute request (path "GET /indexes/alist" with method "FetchInfo"): tls: failed to verify certificate: x509: certificate signed by unknown authority
�]11;?�\INFO[2024-11-25 03:01:53] reading config file: data/config.json
INFO[2024-11-25 03:01:53] load config from env with prefix:
INFO[2024-11-25 03:01:53] init logrus...
FATA[2024-11-25 03:01:53] failed save setting: MeilisearchCommunicationError unable to execute request (path "GET /indexes/alist" with method "FetchInfo"): tls: failed to verify certificate: x509: certificate signed by unknown authority
�]11;?�\INFO[2024-11-25 03:02:58] reading config file: data/config.json
INFO[2024-11-25 03:02:58] load config from env with prefix:
INFO[2024-11-25 03:02:58] init logrus...
FATA[2024-11-25 03:02:58] failed save setting: MeilisearchCommunicationError unable to execute request (path "GET /indexes/alist" with method "FetchInfo"): tls: failed to verify certificate: x509: certificate signed by unknown authority
�]11;?�\INFO[2024-11-25 03:04:04] reading config file: data/config.json
INFO[2024-11-25 03:04:04] load config from env with prefix:
INFO[2024-11-25 03:04:04] init logrus...
FATA[2024-11-25 03:04:04] failed save setting: MeilisearchCommunicationError unable to execute request (path "GET /indexes/alist" with method "FetchInfo"): tls: failed to verify certificate: x509: certificate signed by unknown authority
�]11;?�\INFO[2024-11-25 03:05:09] reading config file: data/config.json
INFO[2024-11-25 03:05:09] load config from env with prefix:
INFO[2024-11-25 03:05:09] init logrus...
FATA[2024-11-25 03:05:09] failed save setting: MeilisearchCommunicationError unable to execute request (path "GET /indexes/alist" with method "FetchInfo"): tls: failed to verify certificate: x509: certificate signed by unknown authority
�]11;?�\INFO[2024-11-25 03:06:15] reading config file: data/config.json
INFO[2024-11-25 03:06:15] load config from env with prefix:
INFO[2024-11-25 03:06:15] init logrus...
FATA[2024-11-25 03:06:15] failed save setting: MeilisearchCommunicationError unable to execute request (path "GET /indexes/alist" with method "FetchInfo"): tls: failed to verify certificate: x509: certificate signed by unknown authority
�]11;?�\INFO[2024-11-25 03:07:20] reading config file: data/config.json
INFO[2024-11-25 03:07:20] load config from env with prefix:
INFO[2024-11-25 03:07:20] init logrus...
FATA[2024-11-25 03:07:20] failed save setting: MeilisearchCommunicationError unable to execute request (path "GET /indexes/alist" with method "FetchInfo"): tls: failed to verify certificate: x509: certificate signed by unknown authority
�]11;?�\INFO[2024-11-25 03:08:25] reading config file: data/config.json
INFO[2024-11-25 03:08:25] load config from env with prefix:
INFO[2024-11-25 03:08:25] init logrus...
FATA[2024-11-25 03:08:25] failed save setting: MeilisearchCommunicationError unable to execute request (path "GET /indexes/alist" with method "FetchInfo"): tls: failed to verify certificate: x509: certificate signed by unknown authority
�]11;?�\INFO[2024-11-25 03:09:31] reading config file: data/config.json
INFO[2024-11-25 03:09:31] load config from env with prefix:
INFO[2024-11-25 03:09:31] init logrus...
FATA[2024-11-25 03:09:31] failed save setting: MeilisearchCommunicationError unable to execute request (path "GET /indexes/alist" with method "FetchInfo"): tls: failed to verify certificate: x509: certificate signed by unknown authority
�]11;?�\INFO[2024-11-25 03:10:36] reading config file: data/config.json
INFO[2024-11-25 03:10:36] load config from env with prefix:
INFO[2024-11-25 03:10:36] init logrus...
FATA[2024-11-25 03:10:36] failed save setting: MeilisearchCommunicationError unable to execute request (path "GET /indexes/alist" with method "FetchInfo"): tls: failed to verify certificate: x509: certificate signed by unknown authority
�]11;?�\INFO[2024-11-25 03:11:42] reading config file: data/config.json
INFO[2024-11-25 03:11:42] load config from env with prefix:
INFO[2024-11-25 03:11:42] init logrus...
FATA[2024-11-25 03:11:42] failed save setting: MeilisearchCommunicationError unable to execute request (path "GET /indexes/alist" with method "FetchInfo"): tls: failed to verify certificate: x509: certificate signed by unknown authority

@ocean-zhc ocean-zhc added the bug Something isn't working label Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant