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

Error: Missing arguments for LanguageTool API. #89

Open
hubortje opened this issue Feb 26, 2024 · 3 comments
Open

Error: Missing arguments for LanguageTool API. #89

hubortje opened this issue Feb 26, 2024 · 3 comments

Comments

@hubortje
Copy link

Hey,

I'm running your dockerfile with the following docker-compose.yml behind Traefik.

version: "3.8"
services:
  languagetool:
    image: erikvl87/languagetool
    container_name: languagetool
    environment:
      - langtool_languageModel=/ngrams   # OPTIONAL: Using ngrams data
      - Java_Xms=512m                    # OPTIONAL: Setting a minimal Java heap size of 512 mib
      - Java_Xmx=1g                      # OPTIONAL: Setting a maximum Java heap size of 1 Gib
    volumes:
      - path/to/languagetool/ngrams:/ngrams     # OPTIONAL: The location of ngrams data on the local machine
    restart: unless-stopped
    ports:
      - 8010
    labels:
       traefik.enable: "true"
       traefik.http.routers.languagetool.entrypoints: "websecure"
       traefik.http.routers.languagetool.rule: "Host(`languagetool.mydomain.com`)"
       traefik.http.routers.languagetool.tls: "true"
       traefik.http.routers.languagetool.tls.certresolver: "http_resolver"
       traefik.http.routers.languagetool.service: "languagetool"
       traefik.http.services.languagetool.loadbalancer.server.port: "8010"
       traefik.docker.network: "proxy"
       traefik.http.routers.languagetool.middlewares: "default@file"
    networks:
      - proxy
networks:
  proxy:
    external: true

When accessing languagetool.mydomain.com I am confronted with the following error message: Error: Missing arguments for LanguageTool API. Please see https://languagetool.org/http-api/swagger-ui/#/default

Here are my logs from the docker container:

languagetool  | The following configuration is passed to LanguageTool:
languagetool  | languageModel=/ngrams
languagetool  | 2024-02-26 18:42:33.737 GMT INFO  org.languagetool.server.DatabaseAccessOpenSource Not setting up database access, dbDriver is not configured
languagetool  | 2024-02-26 18:42:33 +0000 WARNING: running in HTTP mode, consider running LanguageTool behind a reverse proxy that takes care of encryption (HTTPS)
languagetool  | 2024-02-26 18:42:33 +0000 WARNING: running in public mode, LanguageTool API can be accessed without restrictions!
languagetool  | 2024-02-26 18:42:33 +0000 Setting up thread pool with 10 threads
languagetool  | WARN: no common words file defined for Japanese - this language might not be correctly auto-detected
languagetool  | WARN: no common words file defined for Khmer - this language might not be correctly auto-detected
languagetool  | 2024-02-26 18:42:36.393 GMT INFO  org.languagetool.server.TextChecker A/B-Test enabled: []
languagetool  | 2024-02-26 18:42:36 +0000 Starting LanguageTool 6.3 (build date: 2023-12-08 08:53:27 +0000, fb238b2) server on http://localhost:8010...
languagetool  | 2024-02-26 18:42:36 +0000 Server started
languagetool  | 2024-02-26 18:43:03.194 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handling POST /v2/check
languagetool  | 2024-02-26 18:43:12.162 GMT INFO  org.languagetool.server.TextChecker Check done: 13 chars, en-US, requestId: null, #1, null, 0/1 matches, 8880ms, agent:-, sent, q:0, h:1, dH:1, r:1, m:all, premium: false
languagetool  | 2024-02-26 18:43:12.164 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handled request in 9014ms; sending code 200
languagetool  | 2024-02-26 18:43:42.294 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handling POST /v2/check
languagetool  | 2024-02-26 18:43:43.147 GMT INFO  org.languagetool.server.TextChecker Check done: 13 chars, en-US, requestId: null, #2, null, 0/1 matches, 851ms, agent:-, sent, q:0, h:1, dH:1, r:2, m:all, premium: false
languagetool  | 2024-02-26 18:43:43.147 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handled request in 853ms; sending code 200
languagetool  | 2024-02-26 18:44:13.305 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handling POST /v2/check
languagetool  | 2024-02-26 18:44:14.150 GMT INFO  org.languagetool.server.TextChecker Check done: 13 chars, en-US, requestId: null, #3, null, 0/1 matches, 840ms, agent:-, sent, q:0, h:1, dH:1, r:3, m:all, premium: false
languagetool  | 2024-02-26 18:44:14.151 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handled request in 846ms; sending code 200
languagetool  | 2024-02-26 18:44:44.281 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handling POST /v2/check
languagetool  | 2024-02-26 18:44:44.540 GMT INFO  org.languagetool.server.TextChecker Check done: 13 chars, en-US, requestId: null, #4, null, 0/1 matches, 259ms, agent:-, sent, q:0, h:1, dH:1, r:4, m:all, premium: false
languagetool  | 2024-02-26 18:44:44.551 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handled request in 270ms; sending code 200
languagetool  | 2024-02-26 18:45:14.694 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handling POST /v2/check
languagetool  | 2024-02-26 18:45:14.971 GMT INFO  org.languagetool.server.TextChecker Check done: 13 chars, en-US, requestId: null, #5, null, 0/1 matches, 274ms, agent:-, sent, q:0, h:1, dH:1, r:5, m:all, premium: false
languagetool  | 2024-02-26 18:45:14.972 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handled request in 277ms; sending code 200
languagetool  | 2024-02-26 18:45:45.109 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handling POST /v2/check
languagetool  | 2024-02-26 18:45:45.342 GMT INFO  org.languagetool.server.TextChecker Check done: 13 chars, en-US, requestId: null, #6, null, 0/1 matches, 232ms, agent:-, sent, q:0, h:1, dH:1, r:6, m:all, premium: false
languagetool  | 2024-02-26 18:45:45.343 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handled request in 234ms; sending code 200
languagetool  | 2024-02-26 18:46:15.500 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handling POST /v2/check
languagetool  | 2024-02-26 18:46:15.784 GMT INFO  org.languagetool.server.TextChecker Check done: 13 chars, en-US, requestId: null, #7, null, 0/1 matches, 282ms, agent:-, sent, q:0, h:1, dH:1, r:7, m:all, premium: false
languagetool  | 2024-02-26 18:46:15.793 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handled request in 293ms; sending code 200
languagetool  | 2024-02-26 18:46:45.922 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handling POST /v2/check
languagetool  | 2024-02-26 18:46:46.127 GMT INFO  org.languagetool.server.TextChecker Check done: 13 chars, en-US, requestId: null, #8, null, 0/1 matches, 204ms, agent:-, sent, q:0, h:1, dH:1, r:8, m:all, premium: false
languagetool  | 2024-02-26 18:46:46.127 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handled request in 205ms; sending code 200
languagetool  | 2024-02-26 18:47:16.257 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handling POST /v2/check
languagetool  | 2024-02-26 18:47:16.482 GMT INFO  org.languagetool.server.TextChecker Check done: 13 chars, en-US, requestId: null, #9, null, 0/1 matches, 224ms, agent:-, sent, q:0, h:1, dH:1, r:9, m:all, premium: false
languagetool  | 2024-02-26 18:47:16.483 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handled request in 226ms; sending code 200
languagetool  | 2024-02-26 18:47:46.629 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handling POST /v2/check
languagetool  | 2024-02-26 18:47:46.849 GMT INFO  org.languagetool.server.TextChecker Check done: 13 chars, en-US, requestId: null, #10, null, 0/1 matches, 219ms, agent:-, sent, q:0, h:1, dH:1, r:10, m:all, premium: false
languagetool  | 2024-02-26 18:47:46.849 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handled request in 221ms; sending code 200
languagetool  | 2024-02-26 18:48:16.989 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handling POST /v2/check
languagetool  | 2024-02-26 18:48:17.216 GMT INFO  org.languagetool.server.TextChecker Check done: 13 chars, en-US, requestId: null, #11, null, 0/1 matches, 224ms, agent:-, sent, q:0, h:1, dH:1, r:11, m:all, premium: false
languagetool  | 2024-02-26 18:48:17.216 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handled request in 227ms; sending code 200
languagetool  | 2024-02-26 18:48:47.358 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handling POST /v2/check
languagetool  | 2024-02-26 18:48:47.585 GMT INFO  org.languagetool.server.TextChecker Check done: 13 chars, en-US, requestId: null, #12, null, 0/1 matches, 227ms, agent:-, sent, q:0, h:1, dH:1, r:12, m:all, premium: false
languagetool  | 2024-02-26 18:48:47.586 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handled request in 228ms; sending code 200
languagetool  | 2024-02-26 18:49:17.719 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handling POST /v2/check
languagetool  | 2024-02-26 18:49:17.931 GMT INFO  org.languagetool.server.TextChecker Check done: 13 chars, en-US, requestId: null, #13, null, 0/1 matches, 212ms, agent:-, sent, q:0, h:1, dH:1, r:13, m:all, premium: false
languagetool  | 2024-02-26 18:49:17.931 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handled request in 212ms; sending code 200
languagetool  | 2024-02-26 18:49:48.063 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handling POST /v2/check
languagetool  | 2024-02-26 18:49:48.297 GMT INFO  org.languagetool.server.TextChecker Check done: 13 chars, en-US, requestId: null, #14, null, 0/1 matches, 233ms, agent:-, sent, q:0, h:1, dH:1, r:14, m:all, premium: false
languagetool  | 2024-02-26 18:49:48.297 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handled request in 235ms; sending code 200
languagetool  | 2024-02-26 18:50:18.416 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handling POST /v2/check
languagetool  | 2024-02-26 18:50:18.644 GMT INFO  org.languagetool.server.TextChecker Check done: 13 chars, en-US, requestId: null, #15, null, 0/1 matches, 227ms, agent:-, sent, q:0, h:1, dH:1, r:15, m:all, premium: false
languagetool  | 2024-02-26 18:50:18.646 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handled request in 230ms; sending code 200
languagetool  | 2024-02-26 18:50:48.779 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handling POST /v2/check
languagetool  | 2024-02-26 18:50:49.010 GMT INFO  org.languagetool.server.TextChecker Check done: 13 chars, en-US, requestId: null, #16, null, 0/1 matches, 230ms, agent:-, sent, q:0, h:1, dH:1, r:16, m:all, premium: false
languagetool  | 2024-02-26 18:50:49.010 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handled request in 231ms; sending code 200
languagetool  | 2024-02-26 18:51:19.147 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handling POST /v2/check
languagetool  | 2024-02-26 18:51:19.378 GMT INFO  org.languagetool.server.TextChecker Check done: 13 chars, en-US, requestId: null, #17, null, 0/1 matches, 230ms, agent:-, sent, q:0, h:1, dH:1, r:17, m:all, premium: false
languagetool  | 2024-02-26 18:51:19.379 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handled request in 232ms; sending code 200
languagetool  | 2024-02-26 18:51:49.529 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handling POST /v2/check
languagetool  | 2024-02-26 18:51:49.755 GMT INFO  org.languagetool.server.TextChecker Check done: 13 chars, en-US, requestId: null, #18, null, 0/1 matches, 226ms, agent:-, sent, q:0, h:1, dH:1, r:18, m:all, premium: false
languagetool  | 2024-02-26 18:51:49.756 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handled request in 227ms; sending code 200
languagetool  | 2024-02-26 18:52:19.887 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handling POST /v2/check
languagetool  | 2024-02-26 18:52:20.189 GMT INFO  org.languagetool.server.TextChecker Check done: 13 chars, en-US, requestId: null, #19, null, 0/1 matches, 302ms, agent:-, sent, q:0, h:1, dH:1, r:19, m:all, premium: false
languagetool  | 2024-02-26 18:52:20.190 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handled request in 303ms; sending code 200
languagetool  | 2024-02-26 18:52:50.284 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handling POST /v2/check
languagetool  | 2024-02-26 18:52:50.483 GMT INFO  org.languagetool.server.TextChecker Check done: 13 chars, en-US, requestId: null, #20, null, 0/1 matches, 198ms, agent:-, sent, q:0, h:1, dH:1, r:20, m:all, premium: false
languagetool  | 2024-02-26 18:52:50.483 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handled request in 199ms; sending code 200
languagetool  | 2024-02-26 18:53:20.605 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handling POST /v2/check
languagetool  | 2024-02-26 18:53:21.010 GMT INFO  org.languagetool.server.TextChecker Check done: 13 chars, en-US, requestId: null, #21, null, 0/1 matches, 398ms, agent:-, sent, q:0, h:1, dH:1, r:21, m:all, premium: false
languagetool  | 2024-02-26 18:53:21.011 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handled request in 406ms; sending code 200
languagetool  | 2024-02-26 18:53:51.136 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handling POST /v2/check
languagetool  | 2024-02-26 18:53:51.345 GMT INFO  org.languagetool.server.TextChecker Check done: 13 chars, en-US, requestId: null, #22, null, 0/1 matches, 207ms, agent:-, sent, q:0, h:1, dH:1, r:22, m:all, premium: false
languagetool  | 2024-02-26 18:53:51.345 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handled request in 209ms; sending code 200
languagetool  | 2024-02-26 18:54:21.489 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handling POST /v2/check
languagetool  | 2024-02-26 18:54:21.694 GMT INFO  org.languagetool.server.TextChecker Check done: 13 chars, en-US, requestId: null, #23, null, 0/1 matches, 204ms, agent:-, sent, q:0, h:1, dH:1, r:23, m:all, premium: false
languagetool  | 2024-02-26 18:54:21.695 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handled request in 206ms; sending code 200
languagetool  | 2024-02-26 18:54:51.822 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handling POST /v2/check
languagetool  | 2024-02-26 18:54:52.045 GMT INFO  org.languagetool.server.TextChecker Check done: 13 chars, en-US, requestId: null, #24, null, 0/1 matches, 221ms, agent:-, sent, q:0, h:1, dH:1, r:24, m:all, premium: false
languagetool  | 2024-02-26 18:54:52.045 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handled request in 223ms; sending code 200
languagetool  | 2024-02-26 18:55:22.206 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handling POST /v2/check
languagetool  | 2024-02-26 18:55:22.431 GMT INFO  org.languagetool.server.TextChecker Check done: 13 chars, en-US, requestId: null, #25, null, 0/1 matches, 222ms, agent:-, sent, q:0, h:1, dH:1, r:25, m:all, premium: false
languagetool  | 2024-02-26 18:55:22.432 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handled request in 226ms; sending code 200
languagetool  | 2024-02-26 18:55:52.565 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handling POST /v2/check
languagetool  | 2024-02-26 18:55:52.763 GMT INFO  org.languagetool.server.TextChecker Check done: 13 chars, en-US, requestId: null, #26, null, 0/1 matches, 196ms, agent:-, sent, q:0, h:1, dH:1, r:26, m:all, premium: false
languagetool  | 2024-02-26 18:55:52.763 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handled request in 198ms; sending code 200
languagetool  | 2024-02-26 18:56:22.856 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handling POST /v2/check
languagetool  | 2024-02-26 18:56:23.106 GMT INFO  org.languagetool.server.TextChecker Check done: 13 chars, en-US, requestId: null, #27, null, 0/1 matches, 250ms, agent:-, sent, q:0, h:1, dH:1, r:27, m:all, premium: false
languagetool  | 2024-02-26 18:56:23.107 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handled request in 251ms; sending code 200
languagetool  | 2024-02-26 18:56:53.252 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handling POST /v2/check
languagetool  | 2024-02-26 18:56:53.454 GMT INFO  org.languagetool.server.TextChecker Check done: 13 chars, en-US, requestId: null, #28, null, 0/1 matches, 201ms, agent:-, sent, q:0, h:1, dH:1, r:28, m:all, premium: false
languagetool  | 2024-02-26 18:56:53.455 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handled request in 203ms; sending code 200
languagetool  | 2024-02-26 18:57:23.581 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handling POST /v2/check
languagetool  | 2024-02-26 18:57:23.828 GMT INFO  org.languagetool.server.TextChecker Check done: 13 chars, en-US, requestId: null, #29, null, 0/1 matches, 246ms, agent:-, sent, q:0, h:1, dH:1, r:29, m:all, premium: false
languagetool  | 2024-02-26 18:57:23.829 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handled request in 248ms; sending code 200
languagetool  | 2024-02-26 18:57:53.980 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handling POST /v2/check
languagetool  | 2024-02-26 18:57:54.153 GMT INFO  org.languagetool.server.TextChecker Check done: 13 chars, en-US, requestId: null, #30, null, 0/1 matches, 173ms, agent:-, sent, q:0, h:1, dH:1, r:30, m:all, premium: false
languagetool  | 2024-02-26 18:57:54.154 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handled request in 174ms; sending code 200
languagetool  | 2024-02-26 18:58:24.298 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handling POST /v2/check
languagetool  | 2024-02-26 18:58:24.536 GMT INFO  org.languagetool.server.TextChecker Check done: 13 chars, en-US, requestId: null, #31, null, 0/1 matches, 238ms, agent:-, sent, q:0, h:1, dH:1, r:31, m:all, premium: false
languagetool  | 2024-02-26 18:58:24.536 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handled request in 238ms; sending code 200
languagetool  | 2024-02-26 18:58:54.668 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handling POST /v2/check
languagetool  | 2024-02-26 18:58:54.841 GMT INFO  org.languagetool.server.TextChecker Check done: 13 chars, en-US, requestId: null, #32, null, 0/1 matches, 171ms, agent:-, sent, q:0, h:1, dH:1, r:32, m:all, premium: false
languagetool  | 2024-02-26 18:58:54.841 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handled request in 173ms; sending code 200
languagetool  | 2024-02-26 18:59:24.971 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handling POST /v2/check
languagetool  | 2024-02-26 18:59:25.205 GMT INFO  org.languagetool.server.TextChecker Check done: 13 chars, en-US, requestId: null, #33, null, 0/1 matches, 232ms, agent:-, sent, q:0, h:1, dH:1, r:33, m:all, premium: false
languagetool  | 2024-02-26 18:59:25.206 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handled request in 234ms; sending code 200
languagetool  | 2024-02-26 18:59:55.343 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handling POST /v2/check
languagetool  | 2024-02-26 18:59:55.531 GMT INFO  org.languagetool.server.TextChecker Check done: 13 chars, en-US, requestId: null, #34, null, 0/1 matches, 187ms, agent:-, sent, q:0, h:1, dH:1, r:34, m:all, premium: false
languagetool  | 2024-02-26 18:59:55.532 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handled request in 189ms; sending code 200
languagetool  | 2024-02-26 19:00:25.667 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handling POST /v2/check
languagetool  | 2024-02-26 19:00:25.887 GMT INFO  org.languagetool.server.TextChecker Check done: 13 chars, en-US, requestId: null, #35, null, 0/1 matches, 219ms, agent:-, sent, q:0, h:1, dH:1, r:35, m:all, premium: false
languagetool  | 2024-02-26 19:00:25.887 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handled request in 221ms; sending code 200
languagetool  | 2024-02-26 19:00:55.982 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handling POST /v2/check
languagetool  | 2024-02-26 19:00:56.172 GMT INFO  org.languagetool.server.TextChecker Check done: 13 chars, en-US, requestId: null, #36, null, 0/1 matches, 190ms, agent:-, sent, q:0, h:1, dH:1, r:36, m:all, premium: false
languagetool  | 2024-02-26 19:00:56.172 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handled request in 190ms; sending code 200
languagetool  | 2024-02-26 19:01:26.311 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handling POST /v2/check
languagetool  | 2024-02-26 19:01:26.524 GMT INFO  org.languagetool.server.TextChecker Check done: 13 chars, en-US, requestId: null, #37, null, 0/1 matches, 212ms, agent:-, sent, q:0, h:1, dH:1, r:37, m:all, premium: false
languagetool  | 2024-02-26 19:01:26.525 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handled request in 214ms; sending code 200
languagetool  | 2024-02-26 19:01:56.685 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handling POST /v2/check
languagetool  | 2024-02-26 19:01:56.914 GMT INFO  org.languagetool.server.TextChecker Check done: 13 chars, en-US, requestId: null, #38, null, 0/1 matches, 229ms, agent:-, sent, q:0, h:1, dH:1, r:38, m:all, premium: false
languagetool  | 2024-02-26 19:01:56.915 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handled request in 230ms; sending code 200
languagetool  | 2024-02-26 19:02:08.512 GMT INFO  org.languagetool.server.LanguageToolHttpHandler Handling GET /
languagetool  | 2024-02-26 19:02:08.520 GMT INFO  org.languagetool.server.LanguageToolHttpHandler An error has occurred: 'Missing arguments for LanguageTool API. Please see https://languagetool.org/http-api/swagger-ui/#/default', sending HTTP code 400. Access from mypublicip, HTTP user agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0, User agent param: null, Referrer: null, language: null, h: 1, r: 39, time: 7m: ALL, l: DEFAULT, Stacktrace follows:org.languagetool.server.BadRequestException: Missing arguments for LanguageTool API. Please see https://languagetool.org/http-api/swagger-ui/#/default

Any pointer for me?

@hubortje
Copy link
Author

Found the problem myself.
In the add-on I did add languagetool.mydomain.com instead of languagetool.mydomain.com/v2.
In order for the service to work, it needs languagetool.mydomain.com/v2.

@yujinio
Copy link

yujinio commented Mar 7, 2024

Hi @hubortje!

Could you please expand on what actually you did to fix the issue? I can't get where does it need the languagetool.mydomain.com/v2 to be.

@sassanix
Copy link

sassanix commented May 2, 2024

I'm getting this error when I go to the page. What should I do to get the editor working?

Update: I guess there's no frontend for this, and can only be viewable through the extension on firefox and chrome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants