Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. LanguageTool
  3. languagetool connection error 405

languagetool connection error 405

Scheduled Pinned Locked Moved Solved LanguageTool
3 Posts 2 Posters 1.3k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    m-si
    wrote on last edited by m-si
    #1

    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 with

    curl -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:

    1. install languagetool app in cloudron
    2. setup ngrams /app/pkg/install-ngrams.sh /app/data/ngrams en de which worked flawless
    3. 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...)

    girishG 1 Reply Last reply
    0
    • M m-si

      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 with

      curl -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:

      1. install languagetool app in cloudron
      2. setup ngrams /app/pkg/install-ngrams.sh /app/data/ngrams en de which worked flawless
      3. 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...)

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @m-si said in languagetool connection error 405:

      https://lt.my-domain.org/secret/6FoL0A/check

      The URL has to be like https://lt.my-domain.org/6FoL0A/v2/check

      I will clarify this in the docs.

      M 1 Reply Last reply
      1
      • girishG girish

        @m-si said in languagetool connection error 405:

        https://lt.my-domain.org/secret/6FoL0A/check

        The URL has to be like https://lt.my-domain.org/6FoL0A/v2/check

        I will clarify this in the docs.

        M Offline
        M Offline
        m-si
        wrote on last edited by
        #3

        @girish Thank you so much for the quick response...I can confirm putting in https://lt.my-domain.org/6FoL0A/v2 worked perfectly. the check is added by the firefox plugin itself... cloudron is awsome, for the software and the people...

        1 Reply Last reply
        1
        • nebulonN nebulon marked this topic as a question on
        • nebulonN 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
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Bookmarks
        • Search