languagetool connection error 405
-
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/checkI 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.orgworks perfectly fine...Steps to reproduce:
- install languagetool app in cloudron
- setup ngrams
/app/pkg/install-ngrams.sh /app/data/ngrams en dewhich 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/ngramsso what am I missing?
(I changed the API-Prefix for obvious reasons...)
-
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/checkI 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.orgworks perfectly fine...Steps to reproduce:
- install languagetool app in cloudron
- setup ngrams
/app/pkg/install-ngrams.sh /app/data/ngrams en dewhich 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/ngramsso 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/checkI will clarify this in the docs.
-
@m-si said in languagetool connection error 405:
The URL has to be like
https://lt.my-domain.org/6FoL0A/v2/checkI will clarify this in the docs.
-
N nebulon marked this topic as a question on
-
N nebulon has marked this topic as solved on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login