<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://blueirissoftware.com/forum/app.php/feed/topic/2773" />

	<title>Blue Iris</title>
	<subtitle>Blue Iris User Group</subtitle>
	<link href="https://blueirissoftware.com/forum/index.php" />
	<updated>2021-10-22T20:55:40+00:00</updated>

	<author><name><![CDATA[Blue Iris]]></name></author>
	<id>https://blueirissoftware.com/forum/app.php/feed/topic/2773</id>

		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2021-10-22T20:55:40+00:00</updated>

		<published>2021-10-22T20:55:40+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=10961#p10961</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=10961#p10961"/>
		<title type="html"><![CDATA[Camera error codes]]></title>

		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=10961#p10961"><![CDATA[
<span style="font-size:150%;line-height:116%"><strong class="text-strong">Introduction</strong></span><br><br>Similar to <a href="viewtopic.php?f=14&amp;t=2086" class="postlink">Status Log Errors</a>, this file documents Camera connection errors.<br>We explain what they mean and how to resolve.<br><br>If you need help identifying the IP address of cameras and available ports, key information to connect cameras, see the <a href="viewtopic.php?f=22&amp;t=2598#Network%20setup" class="postlink">Camera setup article</a> after understanding the error code.<br><br><span style="font-size:150%;line-height:116%"><strong class="text-strong">Find/Inspect Errors</strong></span><br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2309" class="postimage" alt="symptoms to resolution_camera issues_find inspect.png" onclick="viewableArea(this);" /></dt></dl></div><br><br><strong class="text-strong"><a name="12002 Timeout">12002 Timeout</a></strong><br><br>The 12002 Timeout means BI cannot connect to your camera via the provided credentials in the IP Config Dialog.<ul><li>Username</li><li>Password</li><li>IP Address</li><li>Ports (80, 554, 8999 are defaults unless specified otherwise)</li></ul>Walk through the <a href="viewtopic.php?f=15&amp;t=2484" class="postlink">No Signal Error article</a>.  Pay attention to all sections starting with Networking.<br><br><br><span style="font-size:150%;line-height:116%"><a name="Windows Socket errors">Windows Socket errors</a></span><br><br>The 8000xxxx errors are Windows Socket errors.  BI converts the value into hex.  The first bit of the first byte is set to one so BI can treat the response as an error (8000).  The second byte is the actual error code in hex.  Thus 80002745 is the 2745 error (hex)  = Socket error 10053<br><br>The list of <a href="https://docs.microsoft.com/en-us/windows/win32/winsock/windows-sockets-error-codes-2" class="postlink">Windows socket errors</a>.<br><br><strong class="text-strong">Connection failures</strong><br>These errors are failures when trying to attempt a connection to a camera.<div style="margin-left:3em"><br><strong class="text-strong">Error: 80002745</strong><div style="margin-left:3em">2745 = Socket error 10053.<br><br>WSAECONNABORTED<br>10053<br>Software caused connection abort.<br>An established connection was aborted by the software in your host computer, possibly due to a data transmission time-out or protocol error.<br><br></div><strong class="text-strong">Error: 80002746 (Failed to connect) 0</strong><div style="margin-left:3em">2746 = Socket error 10054.<br><br>WSAECONNRESET<br>10054<br>Connection reset by peer.<br>An existing connection was forcibly closed by the remote host. This normally results if the peer application on the remote host is suddenly stopped, the host is rebooted, the host or remote network interface is disabled, or the remote host uses a hard close (see setsockopt for more information on the SO_LINGER option on the remote socket). This error may also result if a connection was broken due to keep-alive activity detecting a failure while one or more operations are in progress. Operations that were in progress fail with WSAENETRESET. Subsequent operations fail with WSAECONNRESET.<br><br><strong class="text-strong">IP config dialog</strong><br>Double check your <a href="viewtopic.php?f=22&amp;t=2043#Step%204" class="postlink">advanced settings</a>.<br>Maybe turn RTSP keep alives off?  On by default.<br>Confirm RTSP back-channel is unselected.<br><br></div><strong class="text-strong">Error: 8000274c (Failed to connect) 0</strong><div style="margin-left:3em">274C = Socket error 10060.<br><br>WSAETIMEDOUT<br>10060<br>Connection timed out.<br>A connection attempt failed because the connected party did not properly respond after a period of time, or the established connection failed because the connected host has failed to respond.<br><br></div><strong class="text-strong">Fix:</strong><br>Possible remedies to connection failures.<div style="margin-left:3em"><br><strong class="text-strong">Server settings</strong><br>Double check the <a href="viewtopic.php?f=22&amp;t=2598#Network%20setup" class="postlink">IP address and available ports on the camera</a>.<br><br>Try toggling the Advanced connector settings on/off (IP Config dialog).  Below are the default settings.  I highlighted the selections that usually have an effect on connections.  Help file has details.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2354" class="postimage" alt="camera errors_advanced settings.png" onclick="viewableArea(this);" /></dt></dl></div><br><strong class="text-strong">Network</strong><br>Very possible there is a network issue.  See <a href="viewtopic.php?f=20&amp;t=2539#Network%20tests" class="postlink">Network tests</a> to rule out hardware issues.<br><br><strong class="text-strong">Remote testing</strong><br>If you want us to test your camera, see <a href="viewtopic.php?f=21&amp;t=2704" class="postlink">Camera issues article</a> for needed information.<br><br><br></div></div><strong class="text-strong">Connection refused / rejected</strong><div style="margin-left:3em"><br><strong class="text-strong">Error: 8000274d (Failed to connect) 0</strong><div style="margin-left:3em"><br>274D = Socket error 10061<br><br>WSAECONNREFUSED<br>10061<br>Connection refused.<br>No connection could be made because the target computer actively refused it. This usually results from trying to connect to a service that is inactive on the foreign host—that is, one with no server application running.<br><br>This error basically means the camera or endpoint you are trying to communicate with does not exist based on your networking settings: IP address / Port / URI stream.<br><br><strong class="text-strong">Scenario 1</strong>: Power outage:   A power outage means the cameras and the router and the BI server restarted.  The error implies the cameras were assigned new IP addresses by the router and thus BI can no longer talk to the cameras.  <br><br>Networking is the responsibility of the user.  The <a href="viewtopic.php?f=22&amp;t=2598#Network%20setup" class="postlink">Network setup section</a> of the Camera setup article talks a little bit about finding IP addresses for cameras on the network.<br><br>You can make the network setup more resilient so the next time this happens the cameras connect automatically.<ul><li>Tell the router to assign all your cameras the same IP address.</li><li>Or, tell the cameras to always use the same IP address</li></ul>Seek guidance from blueirissoftware.com/forum or consult with a networking expert for details.<br><br><br><strong class="text-strong">Scenario 2</strong>:  The RTSP port was not enabled.<blockquote class="uncited"><div>I was able to solve the problem.  For some reason, the RTSP port was unchecked.</div></blockquote><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2118" class="postimage" alt="camera errors_274D.png" onclick="viewableArea(this);" /></dt></dl></div><br><strong class="text-strong">Scenario 3</strong>:  Wrong URI suffix.<blockquote class="uncited"><div>Thanks for the reply.  Turns out I forgot I had to use the URI suffix for the RTSP stream.</div></blockquote>Another clue the URI was the issue came from the Find/Inspect dialog.<br><blockquote class="uncited"><div>Opening 192.168.1.233 port 80...<br>HTTP Get / request...<br><strong class="text-strong">Failed with HTTP 12029</strong><br>Opening 192.168.1.233 port 8999...<br>ONVIF GetSystemDateAndTime<br>HTTP 12029<br>Checking for common cameras...<br>Foscam FI86xx/98xx compatible?<br>Foscam FI89xx compatible?<br>Foscam FI9821 V2 compatible?<br>Foscam FI9821 media port compatible?<br>Cantonk port 34567?<br>RTSP port open?<br>RTSP port detected!<br>Done</div></blockquote>Communication issues related to error 12002 and 12029 are usually related to a network block of some sort.  Because the URI was incorrect, the resource being requested does not exist causing the error message.<br><br><br></div></div><p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Fri Oct 22, 2021 8:55 pm</p><hr />
]]></content>
	</entry>
	</feed>
