rundeck / rundeck

Enable Self-Service Operations: Give specific users access to your existing tools, services, and scripts
http://rundeck.org
Apache License 2.0
5.51k stars 915 forks source link

Entering rundeck in https does not show the nodes available. While in http it works #6270

Closed mezamoe closed 4 years ago

mezamoe commented 4 years ago

Describe the bug When entering rundeck using https protocol and clicking on Nodes (on the menu on the left) no nodes are shown

My Rundeck detail

To Reproduce Steps to reproduce the behavior:

  1. Login to rundeck using https
  2. Click on 'Nodes'

Expected behavior Access rundeck using http and by clicking on Nodes you will see the list of nodes

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here. this is with https image

and this with http image

MegaDrive68k commented 4 years ago

Hi @mezamoe

If you are using some proxy/exit in front of Rundeck make sure that the RUNDECK_GRAILS_URL parameter is pointing to proxy/webserver Rundeck exit. Also, you can test this (official) Docker project to test: https://github.com/rundeck/rundeck/issues/6242#issuecomment-656257705 (i used the same but using Rundeck 3.2.8 for testing):

Screenshot_1

You can check more about Rundeck official Docker image here: https://hub.docker.com/r/rundeck/rundeck

Regards!

mezamoe commented 4 years ago

yes, I do have a proxy.. I'll do that and let you know

mezamoe commented 4 years ago

the proxy is a httpd container on same server, so not the problem. I used the script published in that https://github.com/rundeck/rundeck/issues/6242 and that fixed it. Many thanks

imydou commented 4 years ago

yes, I do have a proxy.. I'll do that and let you know

https://github.com/rundeck/docker-zoo/tree/master/cloud

RUNDECK_SERVER_FORWARDED=true