Going to left column bar and clicking on Download as PDF, the on the Download blue button, Firefox browser tells me that connection was closed during the transfer.
I can reproduce it with wget. This is the same for every page I tried on frwiki. It doesn't seems to affect enwiki, eswiki nor ruwiki.
May it be related to Vector changes ("Desktop improvements") deployed month ago specificly on frwiki?
$ LANG=en_US wget https://fr.wikipedia.org/api/rest_v1/page/pdf/Test --2020-10-24 00:10:51-- https://fr.wikipedia.org/api/rest_v1/page/pdf/Test Resolving fr.wikipedia.org (fr.wikipedia.org)... 2620:0:862:ed1a::1, 91.198.174.192 Connecting to fr.wikipedia.org (fr.wikipedia.org)|2620:0:862:ed1a::1|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 1228803 (1.2M) [application/pdf] Saving to: 'Test.5' Test.5 48%[======================================================> ] 581.95K 1.34MB/s in 0.4s 2020-10-24 00:10:52 (1.34 MB/s) - Connection closed at byte 595912. Retrying. --2020-10-24 00:10:53-- (try: 2) https://fr.wikipedia.org/api/rest_v1/page/pdf/Test Connecting to fr.wikipedia.org (fr.wikipedia.org)|2620:0:862:ed1a::1|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 1228803 (1.2M) [application/pdf] Saving to: 'Test.5' Test.5 75%[=====================================================================================> ] 902.21K 1.33MB/s in 0.7s 2020-10-24 00:10:53 (1.33 MB/s) - Connection closed at byte 923864. Retrying. --2020-10-24 00:10:55-- (try: 3) https://fr.wikipedia.org/api/rest_v1/page/pdf/Test Connecting to fr.wikipedia.org (fr.wikipedia.org)|2620:0:862:ed1a::1|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 1228803 (1.2M) [application/pdf] Saving to: 'Test.5' Test.5 48%[======================================================> ] 582.21K 1.36MB/s in 0.4s 2020-10-24 00:10:56 (1.36 MB/s) - Connection closed at byte 923864. Retrying. ...
Can reproduce with hewiki, other wiki where "Desktop improvements" were enabled:
framawiki@quarry-web-01:/tmp$ LANG=en_US wget https://he.wikipedia.org/api/rest_v1/page/pdf/Paris --2020-10-23 22:19:58-- https://he.wikipedia.org/api/rest_v1/page/pdf/Paris Resolving he.wikipedia.org (he.wikipedia.org)... 208.80.154.224, 2620:0:861:ed1a::1 Connecting to he.wikipedia.org (he.wikipedia.org)|208.80.154.224|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 2851110 (2.7M) [application/pdf] Saving to: 'Paris' Paris 28%[===============================> ] 789.17K --.-KB/s in 0.1s 2020-10-23 22:20:01 (5.56 MB/s) - Read error at byte 808105/2851110 (A TLS packet with unexpected length was received.). Retrying. --2020-10-23 22:20:02-- (try: 2) https://he.wikipedia.org/api/rest_v1/page/pdf/Paris Connecting to he.wikipedia.org (he.wikipedia.org)|208.80.154.224|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 2851110 (2.7M) [application/pdf] Saving to: 'Paris' Paris 27%[==============================> ] 758.45K --.-KB/s in 0.03s 2020-10-23 22:20:02 (27.8 MB/s) - Connection closed at byte 808105. Retrying. --2020-10-23 22:20:04-- (try: 3) https://he.wikipedia.org/api/rest_v1/page/pdf/Paris Connecting to he.wikipedia.org (he.wikipedia.org)|208.80.154.224|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 2851110 (2.7M) [application/pdf] Saving to: 'Paris' Paris 32%[====================================> ] 911.67K --.-KB/s in 0.04s 2020-10-23 22:20:04 (22.1 MB/s) - Connection closed at byte 933550. Retrying. --2020-10-23 22:20:07-- (try: 4) https://he.wikipedia.org/api/rest_v1/page/pdf/Paris Connecting to he.wikipedia.org (he.wikipedia.org)|208.80.154.224|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 2851110 (2.7M) [application/pdf] Saving to: 'Paris' Paris 31%[==================================> ] 866.85K --.-KB/s in 0.03s 2020-10-23 22:20:08 (30.6 MB/s) - Connection closed at byte 933550. Retrying. ...
Note different error message: Read error at byte 808105/2851110 (A TLS packet with unexpected length was received.). Retrying.