Uncaught SyntaxError

Demonwolf

n3wb
Jul 9, 2019
2
0
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?
 
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
 
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:

UI3_syntax_error.png
 
Blue iris 4 is no longer supported. There is not much interested in that product
 
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

  • 2020_10_17_Blue_Iris_UI3_Uncaught_SyntaxError_chrome_2.png
    2020_10_17_Blue_Iris_UI3_Uncaught_SyntaxError_chrome_2.png
    53.2 KB · Views: 4
  • 2020_10_17_Blue_Iris_UI3_Uncaught_SyntaxError_Internet_Explorer.png
    2020_10_17_Blue_Iris_UI3_Uncaught_SyntaxError_Internet_Explorer.png
    172.8 KB · Views: 4
  • 2020_10_17BlueIris_UI3_Uncaught_SyntaxError.png
    2020_10_17BlueIris_UI3_Uncaught_SyntaxError.png
    147.7 KB · Views: 4
  • Blue_Iris_UI3_Uncaught_SyntaxError.png
    Blue_Iris_UI3_Uncaught_SyntaxError.png
    133.8 KB · Views: 4
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 ?
 
  • Like
Reactions: Andre Vacari
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.
 
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):

 
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.
 
I am experiencing the same issue with version release 5.6.0.6 on my local PC. the issue just showed up this morning, I have been running BI for a week or two with no issues. I just installed stunnel a day ago and just upgraded to 5.6.0.6 from the previous most current version of BI yesterday, I don't get the error when I use https (vial stunnel) only with http. So. summarizing, it was working fine yesterday, changes I made were adding stunnel yesterday and doing the upgrade BI alerted me to yesterday.
 
I am experiencing the same issue with version release 5.6.0.6 on my local PC. the issue just showed up this morning, I have been running BI for a week or two with no issues. I just installed stunnel a day ago and just upgraded to 5.6.0.6 from the previous most current version of BI yesterday, I don't get the error when I use https (vial stunnel) only with http. So. summarizing, it was working fine yesterday, changes I made were adding stunnel yesterday and doing the upgrade BI alerted me to yesterday.

Hello everybody,
I think this problem occurs because some carriers (especially mobile) use CGNAT and therefore their IP is changed by the carrier in TCP packets.
That's why HTTPS works for me since the 2020 post above.
 
Hello everybody,
I think this problem occurs because some carriers (especially mobile) use CGNAT and therefore their IP is changed by the carrier in TCP packets.
That's why HTTPS works for me since the 2020 post above.
update- this seems to be an issue with chrome on a single workstation. Edge works fine, and chrome works fine on other workstations and on my android phone. I cleared the cleared browser data and restarted chrome in the offending workstation, that seemed to correct the issue.