https://bugs.documentfoundation.org/show_bug.cgi?id=158352
--- Comment #3 from jirib79 <[email protected]> --- ### Additional diagnostic information: LanguageTool API connections bypass configured proxy I investigated the network connections made by LibreOffice while reproducing the LanguageTool connectivity error, using `strace`. I configured an HTTP/HTTPS proxy in LibreOffice's preferences: ```shell $ ag -C 1 8080 /tmp/lo-clean-profile /tmp/lo-clean-profile/user/registrymodifications.xcu 3-<item oor:path="/org.openoffice.Inet/Settings"><prop oor:name="ooInetHTTPProxyName" oor:op="fuse"><value>127.0.0.1</value></prop></item> 4:<item oor:path="/org.openoffice.Inet/Settings"><prop oor:name="ooInetHTTPProxyPort" oor:op="fuse"><value>8080</value></prop></item> 5-<item oor:path="/org.openoffice.Inet/Settings"><prop oor:name="ooInetHTTPSProxyName" oor:op="fuse"><value>127.0.0.1</value></prop></item> 6:<item oor:path="/org.openoffice.Inet/Settings"><prop oor:name="ooInetHTTPSProxyPort" oor:op="fuse"><value>8080</value></prop></item> 7-<item oor:path="/org.openoffice.Inet/Settings"><prop oor:name="ooInetProxyType" oor:op="fuse"><value>2</value></prop></item> ``` The settings are present in the fresh user profile's `registrymodifications.xcu`. I then traced network connections while triggering LanguageTool: ```bash strace -f -e trace=connect -s 256 \ -o /tmp/lo-connect.log \ libreoffice -env:UserInstallation=file:///tmp/lo-clean-profile --writer ``` Relevant output (repeated attempts omitted): ```text # nothing about my http proxy port $ grep -c 8080 /tmp/lo-connect.log 0 $ dig +noall +answer api.languagetool.org. A api.languagetool.org. 3 IN A 91.99.116.133 $ grep 91.99.116.133 /tmp/lo-connect.log 1337701 connect(43, {sa_family=AF_INET, sin_port=htons(443), sin_addr=inet_addr("91.99.116.133")}, 16) = 0 1337700 connect(43, {sa_family=AF_INET, sin_port=htons(443), sin_addr=inet_addr("91.99.116.133")}, 16) = -1 EINPROGRESS (Operation now in progress) 1337702 connect(43, {sa_family=AF_INET, sin_port=htons(443), sin_addr=inet_addr("91.99.116.133")}, 16) = 0 1337700 connect(43, {sa_family=AF_INET, sin_port=htons(443), sin_addr=inet_addr("91.99.116.133")}, 16) = -1 EINPROGRESS (Operation now in progress) 1337703 connect(43, {sa_family=AF_INET, sin_port=htons(443), sin_addr=inet_addr("91.99.116.133")}, 16) = 0 1337700 connect(43, {sa_family=AF_INET, sin_port=htons(443), sin_addr=inet_addr("91.99.116.133")}, 16) = -1 EINPROGRESS (Operation now in progress) ``` There are no connections to the configured proxy at `127.0.0.1:8080`. Instead, LibreOffice connects directly to the resolved API server address (`91.99.116.133:443`). **Conclusion:** The built-in LanguageTool integration appears to bypass the HTTP/HTTPS proxy configured in LibreOffice's preferences and establish direct connections to `api.languagetool.org`. This makes the integration unusable in network environments where outbound HTTPS access is only permitted through an explicitly configured proxy. -- You are receiving this mail because: You are the assignee for the bug.
