The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
RapidMiner AI Hub Error: RMSSOAuthenticationError
rfuentealba
RapidMiner Certified Analyst, Member, University Professor Posts: 568 Unicorn
in Help
Hello all,
Long time no see! I was testing the latest version of RapidMiner AI Hub on Docker, when I found this error message:
All I did was following the instructions:
This is a Microsoft Windows 11 with WSL2 enabled, 64 Gb RAM, i9 processor, so the issue is a little over the top of my head. I'm going to try the same on a Mac in case it's a thing with Windows, but I'm not sure about that.
Anyone can help me? Thanks in advance.
Long time no see! I was testing the latest version of RapidMiner AI Hub on Docker, when I found this error message:
All I did was following the instructions:
- Changed the port to 8080.
- Changed the proxy port to 8080 on the docker compose file.
- Changed the port to 8080:80 on the docker compose file too.
- Added my server license.
- Added my go license.
This is a Microsoft Windows 11 with WSL2 enabled, 64 Gb RAM, i9 processor, so the issue is a little over the top of my head. I'm going to try the same on a Mac in case it's a thing with Windows, but I'm not sure about that.
Anyone can help me? Thanks in advance.
0
Best Answer
-
rfuentealba RapidMiner Certified Analyst, Member, University Professor Posts: 568 UnicornHello Everyone,
Good news! I was able to make it run on Windows!
What I did is pretty much what the documentation says:
On the docker-compose.yml file,- Went to the rm-proxy-svc service definition, and switched the port from 8080 to 2080.
- Configured the PROXY_HTTP_PORT section on the rm-server-svc service definition to 2080, not to 8080. Why? I don't know, but when I set the port to 8080, it crashed everything and I don't know why.
- Modified the PUBLIC_DOMAIN to my IP address. It allows hostnames too, as long as Docker can reach these.
- Modified the PUBLIC_URL and SSO_PUBLIC_URL to http://my.ip.address:2080/. This one was suggested by @MarcoBarradas
- Modified the COMPOSE_PROFILES to proxy,landing-page,jupyter,grafana,rts,platform-admin,server,job-agent,ces,token-tool. I left go, tabgo and radoop out. This one was suggested by @MarcoBarradas too.
- Copied the content of the echo $RANDOM | md5sum | head -c 20; echo | base64; command I executed on WSL Ubuntu to the AUTH_SECRET variable.
- Marco also suggested to complete all the SECRETs, but I didn't find this necessary, as the Docker compose does that for you.
To run it, exactly as @BalazsBarany said:- docker-compose up -d rm-init-svc
- docker-compose logs -f rm-init-svc
- docker-compose up -d
Another thing I forgot:
If you are running this on Windows 10/11, create a file named .wslconfig and put this:[wsl2]memory=32GBprocessors=4localhostforwarding=false
You will need quite a lot of memory to run this, and Docker Desktop comes handicapped on Windows 10/11, so you'll have to rely on the WSL kernel to run it. This is the way to assign more memory. Beware that if you don't have 32 Gb of RAM to spare, your computer will use the swapfile heavily.
All the best,
Rod.0
Answers
I did the same process on a macOS machine, and it shows the exact same error. Retried following everything carefully and no, it's not Docker. I added more memory (32 Gb) to the Docker Desktop on both my PC and my Mac and nope. Still getting the RMSSO error.
I usually see this when the Docker deployment is not done yet. Starting up everything takes a few minutes even on a powerful server. But it works after a few minutes.
This should be better documented and the proxy component should probably have better error reporting.
Regards,
Balázs
I can confirm this is not the case. I have reviewed the documentation entirely, even saw a video where you make the RapidMiner AI Hub container and I do the exact same things, to no avail.
I'm still searching just in case something else comes to light, still without luck.
Thank you!
Please check that you have set all the SECRETS on the .env file and that you have changed the port in the two places it should be done on the .yml file.
Apparently, my issue isn't any of that. I've spoken with Anthony, and he told me Windows isn't supported to run RapidMiner AI Hub on Windows. There have been people able to run it, but after a slight change everything went down the drain again. I'll keep figuring out if I can fix this though.
All the best,
Rod.