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
  • 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 | Demo | Docs | Install
  1. Cloudron Forum
  2. LanguageTool
  3. LanguageTool Error 405

LanguageTool Error 405

Scheduled Pinned Locked Moved Solved LanguageTool
12 Posts 4 Posters 1.8k Views 4 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.
  • D Offline
    D Offline
    Dont-Worry
    wrote on last edited by
    #3

    Hello @girish

    I tested using LT on the Brave browser. Seeing that it didn't work, I tried using it on Arc But nothing works in both cases. The extension I use is the Chrome extension, bc these two browsers work on the Chrome base.

    1 Reply Last reply
    0
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by nebulon
      #4

      For a start if you have no secret set, then test your instance via running curl for example:

      curl -d "text=Hello world" -d "language=de-DE" https://<youinstancedomain.com>/v2/check
      

      so if your instance has a secret set, this call would return a 405. If you have a secret set, then it goes in the api path: .../secret/v2/chec ...now if that secret is wrong, you also get a 405. So most likely this is the root cause. Some mismatch here.

      1 Reply Last reply
      1
      • D Offline
        D Offline
        Dont-Worry
        wrote on last edited by Dont-Worry
        #5

        Here is what the console gives back :

        curl -d "text=Hello world" -d "language=de-DE" https://languagetool.mydomain.com/v2/check

        {"software":{"name":"LanguageTool","version":"6.2","buildDate":"2023-07-02 13:18:32 +0000","apiVersion":1,"premium":false,"premiumHint":"You might be missing errors only the Premium version can find. Contact us at support<at>languagetoolplus.com.","status":""},"warnings":{"incompleteResults":false},"language":{"name":"German (Germany)","code":"de-DE","detectedLanguage":{"name":"English (US)","code":"en-US","confidence":0.7122702,"source":"+fallback"}},"matches":[{"message":"Möglicher Tippfehler gefunden.","shortMessage":"Rechtschreibfehler","replacements":[{"value":"Hallo"},{"value":"Cello"},{"value":"Hell"},{"value":"Hella"},{"value":"Helle"},{"value":"Bello"},{"value":"Helgo"},{"value":"Hellt"},{"value":"Fällt"},{"value":"Hall"},{"value":"Halle"},{"value":"Fälle"},{"value":"Hält"},{"value":"Hellen"},{"value":"Fell"},{"value":"Heller"},{"value":"Held"},{"value":"Helm"},{"value":"Kelly"},{"value":"Welle","shortDescription":"Wasserwoge"}],"offset":0,"length":5,"context":{"text":"Hello world","offset":0,"length":5},"sentence":"Hello world","type":{"typeName":"UnknownWord"},"rule":{"id":"GERMAN_SPELLER_RULE","description":"Möglicher Rechtschreibfehler","issueType":"misspelling","category":{"id":"TYPOS","name":"Mögliche Tippfehler"}},"ignoreForIncompleteSentence":false,"contextForSureMatch":0},{"message":"Möglicher Tippfehler gefunden.","shortMessage":"Rechtschreibfehler","replacements":[{"value":"World"},{"value":"wollt"},{"value":"vorl."},{"value":"vorlud"},{"value":"wird"},{"value":"vor"},{"value":"wohl"},{"value":"wollte"},{"value":"wirkt"},{"value":"womit"},{"value":"sorgt"},{"value":"voll"},{"value":"volle"},{"value":"voran"},{"value":"vorne"},{"value":"Bord"},{"value":"Ford"},{"value":"Horst"},{"value":"Lord"},{"value":"Mord"}],"offset":6,"length":5,"context":{"text":"Hello world","offset":6,"length":5},"sentence":"Hello world","type":{"typeName":"UnknownWord"},"rule":{"id":"GERMAN_SPELLER_RULE","description":"Möglicher Rechtschreibfehler","issueType":"misspelling","category":{"id":"TYPOS","name":"Mögliche Tippfehler"}},"ignoreForIncompleteSentence":false,"contextForSureMatch":0}],"sentenceRanges":[[0,11]]}

        1 Reply Last reply
        0
        • nebulonN Offline
          nebulonN Offline
          nebulon
          Staff
          wrote on last edited by
          #6

          Great so this means your server app works as expected. Then this is somehow a client/browser issue you have to investigate.

          1 Reply Last reply
          0
          • D Offline
            D Offline
            Dont-Worry
            wrote on last edited by
            #7

            Thank you for your fast support !

            You were right, it was a browser issue, you are right. But I don't have any idea why the Firefox extension is working but not the Chrome extension...

            1 Reply Last reply
            0
            • girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #8

              @Dont-Worry FWIW, the extension works in Chrome Version 122.0.6261.128 (Official Build) (64-bit) for me.

              image.png

              1 Reply Last reply
              0
              • D Offline
                D Offline
                Dont-Worry
                wrote on last edited by
                #9

                I just tried it on my MacBook Pro, and it is working.... I don't understand. Same browser on my Mac mini at work doesn't work....

                1 Reply Last reply
                0
                • necrevistonnezrN Offline
                  necrevistonnezrN Offline
                  necrevistonnezr
                  wrote on last edited by
                  #10

                  Maybe your - German? - employer blocks languagetool for GDPR reasons?

                  D 1 Reply Last reply
                  0
                  • necrevistonnezrN necrevistonnezr

                    Maybe your - German? - employer blocks languagetool for GDPR reasons?

                    D Offline
                    D Offline
                    Dont-Worry
                    wrote on last edited by
                    #11

                    @necrevistonnezr That could have been the case. But I'm the employer and I haven't set a block for LT... It could have come from the VPN, but I use the same one for both my computers...

                    1 Reply Last reply
                    0
                    • nebulonN Offline
                      nebulonN Offline
                      nebulon
                      Staff
                      wrote on last edited by
                      #12

                      I guess I will mark this as solved, given that this is not related to Cloudron anymore as such

                      1 Reply Last reply
                      0
                      • nebulonN nebulon has marked this topic as solved on
                      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