Reply
New Member
Posts: 16
Registered: ‎06-23-2018
Kudos: 1

Re: UniFi Cloud Access gets 'CONNECTION FAILED' after enabling local SSO login

That was also always my impression...so wait, this cloud access feature requires you to make your controller accessible from the internet by opening ports in your firewall?

What do I actually need this cloud portal then when I could just VPN into my network and connect directly to my controller.

Where’s the benefit? Maybe I’m just too dumb to figure this all out...
New Member
Posts: 8
Registered: ‎04-25-2018
Kudos: 2

Re: UniFi Cloud Access gets 'CONNECTION FAILED' after enabling local SSO login

Got it...it is 32 bits version.

Can you help me about how is the instructions/commands to install Java 64 version? 

Sorry, I'm a Linux dummy user....


Daniel

New Member
Posts: 8
Registered: ‎04-25-2018
Kudos: 2

Re: UniFi Cloud Access gets 'CONNECTION FAILED' after enabling local SSO login


@doalwa wrote:
That was also always my impression...so wait, this cloud access feature requires you to make your controller accessible from the internet by opening ports in your firewall?

What do I actually need this cloud portal then when I could just VPN into my network and connect directly to my controller.

Where’s the benefit? Maybe I’m just too dumb to figure this all out...

Exactly, that is my perception.... But my feeling is no port forwarding is required in the firewall when you use Cloud Access... if so, Cloud Access makes sense.... Anyway, to check it I need to install Java 64 version on my raspbian....Do you know how to do it?. Sorry I'm a Linux dummy user....

 

Regards,
Daniel

New Member
Posts: 5
Registered: ‎12-01-2017

Re: UniFi Cloud Access gets 'CONNECTION FAILED' after enabling local SSO login

On a Windows device you first need to shut down the Ubiquiti controller, then open "Controlpanel" and look on the Java icon, it should say Java 32 or something like that. Go to "Add or remove programs" (not sure of the exact words, I'm on a Swedish device).

 

Uninstall Java from Windows.

 

Download the 64 bit Windows version of java.. Google: "download java 64 bit windows 10" and get your free copy.

I tried to get the link for you but ended up on the Swedish site Man Happy.

 

Install the 64 bit version of Java (just run the .exe file as local admin) and restart the Ubiquiti controller.

No need for restarting the computer on 64 bit Windows 10.

 

Good luck! Man Happy

New Member
Posts: 5
Registered: ‎12-01-2017

Re: UniFi Cloud Access gets 'CONNECTION FAILED' after enabling local SSO login

Oooops! didn't read the whole post on my phone... It wasn't the Windows install instructions you needed Man Happy (too early in the morning) haha
New Member
Posts: 8
Registered: ‎04-25-2018
Kudos: 2

Re: UniFi Cloud Access gets 'CONNECTION FAILED' after enabling local SSO login


@mattelindh wrote:

On a Windows device you first need to shut down the Ubiquiti controller, then open "Controlpanel" and look on the Java icon, it should say Java 32 or something like that. Go to "Add or remove programs" (not sure of the exact words, I'm on a Swedish device).

 

Uninstall Java from Windows.

 

Download the 64 bit Windows version of java.. Google: "download java 64 bit windows 10" and get your free copy.

I tried to get the link for you but ended up on the Swedish site Man Happy.

 

Install the 64 bit version of Java (just run the .exe file as local admin) and restart the Ubiquiti controller.

No need for restarting the computer on 64 bit Windows 10.

 

Good luck! Man Happy


Thank you, but my controller is not running on Windows.

It is running on Raspberry Pi 2b on a Linux based on Debian (Raspbian)...

 

Daniel

Senior Member
Posts: 23,731
Registered: ‎08-04-2017
Kudos: 4494
Solutions: 1167

Re: UniFi Cloud Access gets 'CONNECTION FAILED' after enabling local SSO login

Hello @danielg77,

 

You need 64bit JAVA for Cloud Access to work.

 

 

Regards,

Glenn R.

Cloud Hosted Controllers | Glenn R. | UniFi Installation/Easy Update Scripts | UniFi-Video Installation Scripts | UniFi-VoIP Installation Scripts
USG-XG-8 • USG-4-PRO • USG
US-XG-16 • US-48-500W • US-24-POE-250W 2x • US-16-POE-150W 3x • US-24 • US-8-150W • US-8
UAP XG • UAP-SHD • UAP-HD • UAP-NanoHD 2x • UAP-AC-PRO 2x • UAP-AC-LITE • UAP-AC-IW • UAP-AC-M • UAP-AC-M-PRO 2x
UAS-XG • UCK-G2-PLUS • UCK-G2 • UCK
New Member
Posts: 16
Registered: ‎06-23-2018
Kudos: 1

Re: UniFi Cloud Access gets 'CONNECTION FAILED' after enabling local SSO login

Yeah, it's all quite strange...I'm not really bothered by the cloud access feature not working for me since I just VPN into my setup from my Phone or notebook and just connect to my controller this way...still, it would have been nice to do a quick checkup using the cloud portal but I won't expose my controller to the internet for this to work.
New Member
Posts: 8
Registered: ‎04-25-2018
Kudos: 2

Re: UniFi Cloud Access gets 'CONNECTION FAILED' after enabling local SSO login

thank you @AmazedMender16 

Do you know what is the step by step to install Java 64 bits version on Linux?

New Member
Posts: 3
Registered: ‎03-08-2018

Re: UniFi Cloud Access gets 'CONNECTION FAILED' after enabling local SSO login


@mattelindh wrote:

On a Windows device you first need to shut down the Ubiquiti controller, then open "Controlpanel" and look on the Java icon, it should say Java 32 or something like that. Go to "Add or remove programs" (not sure of the exact words, I'm on a Swedish device).

 

Uninstall Java from Windows.

 

Download the 64 bit Windows version of java.. Google: "download java 64 bit windows 10" and get your free copy.

I tried to get the link for you but ended up on the Swedish site Man Happy.

 

Install the 64 bit version of Java (just run the .exe file as local admin) and restart the Ubiquiti controller.

No need for restarting the computer on 64 bit Windows 10.

 

Good luck! Man Happy


Thank you, that got things working for me.

 

You'd think the installer would download the correct Java version. 

New Member
Posts: 2
Registered: ‎12-27-2017
Kudos: 2

Re: UniFi Cloud Access gets 'CONNECTION FAILED' after enabling local SSO login

I'm getting this error now. I'm on 5.10.21

It worked last night, and now it's not working.

Fresh install.

 

Any help from support?

Highlighted
New Member
Posts: 1
Registered: 3 weeks ago

Re: UniFi Cloud Access gets 'CONNECTION FAILED' after enabling local SSO login

I know this is an old post but for anyone who might stumble across it as I have just hit the same issue, after lots of faffing this turned out to be java.

 

Stop the controller software (5.10.23) this is on a 64 bit WIn 10 pro PC

uninstall all Java verions

install 32 bit Java

Install 64 bit java

 

Start the controller, you get the prompts again for allowing java through the firewall, tick public and private and this fixed it for me.

 

Looking at defender firewall you could probably just add an exception for:

"C:\program files\java\jre1.8.0_211\bin\java.exe"

&

"C:\program files\java\jre1.8.0_211\bin\javaw.exe"

 

on public and private

 

hope this helps someone!

 

 

Reply