{“software”:{“name”:“LanguageTool”,“version”:“3.5”,“buildDate”:“2016-09-30 09:59”,“apiVersion”:“1”,“status”:“”},“language”:{“name”:“English”,“code”:“en”},“matches”:[{“message”:“This sentence does not start with an uppercase letter”,“shortMessage”:“”,“replacements”:[{“value”:“My”}],“offset”:0,“length”:2,“context”:{“text”:“my text”,“offset”:0,“length”:2},“rule”:{“id”:“UPPERCASE_SENTENCE_START”,“description”:“Checks that a sentence starts with an uppercase letter”,“issueType”:“typographical”,“category”:{“id”:“CASING”,“name”:“Capitalization”}}}]}
if i select a french text then i click on the LT icon
then
i get this
languagetool-3.5.zip file to setup LT server
50.1.0 FF
LT addon 1.09
no remote access to LT server only local : http://localhost:8081
server is installed in the pc
only users of the pc accces to the server
what is different between opensuse 13.1 and 42.2 ?
java 1.8.101 for 13.1
java 1.8.111 for 42.2
Hello, I have the same problem here (from France).
I’ve debugged with Firefox 54.0 (64 bits) dev. tools and it appears to be a security error :
Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur http://localhost:8081/v2/check. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
It’s because, even the addresses 127.0.0.1, are the same in the request and the response, the ports are not and the CORS is missing.
I presume only an update in the server code may help but if anybody may help me to change my configuration, you are welcome.
Please start the server with the --help option, it will show the available options, especially --allow-origin which can be used to enable the CORS header.