inovermyhead Posted November 26, 2020 Posted November 26, 2020 When I try to connect to my Polisy on my iPad (iOS 14.2) using Safari I get the Polisy Home Screen but with a red error banner ( “Not connected to server.. Try refreshing the page. This will disappear once the connection is re-established. “). Clicking “Login” brings up the username and password fields; completing these and hitting return gives a green “You are now logged in” message but I can’t go any further: the dashboard doesn’t show my installed node servers and the box at the bottom is blank for ISY version and Uptime is “Not Connected”. I can’t figure out what I’m doing wrong or missing? Thanks
MrBill Posted November 26, 2020 Posted November 26, 2020 I've never tried from my iPad until now, but I can confirm this behavior. Also hold true using Firefox and Chrome on iOS.
Michel Kohanim Posted November 26, 2020 Posted November 26, 2020 @inovermyhead, If you don't have the same issue on your computer, please clear the browser cache. With kind regards, Michel
inovermyhead Posted November 26, 2020 Author Posted November 26, 2020 Michel, In iOS 14 it's not possible to clear just the (Safari) browser cache on the iPad - it clears the browser cache on ALL devices signed into the same iCloud account. I'm loathe to do this since I have an iPhone, two iMacs and a MacBook in my account. I don't have any trouble logging into the Polisy on the iMac. And per Mr Bill's experience, trying to log into the Polisy using Firefox (which I otherwise never use) on the iPad also doesn't work ("Can't connect to server") Doesn't this suggest that the problem isn't with a browser cache?
Michel Kohanim Posted November 27, 2020 Posted November 27, 2020 @inovermyhead, If everything works on iMac, then it's just the cache. Not sure why clearing cache on one device would clear the cache on all devices. It seems a little strange. With kind regards, Michel
lilyoyo1 Posted November 27, 2020 Posted November 27, 2020 23 hours ago, inovermyhead said: Michel, In iOS 14 it's not possible to clear just the (Safari) browser cache on the iPad - it clears the browser cache on ALL devices signed into the same iCloud account. I'm loathe to do this since I have an iPhone, two iMacs and a MacBook in my account. I don't have any trouble logging into the Polisy on the iMac. And per Mr Bill's experience, trying to log into the Polisy using Firefox (which I otherwise never use) on the iPad also doesn't work ("Can't connect to server") Doesn't this suggest that the problem isn't with a browser cache? It could very well be something else. However in troubleshooting, Michel is going for the most logical explanation first vs lesser options that may be out there....While it may suck if other devices cache are cleared, sometimes hard choices have to be made in order to troubleshoot and get to the root of the problem
MrBill Posted November 27, 2020 Posted November 27, 2020 Curious about the effects of clearing the Safari Cache I first cleared the Safari Cache on my iPhone and then tried to open Polisy. Same result as before, Polisy allows login, but does not "connect". Next I checked the Safari Cache on my iPad Pro, as I expected it had not cleared. iCloud can keep tabs, bookmarks, and history synced across devices but does not appear to sync cache. Nonetheless I then cleared the Safari cache on iPad. Then opening Polisy... Again Polisy accepts Login but doesn't "Connect". Refreshing the page does nothing. Since this holds true across multiple devices, multiple browsers, and even multiple users it appears to be some kind of conflict with iOS, I'm not sure what it would be. Personally this doesn't affect me. I do only carry the iPad while traveling but if I need admin or Polisy I would a remote desktop on a windows machine via VPN and actually can open these. When I encountered this thread tho I was curious, so I tested in 3 browsers, and now 2 devices. Sometimes I have a hunch about browser issues but this time I have none, other than it may flat out be incompatible with iOS.
peekay Posted November 30, 2020 Posted November 30, 2020 Do you have a trusted certificate for the device?
larryllix Posted November 30, 2020 Posted November 30, 2020 On 11/27/2020 at 2:33 PM, MrBill said: Curious about the effects of clearing the Safari Cache I first cleared the Safari Cache on my iPhone and then tried to open Polisy. Same result as before, Polisy allows login, but does not "connect". Next I checked the Safari Cache on my iPad Pro, as I expected it had not cleared. iCloud can keep tabs, bookmarks, and history synced across devices but does not appear to sync cache. Nonetheless I then cleared the Safari cache on iPad. Then opening Polisy... Again Polisy accepts Login but doesn't "Connect". Refreshing the page does nothing. Since this holds true across multiple devices, multiple browsers, and even multiple users it appears to be some kind of conflict with iOS, I'm not sure what it would be. Personally this doesn't affect me. I do only carry the iPad while traveling but if I need admin or Polisy I would a remote desktop on a windows machine via VPN and actually can open these. When I encountered this thread tho I was curious, so I tested in 3 browsers, and now 2 devices. Sometimes I have a hunch about browser issues but this time I have none, other than it may flat out be incompatible with iOS. That appears to be a connection to ISY problem and I don't see how the browser in iOS should be related. If Safari were not connected to the polyglot server you shouldn't have a webpage at all.
MrBill Posted November 30, 2020 Posted November 30, 2020 2 hours ago, larryllix said: That appears to be a connection to ISY problem and I don't see how the browser in iOS should be related. If Safari were not connected to the polyglot server you shouldn't have a webpage at all. I don't think its a connection to the ISY problem. First it works from other non-ios devices just fine. Second, nodes in the ISY are updating. I've seen the red connections banner at times on my windows laptop but it also goes away by refreshing the page. Obviously the web server on Polisy is working. If I had to guess, and its only a guess, I'd bet on a database connection from code running in browser not being allowed by iOS for some reason.
larryllix Posted November 30, 2020 Posted November 30, 2020 (edited) 22 minutes ago, MrBill said: I don't think its a connection to the ISY problem. First it works from other non-ios devices just fine. Second, nodes in the ISY are updating. I've seen the red connections banner at times on my windows laptop but it also goes away by refreshing the page. Obviously the web server on Polisy is working. If I had to guess, and its only a guess, I'd bet on a database connection from code running in browser not being allowed by iOS for some reason. Your browser is never considered a server, but always a client. The error message indicates a server. I had that error when my ports were not set up right with my ISY and now when polyglot is rebooting after a setup change. But it shouldn't vary with a different browser so a very confusing report. MY mistake. The error must be coming from your browser about the polyglot server. More programmer laziness when reporting errors. They tend to see things from their POV during the programming. Odd the browser would get half way through the webpage and then not comm anymore. I don't think polyglot has used any newer html5 tricks that may not be supported. It all looks like basic old-tech stuff to me. Another update: The last screen shot indicates polyglot cannot connect to the ISY or device also. That is definitely coming from polyglot in it's status box. It would appear your browser may be causing polyglot to crash. Edited November 30, 2020 by larryllix
MrBill Posted November 30, 2020 Posted November 30, 2020 2 minutes ago, larryllix said: Your browser is never considered a server, but always a client. The error message indicates a server. I had that error when my ports were not set up right with my ISY and now when polyglot is rebooting after a setup change. But it shouldn't vary with a different browser so a very confusing report. Never said the browser was a server. My theory is tho that the .js script running in browser that we can see by viewing Page Source opens a database connection back to Polisy. Likely why they force https on all Polisy pages served. Mine are only guesses and theories, and I won't spitball more about my guesses. I'll be happy to test anything for UDI and assist. As I said up above the outcome at this point doesn't make too much difference to me I don't use this method to access Polisy even while traveling. I read OPs post and said "I wonder if I have that problem or can spot a solution"---so I opened my iPad and tried everything I can think of... including multiple browsers and multiple devices...the only common denominator seems to be iOS itself. 1
inovermyhead Posted December 1, 2020 Author Posted December 1, 2020 No, the problem is definitely local (on the iPad): At the same time I get the "not connected to server" in a Safari tab on the iPad, I have a browser window open (again, in Safari) on my iMac and Polisy is perfectly happy - connected and updating nodeservers in the ISY. And it can't just be the (iPad) Safari; the same problem occurs with Firefox on the iPad. And the same with either browser on an iPhone. Something in iOS (14)??
inovermyhead Posted December 1, 2020 Author Posted December 1, 2020 Another possible clue: On the iPad, at the bottom of the page "Version Status: Disconnected" and "ISY Version" is blank rather than "Version 2.2.9-5 Status: Connected" and "ISY Version 5.3.0" on the iMac. Doesn't this suggest that the iOS browsers have not fully completed a connection to the Polisy? 2
maxnorth Posted December 16, 2020 Posted December 16, 2020 I have this same exact problem with polyglot on iPad and iPhone. Even though it logs in successfully, one symptom is that it is not possible to view the Polyglot log. It behaves as if the login is not complete/successful.
Michel Kohanim Posted December 16, 2020 Posted December 16, 2020 @maxnorth, Are you certain that this works on a regular computer? With kind regards, Michel
maxnorth Posted December 16, 2020 Posted December 16, 2020 @maxnorth, Are you certain that this works on a regular computer? With kind regards, MichelYes. Perfectly. Sent from my iPhone using Tapatalk
Michel Kohanim Posted December 17, 2020 Posted December 17, 2020 @maxnorth, Thank you. Looking into it ... With kind regards, Michel 1
Illusion Posted December 24, 2020 Posted December 24, 2020 I can confirm that I as well have never been able to get to my Polisy on an iOS device. Using Safari or Firefox both yield the Polisy page with the "not connected to server.." banner.
tritip.films Posted August 24, 2021 Posted August 24, 2021 (edited) bumping… Any resolution for this issue? I can confirm similar behavior using the web interface between iPad and both rPi and Polisy versions of Polyglot. Edited August 24, 2021 by tritip.films 1
MrBill Posted August 24, 2021 Posted August 24, 2021 It does still appear to be an issue, I just tried. Has anyone opened a ticket on this topic? If not, I may I have an out of town event later in the year where I will only be taking an iPad. 1
Michel Kohanim Posted August 24, 2021 Posted August 24, 2021 Hello all, Angular is yet another Java like UI framework and it's been very difficult getting it working on iPad. We are working on it though and, if it proves too difficult, we'll just abandon Angular. With kind regards, Michel 1 1
jfai Posted August 24, 2021 Posted August 24, 2021 Angular's browser compatibility Angular supports the two most recent major versions of iOS and Safari. 1
Recommended Posts