FS#66456 - [processing] HTTPs connections broken

Attached to Project: Community Packages
Opened by Ian Mancini (ianmethyst) - Tuesday, 28 April 2020, 19:33 GMT
Last edited by Antonio Rojas (arojas) - Friday, 01 May 2020, 19:31 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
HTTPS connections fail. That includes trying to download a library from the library manager and trying to call a function that makes a connection to a website like loadImage() or loadBytes().

The compiled version downloaded from Processing's web page works as intended (https://processing.org/download/). Following the build instructions stated in its wiki (https://github.com/processing/processing/wiki/Build-Instructions) also produces a working build but only if Oracle's JRE (8u202 version) is used instead of Arch's jre8-openjdk 8.u242-1

Additional info:
* package version: processing 3.5.4-1

---

Steps to reproduce this bug:
1) Launch Processing
2) Go to Sketch -> Library -> Add Library
3) Try downloading a library hosted on an HTTPS web server like PixelFlow. The following error* (or similar) should be shown in the lower part of the library manager window:

https://github.com/diwi/PixelFlow/releases/download/latest/PixelFlow.zip to /tmp/download6825554614947633560PixelFlow.zip : Error during download and install of PixelFlow.

4) Try different libraries. The ones hosted under HTTP servers should work but any hosted under HTTPS will fail. URLs for the libs can be found under $HOME/.processing/contribs.txt

*: Keep in mind that servers that redirect from HTTP to HTTPS won't work either, but the UI shows the original URL and not the redirected one. That is the case with "OpenKinect for Processing".

---

Another way to reproduce this bug:
1) Unzip the provided file in this bug report
2) Execute "run.sh" in a shell
3) The provided Processing sketch will run (It just tries to load an image from a HTTPS source) and print the stack trace

---

This wasn't happening before with the Arch package, but I can't tell when this bug was introduced because it's been a while since the last time I used Processing.
This task depends upon

Closed by  Antonio Rojas (arojas)
Friday, 01 May 2020, 19:31 GMT
Reason for closing:  Won't fix
Additional comments about closing:  processing has been dropped to AUR due to lack of maintainer

Loading...