The delay is there so you have an opportunity to disable the automatic login and clear your stored user name and password. Without the delay, this is nearly impossible for most users.Also, a tiny thing & not important but is it possible to do away with the 2 seconds delay when auto logging in UI2 or is it a necessary delay.
Thanks again for your great work, I will look but is there a donation option for this development.
Yup, that is the answer.Stupid me, found my own answer, simply have a copy of the files in another directory with the .jar & config and point that,
Great!
<windowTitle>BlueIrisViewer</windowTitle>
Well it appears I jumped the gun. I was able to get it working using the IP address rather than the server name.@patja, after you double check the server address is correct if it is still a problem let me know and I will try to reproduce in case it actually is a bug in my code
The exceptions suggest that Blue Iris returned an error code instead of the expected response. My thoughts are that maybe you are not reaching the Blue Iris web server, but instead some other web server. Please post the content of your BIVSettings.cfg in a Code or Html block (so that the forum doesn't modify the content). You can strip out the username and password settings before posting, if you have them set. Also post a screenshot of your Blue Iris Options > Web server tab (obscure only the public WAN address). This will let me verify that everything looks right.Looks like a wonderful app for viewing cams locally on the internal network from other machines than just the one that has BlueIris installed.
However, I am not able to log in from any of the other machines I am testing from. I get only "Unrecognized server!" as the error message.
Logfile is enabled but I do not get any prints to the logfile. I do see in the logfile that I am disabling/enabling the error logging.
If I take the ip address and port number from BlueIris Viewer and enter that into my web browser I am able to login just fine.
I can ping my BlueIris server ip and get reply back.
I am on BlueIris Viewer 2.6 and my BlueIris server is running latest version 4.2.9.1.
Accessing the BlueIris server via my Android phone and the BlueIris app for Android works perfectly fine.
EDIT:
I installed on a 3rd computer but still the same error. Now I get the following log errors:
============
2016/02/14 16:01:59 An exception has occurred in class org.brian.blueirisviewer.util.Utilities:
http://127.0.0.1:80/json
Additional Info:
URL: http://127.0.0.1:80/json
java.io.FileNotFoundException: http://127.0.0.1:80/json
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at org.brian.blueirisviewer.util.Utilities.getViaHttpConnection(Utilities.java:157)
at org.brian.blueirisviewer.util.Utilities.getViaHttpConnection(Utilities.java:59)
at org.brian.blueirisviewer.util.Utilities.getStringViaHttpConnection(Utilities.java:240)
at org.brian.blueirisviewer.images.Images$1.run(Images.java:158)
at java.lang.Thread.run(Unknown Source)
2016/02/14 16:01:59 An exception has occurred in class org.brian.blueirisviewer.images.Images$1:
Exception message was null
Unexpected token END OF FILE at position 0.
at org.json.simple.parser.JSONParser.parse(JSONParser.java:257)
at org.json.simple.parser.JSONParser.parse(JSONParser.java:81)
at org.json.simple.parser.JSONParser.parse(JSONParser.java:75)
at org.brian.blueirisviewer.images.Images$1.run(Images.java:162)
at java.lang.Thread.run(Unknown Source)
=============
Note that the URL is still the local address which is wrong.
I have changed in the GUI and I can also see in the config file that it indeed has the new and proper IP address and port.
I tested now with running the BlueIris Viewer locally on the same machine where I have BlueIris installed. Same error.
I do have verified that my custom port setting for BlueIris is properly stated in the URL since when I paste the URL into a web browser I am connected directly without any problems.
<org.brian.blueirisviewer.BIVSettings>
<serverURL>http://192.168.10.6:8181/</serverURL>
<loadStartPositionAndSizeUponAppStart>true</loadStartPositionAndSizeUponAppStart>
<disableWindowDragging>false</disableWindowDragging>
<overrideGridLayoutX>0</overrideGridLayoutX>
<overrideGridLayoutY>0</overrideGridLayoutY>
<startPositionX>320</startPositionX>
<startPositionY>180</startPositionY>
<startSizeW>1280</startSizeW>
<startSizeH>720</startSizeH>
<borderless>false</borderless>
<restartBorderlessToggle>false</restartBorderlessToggle>
<imageRefreshDelayMS>450</imageRefreshDelayMS>
<bOverrideGridLayout>false</bOverrideGridLayout>
<imageFillMode>0</imageFillMode>
<modalUI>true</modalUI>
<username>XXXXXXX</username>
<password>XXXXXX</password>
<imageResolutionMode>2</imageResolutionMode>
<overrideJpegQuality>false</overrideJpegQuality>
<jpegQuality>60</jpegQuality>
<instantReplayEnabled>false</instantReplayEnabled>
<instantReplayHistoryLengthMinutes>5</instantReplayHistoryLengthMinutes>
<hiddenCams/>
<logErrorsToDisk>true</logErrorsToDisk>
<windowTitle>BlueIrisViewer</windowTitle>
<useLibjpegTurbo>true</useLibjpegTurbo>
<useMjpegStream>false</useMjpegStream>
<nightModeEnabled>false</nightModeEnabled>
<nightModeStartTime>20:00</nightModeStartTime>
<nightModeEndTime>8:00</nightModeEndTime>
<setDayModeBrightness>false</setDayModeBrightness>
<setNightModeBrightness>false</setNightModeBrightness>
<dayModeBrightness>100</dayModeBrightness>
<nightModeBrightness>10</nightModeBrightness>
<pixelManipulationDayMode>0</pixelManipulationDayMode>
<pixelManipulationNightMode>3</pixelManipulationNightMode>
</org.brian.blueirisviewer.BIVSettings>
Well that all looks fine ... which unfortunately means I have no idea what is wrong. If you are able, proceed with wireshark to see if you can find clues as to why Blue Iris is not returning the expected response. But wireshark isn't the easiest thing to get along with. If you want, you can PM me your public IP and port number and some temporary/limited account credentials and I will try to connect from my end.and here is the screenshot of my BlueIris webserver settingsCode:<org.brian.blueirisviewer.BIVSettings> <serverURL>http://192.168.10.6:8181/</serverURL> </org.brian.blueirisviewer.BIVSettings>
View attachment 8306
If I change the password or username then I get the error message invalid username so BlueIris Viewer must be getting connection with the BlueIris server.
Screenshot example:
View attachment 8308
That was a screenshot of a portrait view 16:9 camera that had been clicked (bringing it to full-screen). To clarify, it is not possible to affect the layout of the cameras beyond what you have in the Camera Layout section of the options.Is it possible to rearrange or resize the cameras, as it appears in the second screenshot of the first post? Or was that a screenshot of multiple instances of the viewer?