Bug 143634 - Frequent "Error reading data from the Internet. Server error message: 403 Forbidden." checking for extension updates (language tool fault?)
Summary: Frequent "Error reading data from the Internet. Server error message: 403 For...
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Extensions (show other bugs)
Version:
(earliest affected)
7.1.5.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 143401 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-07-31 08:29 UTC by Callegar
Modified: 2021-11-19 15:03 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot illustrating the problem (54.04 KB, image/png)
2021-08-13 05:31 UTC, Callegar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Callegar 2021-07-31 08:29:54 UTC
Description:
Trying to check for extension updates, I am recently seeing this error message very frequently.  I believe it does not depend on the LibO code, but on the infrastructure on your servers.

Steps to Reproduce:
1. Start LibO
2. Open extension manager
3. Check for updates

Actual Results:
Frequently getting the error in summary

Expected Results:
There should not be such error


Reproducible: Always


User Profile Reset: No



Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: DrawingDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes
Comment 1 Callegar 2021-07-31 08:43:04 UTC
Waiting long enough on LibO 7.1.5.2 you can get a list of extensions by ticking "Show all updates". At this point, selecting the Languagetool extension provides the following:

An error occurred:
403 Forbidden /home/buildslave/source/libo-core/ucb/source/ucp/webdav-neon/webdavcontent.cxx:3542

In the list I get also another extension (texmaths). There is an error message for this too:

An error occurred:
Extra content at the end of the document
Line: 21
Column: 1

But this is something that has been happening since the very first release of LibO and maybe even at OO times, that I think I reported already a long time ago.
Comment 2 Dmitrii A 2021-08-03 02:34:26 UTC
no repro in

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: ac80ec817eb07c77a51bc0729985a473c734182e
CPU threads: 16; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL
Comment 3 Callegar 2021-08-13 05:28:47 UTC
*** Bug 143401 has been marked as a duplicate of this bug. ***
Comment 4 Callegar 2021-08-13 05:31:01 UTC
Created attachment 174244 [details]
Screenshot illustrating the problem

Still seeing this with LibO 7.1 and 7.2 RC 3
Comment 5 Callegar 2021-08-17 09:04:00 UTC Comment hidden (obsolete)
Comment 6 Callegar 2021-08-17 09:11:54 UTC
The issue seems to be triggered when you have the languagetool extension installed.

You can see this /after the extension update check is finished/ by checking the show all updates tickbox and then on the Languagetool entry, so getting the actual error:

An error occurred:
403 Forbidden /home/buildslave/source/libo-core/ucb/source/ucp/webdav-neon/webdavcontent.cxx:3542

Uninistalling the languagetool extension and retrying confirmst that languagetool is the problem.

A couple of notes:

- This was difficult to determine on LibO 7.2 because of bug 142935. Because spinners don't spin, you don't know when the extension update check is completed.

- This issue is weird. How does the extension update check work? Are the extensions with their versions all registered at some Document Fundation database that is checked? Or do every single extension have its own procedure for checking for updates (interrogating its own server)? In the first case, it should be impossible for the issue to be caused by a single extension. In the second case, if something goes wrong, the faulty extension should be indicated immediately from the error dialog.
Comment 7 Gabor Kelemen (allotropia) 2021-11-19 15:03:45 UTC
This is likely a problem with LanguageTool itself. Extensions define the update location, if that moves/breaks on the server side, you are pretty much helpless.

https://extensions.libreoffice.org/en/extensions/show/languagetool shows user complaints about a similar issue in v5.1.3 but since then there are new releases. I tried to install 5.3 which then updated itself to 5.5.1 flawlessly. 
On the other hand V5.1.3 did not find any updates.

Please try to update it manually from above link.