languagetool connection error 405
Solved
LanguageTool
-
I'am struggeling with the setup of languagetool app. When I use the firefox addon (with server url
https://lt.my-domain.org/secret/6FoL0A/check
) to connect it throws(#1, code=0)
. If I use the terminal withcurl -d "language=de-DE" -d "text=a simple test" https://lt.my-domain.org/secret/6FoL0A/check
I get
<html> <head><title>405 Not Allowed</title></head> <body> <center><h1>405 Not Allowed</h1></center> <hr><center>nginx/1.18.0 (Ubuntu)</center> </body> </html>
even though
https://lt.my-domain.org
works perfectly fine...Steps to reproduce:
- install languagetool app in cloudron
- setup ngrams
/app/pkg/install-ngrams.sh /app/data/ngrams en de
which worked flawless - setup env file
# Protect installation with magic/hidden URL API_PATH_PREFIX=6FoL0A # Activate n-gram datasets (https://docs.cloudron.io/apps/languagetool/#n-grams) NGRAM_DATASET=("en" "de") NGRAMS_DATASET_PATH=/app/data/ngrams
so what am I missing?
(I changed the API-Prefix for obvious reasons...)
-
@m-si said in languagetool connection error 405:
The URL has to be like
https://lt.my-domain.org/6FoL0A/v2/check
I will clarify this in the docs.
-
-