dashy
dashy copied to clipboard
[BUG] <Keycloak causing init loop>
Environment
Self-Hosted (Docker)
System
Ubuntu 20.04 LTS
Version
2.1.1
Describe the problem
I had dashy working fine with docker-compose and then I decided to add keycloak authentication.
I served up keycloak. Created a realm and a user and a client. I added the following keycloak info to my dashy-config.yml
auth:
enableGuestAccess: false
users: []
enableKeycloak: true
keycloak:
serverUrl: 'http://localhost:8085'
realm: 'dashy-realm'
clientId: 'dashy'
I re-created the container via portainer
If you access the dashboard URL, after it attempts to init this error is shown and followed by "Loading" and this loop continues forever.
It looks like something's gone wrong...
This is likely caused by the app source not being found at the current domain
If you need additional support, check the browser console then raise a ticket
Additional info
The log output as seen via portainer:
$ vue-cli-service build --watch --mode production
$ node server
Checking config file against schema...
✔️ Config file is valid, no issues found
SSL Not Enabled: Public key not present
██████╗ █████╗ ███████╗██╗ ██╗██╗ ██╗
██╔══██╗██╔══██╗██╔════╝██║ ██║╚██╗ ██╔╝
██║ ██║███████║███████╗███████║ ╚████╔╝
██║ ██║██╔══██║╚════██║██╔══██║ ╚██╔╝
██████╔╝██║ ██║███████║██║ ██║ ██║
╚═════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═╝
*******************************************************************************************
Welcome to Dashy! 🚀
Your new dashboard is now up and running with Docker
*******************************************************************************************
Using Dashy V-2.1.1. Update Check Complete
✅ Dashy is Up-to-Date
- Building for production...
WARN A new version of sass-loader is available. Please upgrade for best experience.
DONE Compiled successfully in 19004ms2:39:25 AM
File Size Gzipped
dist/js/chunk-vendors.js 7934.10 KiB 2403.54 KiB
dist/js/dashy.js 2703.64 KiB 290.25 KiB
dist/js/3.js 188.82 KiB 11.69 KiB
dist/js/4.js 119.20 KiB 9.61 KiB
dist/js/0.js 96.79 KiB 22.71 KiB
dist/js/7.js 79.35 KiB 9.27 KiB
dist/js/50.js 48.99 KiB 7.46 KiB
dist/js/44.js 48.58 KiB 7.61 KiB
dist/js/9.js 47.64 KiB 6.11 KiB
dist/js/45.js 47.01 KiB 6.75 KiB
dist/js/18.js 46.94 KiB 7.18 KiB
dist/js/46.js 46.82 KiB 6.84 KiB
dist/js/55.js 45.68 KiB 7.48 KiB
dist/js/53.js 44.90 KiB 6.94 KiB
dist/js/26.js 44.83 KiB 6.74 KiB
dist/js/10.js 44.37 KiB 7.07 KiB
dist/js/25.js 44.03 KiB 6.86 KiB
dist/js/29.js 43.93 KiB 6.54 KiB
dist/js/17.js 42.82 KiB 6.31 KiB
dist/js/28.js 42.09 KiB 6.34 KiB
dist/js/51.js 41.83 KiB 6.56 KiB
dist/js/12.js 41.38 KiB 6.34 KiB
dist/js/52.js 41.30 KiB 6.39 KiB
dist/js/16.js 40.92 KiB 6.25 KiB
dist/js/74.js 40.78 KiB 6.05 KiB
dist/js/11.js 40.75 KiB 6.26 KiB
dist/js/54.js 40.61 KiB 6.56 KiB
dist/js/31.js 40.21 KiB 5.98 KiB
dist/js/14.js 40.19 KiB 6.11 KiB
dist/js/24.js 40.07 KiB 6.28 KiB
dist/js/19.js 39.39 KiB 6.20 KiB
dist/js/48.js 38.91 KiB 5.71 KiB
dist/js/21.js 38.58 KiB 5.61 KiB
dist/js/20.js 37.99 KiB 5.77 KiB
dist/js/13.js 37.60 KiB 5.65 KiB
dist/js/8.js 37.55 KiB 5.91 KiB
dist/js/65.js 37.52 KiB 5.31 KiB
dist/js/22.js 37.19 KiB 5.63 KiB
dist/js/15.js 37.07 KiB 5.44 KiB
dist/js/30.js 36.78 KiB 5.41 KiB
dist/js/2.js 36.74 KiB 5.57 KiB
dist/js/47.js 36.00 KiB 5.44 KiB
dist/js/43.js 35.60 KiB 5.35 KiB
dist/js/59.js 35.57 KiB 4.58 KiB
dist/js/42.js 35.27 KiB 5.16 KiB
dist/js/5.js 34.93 KiB 5.37 KiB
dist/js/49.js 34.83 KiB 5.29 KiB
dist/js/41.js 34.78 KiB 5.15 KiB
dist/js/23.js 34.45 KiB 5.34 KiB
dist/js/61.js 34.38 KiB 4.67 KiB
dist/js/66.js 33.38 KiB 4.65 KiB
dist/js/58.js 33.32 KiB 4.67 KiB
dist/js/37.js 33.11 KiB 4.23 KiB
dist/js/56.js 32.99 KiB 4.90 KiB
dist/js/39.js 32.68 KiB 4.74 KiB
dist/js/69.js 31.90 KiB 4.26 KiB
dist/js/27.js 31.75 KiB 4.78 KiB
dist/js/35.js 30.67 KiB 3.84 KiB
dist/js/60.js 30.49 KiB 4.41 KiB
dist/js/33.js 30.48 KiB 3.86 KiB
dist/js/68.js 30.43 KiB 4.39 KiB
dist/js/36.js 30.21 KiB 3.80 KiB
dist/js/40.js 30.02 KiB 4.34 KiB
dist/js/32.js 30.00 KiB 3.80 KiB
dist/js/34.js 29.75 KiB 3.75 KiB
dist/js/6.js 29.64 KiB 4.32 KiB
dist/js/72.js 29.26 KiB 4.23 KiB
dist/js/67.js 28.73 KiB 3.97 KiB
dist/js/70.js 28.59 KiB 3.97 KiB
dist/js/38.js 28.02 KiB 3.56 KiB
dist/js/57.js 27.98 KiB 3.79 KiB
dist/js/64.js 27.93 KiB 3.76 KiB
dist/js/62.js 26.67 KiB 3.56 KiB
dist/js/71.js 26.28 KiB 3.47 KiB
dist/js/63.js 26.05 KiB 3.42 KiB
dist/js/73.js 22.19 KiB 2.43 KiB
dist/js/1.js 18.91 KiB 3.88 KiB
dist/js/75.js 15.11 KiB 2.51 KiB
dist/loading-screen.css 1.93 KiB 0.65 KiB
Images and other types of assets omitted.
DONE Build complete. Watching for changes...
Please tick the boxes
- [X] You have explained the issue clearly, and included all relevant info
- [X] You are using a supported version of Dashy
- [X] You've checked that this issue hasn't already been raised
- [X] You've checked the docs and troubleshooting guide
- [X] You agree to the code of conduct
If you're enjoying Dashy, consider dropping us a ⭐
🤖 I'm a bot, and this message was automated
This issue has gone 6 weeks without an update. To keep the ticket open, please indicate that it is still relevant in a comment below. Otherwise it will be closed in 5 working days.
This issue was automatically closed because it has been stalled for over 6 weeks with no activity.
This issue is covered in the docs, Troubleshooting → Keycloak Redirect Err