I made a better remote-live-view page [OLD]

nocalmike

n3wb
Joined
Sep 22, 2014
Messages
8
Reaction score
1
It is only on the second line of the instructions :)

Oh, wait, no, it is on the first line too.

Thank you, working perfectly. My apologies for my senior moment/minutes
 

Frank Ecker

Young grasshopper
Joined
Apr 18, 2017
Messages
50
Reaction score
11
It is only on the second line of the instructions :)

Oh, wait, no, it is on the first line too.
Do you know which of the html files I can change to make the ui2.htm be the default page after login rather than jpegpull.htm?
 

Bruce_H

n3wb
Joined
Feb 22, 2017
Messages
23
Reaction score
4
I copied all the files to my www folder and used IE to access the webpage from the local PC using the computers IP address, and it worked fine, when I try to access the webpage over the internet from a remote PC I get the following error

An unexpected error has occurred in Blue Iris Login (version4)

If you wish to report the error, please SCREENSHOT^ the browser now.

Unable to get property ‘getItem’ of undefined or null reference
URL: http//censored_hostname/login.htm?page=%2F
Line: 204
Char: 5

Any thoughts on a possible cause and what I can do to fix this?
 

bp2008

Staff member
Joined
Mar 10, 2014
Messages
12,676
Reaction score
14,024
Location
USA
That is a strange one. Line 204 of login.htm is the script attempting to read a setting from the browser's local storage. However line 203 is the script testing to make sure that the browser supports local storage in the first place.

What particular browser version are you using on the remote PC?
 

Bruce_H

n3wb
Joined
Feb 22, 2017
Messages
23
Reaction score
4
That is a strange one. Line 204 of login.htm is the script attempting to read a setting from the browser's local storage. However line 203 is the script testing to make sure that the browser supports local storage in the first place.

What particular browser version are you using on the remote PC?
I was using IE 11 on a win 10 PC, I will try with a different browser a bit later today, have to go to a funeral at the moment.
 

bp2008

Staff member
Joined
Mar 10, 2014
Messages
12,676
Reaction score
14,024
Location
USA
Probably you have local storage disabled then. It could be bundled in with cookies or something. Anyway I will improve the feature detection I guess.
 

Bruce_H

n3wb
Joined
Feb 22, 2017
Messages
23
Reaction score
4
Probably you have local storage disabled then. It could be bundled in with cookies or something. Anyway I will improve the feature detection I guess.
When I went back to test it, everything is working properly, I even tried another windows 10 system with a clean copy of IE 11 and it works with no errors. The only thing I can think of is that some problem in my PC was cleared by doing a shut down and restart. Further testing will have to wait for another day, I need to get some sleep now!
 

CrazyFin

n3wb
Joined
Jul 14, 2015
Messages
23
Reaction score
5
New GUI is awesome and I have no problem at all logging in to BI and get ui2.htm as the default page when logging in from different computers locally within my LAN.
The new GUI is really cool and slick!

However, when I try to access BI remotely via WAN I do get the new and modern login page but when I enter my login credentials it just reloads back the page to the login page again.
If I start a SSH session to my router with Putty and create a SSH tunnel and then do "localhost:portnumber" it works fine to login.
So this seems to only happen when I try access directly BI via WAN (this worked fine before the new GUI was introduced)

I have tested with both having "ui2.htm" populated in the "home page"-field for the user in BI and with that field empty but no difference. It just reverts back to the login page when I press login.
I have also made sure to restart browser (both Chrome and Firefox) to make sure nothing is cached.

My webserver setup params in BI:
upload_2017-5-26_10-39-8.png
 

bp2008

Staff member
Joined
Mar 10, 2014
Messages
12,676
Reaction score
14,024
Location
USA
@CrazyFin

Sounds like a tough one. If you like, set me up a user account temporarily and send me the public address and port number by private message ("Conversation"), and I should be able to figure out what is going wrong.
 

taylormia

n3wb
Joined
Aug 27, 2015
Messages
2
Reaction score
0
I have 11 cameras and am using UI2 to view them all collectively or individually by clicking on a specific stream. Is there a way to bring up a specific camera's stream directly using UI2 with an HTTP or HTTPS URL without having to first open the multi-camera view and then clicking on the required stream? Thanks.
 

bp2008

Staff member
Joined
Mar 10, 2014
Messages
12,676
Reaction score
14,024
Location
USA
I have 11 cameras and am using UI2 to view them all collectively or individually by clicking on a specific stream. Is there a way to bring up a specific camera's stream directly using UI2 with an HTTP or HTTPS URL without having to first open the multi-camera view and then clicking on the required stream? Thanks.
Yes. Get the short name of the camera you want it to start with, and add a "cam=shortname" argument to the url, like this:

ui2.htm?cam=porch
 

Jury

Young grasshopper
Joined
May 27, 2017
Messages
36
Reaction score
0
New GUI is awesome and I have no problem at all logging in to BI and get ui2.htm as the default page when logging in from different computers locally within my LAN.
The new GUI is really cool and slick!

However, when I try to access BI remotely via WAN I do get the new and modern login page but when I enter my login credentials it just reloads back the page to the login page again.
If I start a SSH session to my router with Putty and create a SSH tunnel and then do "localhost:portnumber" it works fine to login.
So this seems to only happen when I try access directly BI via WAN (this worked fine before the new GUI was introduced)

I have tested with both having "ui2.htm" populated in the "home page"-field for the user in BI and with that field empty but no difference. It just reverts back to the login page when I press login.
I have also made sure to restart browser (both Chrome and Firefox) to make sure nothing is cached.

My webserver setup params in BI:
View attachment 18661
Exactly the same problem for me, just I'm trying to use reverse proxy.
I'm also not able to login locally with new gui. After login I'm getting - you are not authorized to access this webpage or something like that. Old GUI works, but only local login. From wan behaviour exactly the same as with new GUI, login page reload.
 

bp2008

Staff member
Joined
Mar 10, 2014
Messages
12,676
Reaction score
14,024
Location
USA
CrazyFin sent me login info, but the credentials he sent did not work (probably the account isn't enabled).

If you want, Jury, you can set me up a temporary account in Blue Iris and send me the access information in a private message. I'll see if I can figure out what is wrong.
 

Jury

Young grasshopper
Joined
May 27, 2017
Messages
36
Reaction score
0
CrazyFin sent me login info, but the credentials he sent did not work (probably the account isn't enabled).

If you want, Jury, you can set me up a temporary account in Blue Iris and send me the access information in a private message. I'll see if I can figure out what is wrong.
Sent all required in PM.
 

bp2008

Staff member
Joined
Mar 10, 2014
Messages
12,676
Reaction score
14,024
Location
USA
Sent all required in PM.
Thanks.

For anyone experiencing a similar issue, the problem Jury was having is that Blue Iris appears to be sending a "403 Forbidden" response where it is expected to redirect to the user's homepage. Everything looked fine and normal all the way through the login procedure (the login completed successfully) but something failed afterward. I informed the Blue Iris developer of this, but I suspect more people will have to report it before he can find the cause.

CrazyFin's situation sounded a little different so we'll see what happens there.
 

Jury

Young grasshopper
Joined
May 27, 2017
Messages
36
Reaction score
0
Is it possible to implement in UI2 option to change cameras sequence on dashboard? Of course for each login independently.
 
Top