Bug 156662 - Always using direct connection to api.languagetool.org (bypasses proxy setting)
Summary: Always using direct connection to api.languagetool.org (bypasses proxy setting)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.5.6.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Network LanguageTool
  Show dependency treegraph
 
Reported: 2023-08-08 02:45 UTC by Norimasa Yamamoto
Modified: 2024-09-16 10:42 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
connect without proxy on startup (3.67 KB, application/vnd.ms-excel)
2023-10-18 02:15 UTC, Norimasa Yamamoto
Details
contains a line to reproduce (8.30 KB, application/vnd.oasis.opendocument.spreadsheet)
2023-11-10 06:21 UTC, Norimasa Yamamoto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Norimasa Yamamoto 2023-08-08 02:45:50 UTC
api.languagetool.org is always using direct connection even if Proxy was set and not use LanguageTools.

Option | Language Setting | LanguageTools Server | [ ] Enable LanguageTools
Option | Internet | Proxy | Proxy Server [Manual]
  (Once changed to [None] or [Manual], you can not set to [System] at ver.7.5.5.2)

If api.languagetool.org to 127.0.0.1 by HOSTS file, it takes few seconds to open Calc Workbook with contains one Line shape.

If BaseURL to invalid (https://api.languagetool.org/v2 to https://DISABLED-api.languagetool.org/v2), opens fine.
Comment 1 Norimasa Yamamoto 2023-09-10 06:53:58 UTC Comment hidden (obsolete)
Comment 2 Norimasa Yamamoto 2023-10-18 02:15:01 UTC
Created attachment 190274 [details]
connect without proxy on startup

Not fixed at 7.5.7.1 release.

I captured Network activity for cleanly open ods file which contains Line shape by Sysinternals ProcMon.
It tells me that soffice.bin connect/retry to api.languagetool.org:https without proxy.
Comment 3 Norimasa Yamamoto 2023-11-10 06:21:15 UTC
Created attachment 190777 [details]
contains a line to reproduce

Not fixed at 7.5.8 release.

I made and attached an ods file which contains only a line.
Comment 4 Stéphane Guillou (stragu) 2023-11-23 21:34:26 UTC Comment hidden (obsolete)
Comment 5 Mike Kaganski 2023-11-24 05:54:01 UTC
(In reply to Stéphane Guillou (stragu) from comment #4)
> Sounds similar to bug 158093.

... and both not repro with master. I even provided a link to the commit that changed how the service obtains the language list, which is what could be the problem.
Comment 6 Mike Kaganski 2023-11-24 07:58:04 UTC
(In reply to Stéphane Guillou (stragu) from comment #4)
> Sounds similar to bug 158093.

But not using proxy is different, and a real bug.
Comment 7 Stéphane Guillou (stragu) 2023-11-24 08:50:10 UTC
Thanks Mike!
(In reply to Mike Kaganski from comment #5)
> I even provided a link to the commit
> that changed how the service obtains the language list, which is what could
> be the problem.
I overlooked that. You were right, the hang is resolved and I commented in bug 158093.
Comment 8 Norimasa Yamamoto 2023-12-11 01:47:45 UTC
Not fixed at 7.5.9.1 release.

I'm waiting to fix bug 158352 related.
Comment 9 oss 2024-09-16 10:42:35 UTC
IMHO the Writer component is affected here as well.