Skip to content
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

Fix PhantomJS ssl error #1270

Merged
merged 1 commit into from
Mar 28, 2020
Merged

Fix PhantomJS ssl error #1270

merged 1 commit into from
Mar 28, 2020

Conversation

fluix-dev
Copy link
Contributor

PhantomJS has had an error for the past while (direct issue here, but mentioned in 2018 here) where certain system configurations (Debian) would cause the following error on pdf generation:

Auto configuration failed
140098268257920:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:185:filename(libssl_conf.so): libssl_conf.so: cannot open shared object file: No such file or directory
140098268257920:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:244:
140098268257920:error:0E07506E:configuration file routines:MODULE_LOAD_DSO:error loading dso:conf_mod.c:285:module=ssl_conf, path=ssl_conf
140098268257920:error:0E076071:configuration file routines:MODULE_RUN:unknown module name:conf_mod.c:222:module=ssl_conf

The solution to this is to assign an environment variable OPENSSL_CONF to /etc/ssl/. Some systems are unaffected by the issue and won't be affected by this fix.

@Xyene
Copy link
Member

Xyene commented Mar 28, 2020

Sure, I'll merge this, though note that PhantomJS is dead and you should probably be using the Slimer backend instead :)

@Xyene Xyene merged commit 69aaa00 into DMOJ:master Mar 28, 2020
@quantum5
Copy link
Member

Note that SlimerJS is dead and you should probably use the puppeteer backend.

@Xyene
Copy link
Member

Xyene commented Mar 28, 2020

Yes, that.

@fluix-dev fluix-dev deleted the phantomjs-fix branch March 28, 2020 02:33
outloudvi pushed a commit to SchOJ/site that referenced this pull request Oct 27, 2020
malbareda pushed a commit to malbareda/JOEL-web that referenced this pull request Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants