Resolution when custom variable go missing while trying to add custom variables.
After reviewing portal logs, it is observed that queries to port 2999 fail.
- Validate on OS that port 29999 is open by viewing netstat or iptables -L
- If port 29999 is open, validate if IPv6 is disabled. If it is disabled, do the following,
- Login to the looker machine
- Run: sudo docker exec -it looker-container bash (this allows us to execute bash commands in the looker-container)
- Run: vi nginx.conf (vi editor so we can edit nginx.conf)
- Type the following: :36 Hit enter. (This will take you to line 36.)
- Type: i # - this comments out the ipv6 line in the nginx config
- Hit the escape key and then type: :wq! - this writes and quits the vi editor
- Type: exit
- Run: sudo docker restart looker-container (this restarts the looker container)
- Run: sudo docker exec -it looker-container curl -vk https://127.0.0.1:2999 (this is to validate that communications over port 29999 are working).