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

Use Node.js 18+ for Timgen #798

Open
jirik opened this issue Feb 24, 2023 · 3 comments
Open

Use Node.js 18+ for Timgen #798

jirik opened this issue Feb 24, 2023 · 3 comments
Labels
enhancement New feature or request
Milestone

Comments

@jirik
Copy link
Member

jirik commented Feb 24, 2023

There is PR #756 (currently branch https://github.com/LayerManager/layman/tree/preserve--map-timgen-fails2) that tries to use Node.js v18 for Timgen. It works on desktop, but not on GitHub Actions. Not sure why.


Some maps contain WMS layer that is running on domain without TLS1.3 support (e.g. https://geoportal.kraj-lbc.cz/ ). Node.js since v17 uses OpenSSL 3 that does not communicate with https://geoportal.kraj-lbc.cz/ well by default. See

Solution is to enable SSL_OP_LEGACY_SERVER_CONNECT that is disabled by default. It works on local desktop, but not on GitHub Actions


How to enable it for curl: https://bugs.launchpad.net/ubuntu/+source/openconnect/+bug/1968467

@jirik jirik added the enhancement New feature or request label Feb 24, 2023
@jirik
Copy link
Member Author

jirik commented Feb 24, 2023

Successor of #755

@jirik
Copy link
Member Author

jirik commented Feb 27, 2023

Tried in #756

@jirik
Copy link
Member Author

jirik commented Dec 6, 2023

It can be probably fixed by enabling not-so-secure SSL communication (UnsafeLegacyRenegotiation), see #966.

We can e.g. add /code/unsafe_openssl.cnf file to Timgen container and activate it by NODE_OPTIONS in test environment and optionally in other environments.

@jirik jirik added this to the Release v2.0 milestone Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant