-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"GOAWAY received." #144
Comments
@Emilius123 Thank you for testing the experimental release and reporting this issue! |
Even with 21.10-experimental-2, every single upload gets rejected. The error is always "GOAWAY received". |
I'm getting the same error with "21.10-experimental-2". @Aktron: How do upload without this error? Do you use another OS or does your account have highLimit?
|
Interesting. See the output for upload of first image from a row (I've uploaded cca 200 files today), that I hope will give you more answers: aktron@aktron-ntb:~/Stažené$ java --module-path "/usr/share/openjfx/lib/" --add-modules javafx.web -jar pp22.jar |
There seems to be a difference between Linux and Windows 10/11. The error occurs with Win10. |
The error reads: /IP address:some number:GOAWAY received. |
After installing Ubuntu on VirtualBox, along with Java and OpenJFX, I finally managed to load some files into Commons. There really is some difference between systems that make Pattypan on Linux send normally while Pattypan on Windows is rejected by the server. Weird...
Since the IP that appeared to me was the IP of my router, I assume that the number next refers to the port of the NAT server. |
@albertoleoncio thank you for your extensive testing, that's very helpful to me as I was unable to reproduce the issue myself! |
Hi. Is there any progress in this issue? Thanks. |
Have you tried downgrading the HTTP connection to HTTP 1.1? HttpClient hc = HttpClient.newBuilder()
.connectTimeout(Duration.ofSeconds(30))
.version(HttpClient.Version.HTTP_1_1);
wiki.setHttpClient(hc); I don't have a means to test the upload code on Windows so I don't know if this works. GOAWAY is a HTTP 2 only thing. |
I tried with an installation of https://github.com/Kartkod/pattypan/releases/tag/v20.10-experimental-2 on Ubuntu 20.04 LTS with VirtualBox, but Pattypan still gets stuck during the upload. Also, in my test spreadsheet with two files, I only get a correct preview for one image, for the other I can see only file name and path. openjdk 17.0.1 2021-10-19 |
Just found MER-C/wiki-java#186. HTTP 1.1 downgrade doesn't work. |
... and fixed. Uploading should now work on my end. |
It has now been confirmed by multiple users that v20.10-experimental-3 fixes this issue. |
While uploading, (with @Kartkod 's 21.10-experimental), every single upload gets rejected. The error is always "GOAWAY received".
My log looks as following:
Okt. 17, 2021 12:32:51 PM pattypan.Main main INFO: Wiki set as: commons.wikimedia.org Protocol set as: https:// Script path set as: /w Okt. 17, 2021 12:32:51 PM pattypan.Main main INFO: Operating System: Windows 10 Pattypan Version: 21.10 Okt. 17, 2021 12:33:04 PM Wiki getToken INFO: Fetching URL https://commons.wikimedia.org/w/api.php?&maxlag=5&meta=tokens&format=xml&action=query&type=login Okt. 17, 2021 12:33:04 PM Wiki login INFO: Fetching URL https://commons.wikimedia.org/w/api.php?&maxlag=5&format=xml&action=login Okt. 17, 2021 12:33:05 PM Wiki getUserInfo INFO: Fetching URL https://commons.wikimedia.org/w/api.php?&usprop=editcount%7Cgroups%7Crights%7Cemailable%7Cblockinfo%7Cgender%7Cregistration&maxlag=5&format=xml&action=query&list=users Okt. 17, 2021 12:33:06 PM Wiki getSiteInfo INFO: Fetching URL https://commons.wikimedia.org/w/api.php?&siprop=namespaces%7Cnamespacealiases%7Cgeneral%7Cextensions&maxlag=5&meta=siteinfo&format=xml&action=query Okt. 17, 2021 12:33:06 PM Wiki getSiteInfo INFO: [commons.wikimedia.org] Successfully retrieved site info for commons.wikimedia.org Okt. 17, 2021 12:33:06 PM Wiki getUsers INFO: [commons.wikimedia.org] Successfully retrieved user info for 1 users. Okt. 17, 2021 12:33:06 PM Wiki login INFO: [commons.wikimedia.org] Successfully logged in as Emilius123, highLimit = false Okt. 17, 2021 12:33:08 PM Wiki getPageInfo INFO: Fetching URL https://commons.wikimedia.org/w/api.php?&maxlag=5&prop=info&inprop=protection%7Cdisplaytitle%7Cwatchers&format=xml&action=query Okt. 17, 2021 12:33:08 PM Wiki getPageInfo INFO: [commons.wikimedia.org] Successfully retrieved page info for 1 pages. Okt. 17, 2021 12:33:08 PM Wiki getPageInfo INFO: Fetching URL https://commons.wikimedia.org/w/api.php?&maxlag=5&prop=info&inprop=protection%7Cdisplaytitle%7Cwatchers&format=xml&action=query Okt. 17, 2021 12:33:08 PM Wiki getPageInfo INFO: [commons.wikimedia.org] Successfully retrieved page info for 1 pages. Okt. 17, 2021 12:33:08 PM Wiki getToken INFO: Fetching URL https://commons.wikimedia.org/w/api.php?&maxlag=5&meta=tokens&format=xml&action=query&type=csrf Okt. 17, 2021 12:33:08 PM Wiki upload INFO: Fetching URL https://commons.wikimedia.org/w/api.php?&maxlag=5&format=xml&action=upload Okt. 17, 2021 12:33:08 PM Wiki upload INFO: Fetching URL https://commons.wikimedia.org/w/api.php?&maxlag=5&format=xml&action=upload Okt. 17, 2021 12:33:09 PM Wiki getPageInfo INFO: Fetching URL https://commons.wikimedia.org/w/api.php?&maxlag=5&prop=info&inprop=protection%7Cdisplaytitle%7Cwatchers&format=xml&action=query Okt. 17, 2021 12:33:09 PM Wiki getPageInfo INFO: [commons.wikimedia.org] Successfully retrieved page info for 1 pages. Okt. 17, 2021 12:33:18 PM Wiki getPageInfo INFO: Fetching URL https://commons.wikimedia.org/w/api.php?&maxlag=5&prop=info&inprop=protection%7Cdisplaytitle%7Cwatchers&format=xml&action=query Okt. 17, 2021 12:33:18 PM Wiki getPageInfo INFO: [commons.wikimedia.org] Successfully retrieved page info for 1 pages. Okt. 17, 2021 12:33:18 PM Wiki getToken INFO: Fetching URL https://commons.wikimedia.org/w/api.php?&maxlag=5&meta=tokens&format=xml&action=query&type=csrf Okt. 17, 2021 12:33:18 PM Wiki upload INFO: Fetching URL https://commons.wikimedia.org/w/api.php?&maxlag=5&format=xml&action=upload Okt. 17, 2021 12:33:18 PM Wiki upload INFO: Fetching URL https://commons.wikimedia.org/w/api.php?&maxlag=5&format=xml&action=upload Okt. 17, 2021 12:33:19 PM Wiki getPageInfo INFO: Fetching URL https://commons.wikimedia.org/w/api.php?&maxlag=5&prop=info&inprop=protection%7Cdisplaytitle%7Cwatchers&format=xml&action=query Okt. 17, 2021 12:33:19 PM Wiki getPageInfo INFO: [commons.wikimedia.org] Successfully retrieved page info for 1 pages.
The text was updated successfully, but these errors were encountered: