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

Cannot access jenkins (http 500), missing port in nginx config #495

Open
vidlb opened this issue Oct 25, 2023 · 2 comments
Open

Cannot access jenkins (http 500), missing port in nginx config #495

vidlb opened this issue Oct 25, 2023 · 2 comments

Comments

@vidlb
Copy link

vidlb commented Oct 25, 2023

When trying to access /jenkins, the request fails with the following nginx error in the logs :

2023/10/25 14:28:45 [error] 19#19: *3284 invalid port in upstream "jenkins:"
[25/Oct/2023:14:28:45 +0000] "GET /jenkins HTTP/1.1" 500 177 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/119.0"

I think I found the problem in the compose file, I'll open a PR after testing the fix.

Deployed with branch v4.1.x and docker-compose

@vidlb
Copy link
Author

vidlb commented Oct 25, 2023

I can now access the interface using the fix provided in #496 , but the initialization of jenkins doesn't work, every plugin failed to install with the following error

java.io.IOException: Failed to dynamically deploy this plugin

Mostly due to version mismatch :
You must update Jenkins from version 2.164 to version (...) or later to run this plugin.

The version in the current yml (2.164) seems too old. I'll try with version 2.414.
Edit: this latest version isn't working / container cannot init because a config opt httpsKeyStore is required when using https.
But it is working if httpsPort wasn't passed

@vidlb
Copy link
Author

vidlb commented Oct 26, 2023

Duplicate of GeoNode/geonode#9497

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

No branches or pull requests

1 participant