Uncaught SyntaxError

Demonwolf

n3wb
Joined
Jul 9, 2019
Messages
2
Reaction score
0
Location
South Africa
We are having an issue with BlueIris 4.8.6.3 when being accessed from Android mobile devices.

An unexpected error has occured in /ui3.htm (v 70 / 4.8.6.3).

Uncaught SyntaxError: Unexpected token < at http://censored_hostname/login.htm?page=/libs-ui3.js?v=70-4.8.6.3 [1:1]

SyntaxError: expected expression, got '<' at http://censored_hostname/ui3/ui3.js?v=70-4.8.6.3 [1:0]
I have tried Chrome, Firefox, Opera and the default Samsung browser with only slight variations of the same error. I have no issues from a PC connecting into the system using Chrome.

Anyone have any idea where I can start looking?
 

Demonwolf

n3wb
Joined
Jul 9, 2019
Messages
2
Reaction score
0
Location
South Africa
Just adding screenshots given to me by one of my users. First I thought it was an issue with their browser, so I asked them to use a different browser.

WhatsApp Image 2019-07-08 at 15.06.43.jpeg WhatsApp Image 2019-07-08 at 15.34.16.jpeg
 

piconut

BIT Beta Team
Joined
Feb 17, 2015
Messages
127
Reaction score
25
I'm having a similar problem trying to access Blue Iris on a Google Pixel Phone. Works fine on a Samsung tablet and on the PC. Here is the error message:

 
Joined
Apr 3, 2019
Messages
5
Reaction score
0
Location
Sao Paulo
Hi,
Sorry because the language is not my native language.
This error remains today (5.2.4.4)
Before, I would like to congratulate you for the excellent work. I'm a fan of UI3 and I always recommend BI because of it.
I have had problems with UI3 for a long time. Many versions of BlueIris have been updated since version 4.x, always with the same error.
The problem occurs with my 4G mobile connection on my Samsung S8 Android 9. When I connect via my home Wi-Fi network, everything is fine.
However, if I connect Windows 10 to my phone via wifi tethering (using the bridge with the 4G connection), the error also occurs on IE, Edge and Chrome on the PC.
Apparently some proxy problem or something else on the mobile operator.
However I would like to ask you to look at the debug, as there may be a solution for my case and for these other users that I found here:

I have already updated to version 123 of UI3, but my latest version of BI is 5.2.4.4.

The errors shown are below:
An unexpected error has occured in /ui3.htm (v 123 / 5.2.4.4) ...

Uncaught SyntaxError: Unexpected token '<' at http: /censored_hostname/ui3/ui3-local-overrides.js? V = 123-5.2.4.4 [1: 1]

This Session is invalid

I already thank you for reading this far and if possible an answer.

Best regards,
 

Attachments

SouthernYankee

IPCT Contributor
Joined
Feb 15, 2018
Messages
3,903
Reaction score
2,946
Location
Houston Tx
hopefully @bp2008 will answer

1)Are you using your phone as a hotspot or tether of a laptop when on 4G ?
2)Can you login to BI from your phone directly when on 4G ?
3)Can you login from your phone when at home on wifi ?
 
Joined
Apr 3, 2019
Messages
5
Reaction score
0
Location
Sao Paulo

piconut

BIT Beta Team
Joined
Feb 17, 2015
Messages
127
Reaction score
25
Thank you for pursuing this because I'm also getting the same error on Android phone only (although still running the last version of v4). Works fine in Chrome on Windows PC.
 
Joined
Apr 3, 2019
Messages
5
Reaction score
0
Location
Sao Paulo
Hi @piconut

What country are you from and what is your mobile operator?
I think I managed to get around the problem (palliative) using secure HTTPS connection (Stunnel).
Just follow this tutorial that works exactly as described (in my case I have a sub-domain):

 

piconut

BIT Beta Team
Joined
Feb 17, 2015
Messages
127
Reaction score
25
I'm in the United States but the problem even exists when on my home wifi (using a Samsung Galaxy 10), so it's not my mobile carrier.
 
Top