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

fix(backend): Use SSL option for Meilisearch #10772

Merged
merged 1 commit into from
May 5, 2023

Conversation

caipira113
Copy link
Contributor

What

Resolve #10767
Added SSL option to Meilisearch configuration.

Why

The current code uses an HTTP connection to communicate with the Meilisearch server. However, when the server has SSL configured, this results in connection failures. To solve this problem, the SSL option has been added to the configuration.

Additional info (optional)

Configuring SSL in Meilisearch itself with MEILI_SSL_CERT_PATH (--ssl-cert-path) and MEILI_SSL_KEY_PATH (--ssl-key-path) still doesn't seem to work. Therefore, it appears that using a separate reverse proxy is necessary to enable SSL.

Checklist

  • Read the contribution guide
  • Test working in a local environment
  • (If needed) Add story of storybook
  • (If needed) Update CHANGELOG.md
  • (If possible) Add tests

@github-actions github-actions bot added the packages/backend Server side specific issue/PR label May 5, 2023
@codecov
Copy link

codecov bot commented May 5, 2023

Codecov Report

Merging #10772 (98b151c) into develop (4a72941) will increase coverage by 1.00%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop   #10772      +/-   ##
===========================================
+ Coverage    77.35%   78.35%   +1.00%     
===========================================
  Files          901      167     -734     
  Lines        89690    20741   -68949     
  Branches      6573      374    -6199     
===========================================
- Hits         69377    16252   -53125     
+ Misses       20313     4489   -15824     

see 734 files with indirect coverage changes

@syuilo syuilo merged commit ae21b75 into misskey-dev:develop May 5, 2023
@syuilo
Copy link
Member

syuilo commented May 5, 2023

👍

sasagar pushed a commit to sasagar/misskey that referenced this pull request May 9, 2023
na2na-p pushed a commit to na2na-p/misskey that referenced this pull request May 10, 2023
@caipira113 caipira113 deleted the meili-ssl branch May 20, 2023 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
packages/backend Server side specific issue/PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[13.12.0-beta.2] SSL connections from Meilisearch are not supported.
2 participants