Skip to content

Web server error

edited May 2018 in SecuritySpy
I recently added two iPads to our home network for the sole purpose of monitoring cameras using the IP Cam Viewer Pro iOS app.

I am now getting this error:
Error running the built-in web server. 4.2.4,708,41

However, the application still appears to be running normally.

Comments

  • BenBen
    edited May 2018
    This is not something we've seen before, but after doing some research, it seems this is an undocumented (or, more likely, an erroneous) error being generated by macOS when SecuritySpy is trying to sent some data via the network socket. It seems that, in certain circumstances, when the socket is disconnected (e.g. the client closes its connection), then a call by the server to write data to the socket returns this error, instead of the correct error to tell the server that the connection has closed. So basically it looks like a macOS kernel bug.

    Fortunately, the error should be harmless. How often are you seeing this error being generated? I think in the next update we will get SecuritySpy to simply ignore this error and treat it as the OS telling us that the connection has closed.

    (For anyone interested, the error being generated is EPROTOTYPE, which means "wrong protocol type for socket", which doesn't make sense on a write() call on an already-open socket. There is a thorough discussion about this here: Debugging the EPROTOTYPE macOS kernel bug.)
  • Thanks for the update – it's odd that this only started happening after I setup two new iPads to the web server. (In other words, for the last two months, this error never occurred). I'm using IP Cam Viewer, as the preference was to view a larger 4-grid display (as opposed to SS iOS app that shows smaller previews – perhaps there is a way to create a group, maybe I'll try SS to see if the error goes away).

    LOG:

    05/18/2018 13:29:00: Error running the built-in web server. 4.2.4,708,41

    05/18/2018 13:48:53: Error running the built-in web server. 4.2.4,708,41

    05/18/2018 14:02:05: Error running the built-in web server. 4.2.4,708,41

    05/18/2018 14:19:40: Error running the built-in web server. 4.2.4,708,41

    05/18/2018 14:32:09: Error running the built-in web server. 4.2.4,708,41

    05/18/2018 14:42:30: Error running the built-in web server. 4.2.4,708,41

    05/18/2018 14:53:03: Error running the built-in web server. 4.2.4,708,41

    05/18/2018 15:03:14: Error running the built-in web server. 4.2.4,708,41

    05/18/2018 15:14:44: Error running the built-in web server. 4.2.4,708,41

    05/18/2018 15:26:42: Error running the built-in web server. 4.2.4,708,41

    05/18/2018 15:37:55: Error running the built-in web server. 4.2.4,708,41

    05/18/2018 15:50:04: Error running the built-in web server. 4.2.4,708,41

    05/18/2018 16:01:41: Error running the built-in web server. 4.2.4,708,41

    05/18/2018 16:12:57: Error running the built-in web server. 4.2.4,708,41

    05/18/2018 16:29:09: Error running the built-in web server. 4.2.4,708,41

    05/18/2018 16:40:58: Error running the built-in web server. 4.2.4,708,41

    05/18/2018 17:00:57: Error running the built-in web server. 4.2.4,708,41

    05/18/2018 17:15:58: Error running the built-in web server. 4.2.4,708,41

    05/18/2018 17:26:01: Error running the built-in web server. 4.2.4,708,41

    05/18/2018 17:41:00: Error running the built-in web server. 4.2.4,708,41

    05/18/2018 17:56:39: Error running the built-in web server. 4.2.4,708,41

    05/18/2018 18:07:40: Error running the built-in web server. 4.2.4,708,41

    05/18/2018 18:30:02: Error running the built-in web server. 4.2.4,708,41

    05/18/2018 18:46:26: Error running the built-in web server. 4.2.4,708,41

    05/18/2018 18:56:54: Error running the built-in web server. 4.2.4,708,41

    05/18/2018 19:07:16: Error running the built-in web server. 4.2.4,708,41

    05/18/2018 19:25:11: Error running the built-in web server. 4.2.4,708,41

    05/18/2018 19:35:11: Error running the built-in web server. 4.2.4,708,41

    05/18/2018 19:50:27: Error running the built-in web server. 4.2.4,708,41

    05/18/2018 20:14:18: Error running the built-in web server. 4.2.4,708,41

    05/19/2018 06:04:19: Error running the built-in web server. 4.2.4,708,41

    05/19/2018 06:21:32: Error running the built-in web server. 4.2.4,708,41

    05/19/2018 06:36:03: Error running the built-in web server. 4.2.4,708,41

    05/19/2018 07:03:43: Error running the built-in web server. 4.2.4,708,41

    05/19/2018 07:35:29: Error running the built-in web server. 4.2.4,708,41

    05/19/2018 08:49:19: Error running the built-in web server. 4.2.4,708,41

    05/19/2018 09:01:26: Error running the built-in web server. 4.2.4,708,41

    05/19/2018 09:26:23: Error running the built-in web server. 4.2.4,708,41

    05/19/2018 09:43:55: Error running the built-in web server. 4.2.4,708,41

    05/19/2018 10:03:30: Error running the built-in web server. 4.2.4,708,41

    05/19/2018 10:24:52: Error running the built-in web server. 4.2.4,708,41

    05/19/2018 10:42:12: Error running the built-in web server. 4.2.4,708,41

    05/19/2018 10:54:18: Error running the built-in web server. 4.2.4,708,41

    05/19/2018 11:04:26: Error running the built-in web server. 4.2.4,708,41

    05/19/2018 11:17:54: Error running the built-in web server. 4.2.4,708,41

    05/19/2018 11:43:16: Error running the built-in web server. 4.2.4,708,41

    05/19/2018 11:58:51: Error running the built-in web server. 4.2.4,708,41

    05/19/2018 12:12:40: Error running the built-in web server. 4.2.4,708,41

    05/19/2018 12:27:53: Error running the built-in web server. 4.2.4,708,41

    05/19/2018 12:55:16: Error running the built-in web server. 4.2.4,708,41

    05/19/2018 13:09:36: Error running the built-in web server. 4.2.4,708,41

    05/19/2018 13:29:26: Error running the built-in web server. 4.2.4,708,41

    05/19/2018 13:42:50: Error running the built-in web server. 4.2.4,708,41

    05/19/2018 13:55:11: Error running the built-in web server. 4.2.4,708,41

    05/19/2018 14:33:51: Error running the built-in web server. 4.2.4,708,41

    05/19/2018 15:02:42: Error running the built-in web server. 4.2.4,708,41

    05/19/2018 15:37:40: Error running the built-in web server. 4.2.4,708,41

    05/19/2018 15:50:41: Error running the built-in web server. 4.2.4,708,41

    05/19/2018 16:03:23: Error running the built-in web server. 4.2.4,708,41

    05/19/2018 16:31:47: Error running the built-in web server. 4.2.4,708,41

    05/19/2018 16:45:45: Error running the built-in web server. 4.2.4,708,41

    05/19/2018 16:59:31: Error running the built-in web server. 4.2.4,708,41

    05/19/2018 17:30:22: Error running the built-in web server. 4.2.4,708,41

    05/19/2018 17:45:43: Error running the built-in web server. 4.2.4,708,41

    05/19/2018 18:04:25: Error running the built-in web server. 4.2.4,708,41

    05/19/2018 18:29:07: Error running the built-in web server. 4.2.4,708,41

    05/19/2018 18:40:43: Error running the built-in web server. 4.2.4,708,41

    05/19/2018 18:57:07: Error running the built-in web server. 4.2.4,708,41

    05/19/2018 19:27:03: Error running the built-in web server. 4.2.4,708,41

    05/19/2018 19:40:31: Error running the built-in web server. 4.2.4,708,41

    05/19/2018 19:51:54: Error running the built-in web server. 4.2.4,708,41

    05/20/2018 05:54:25: Error running the built-in web server. 4.2.4,708,41

    05/20/2018 06:28:21: Error running the built-in web server. 4.2.4,708,41

    05/20/2018 06:45:24: Error running the built-in web server. 4.2.4,708,41

    05/20/2018 06:55:36: Error running the built-in web server. 4.2.4,708,41

    05/20/2018 07:14:04: Error running the built-in web server. 4.2.4,708,41

    05/20/2018 07:27:56: Error running the built-in web server. 4.2.4,708,41
  • These errors are now muted in the latest beta version of SecuritySpy (currently 4.2.5b2), so you might like to download and install this one in order to stop the messages.

    I'm not sure why IP Cam Viewer would be triggering this problem, it may be doing something slightly unusual with its network connections, but in any case the bug does lie with macOS and not IP Cam Viewer.

    In our SecuritySpy iOS app, you may prefer to use the Multiplex feature to view four cameras full-screen in a grid view.
Sign In or Register to comment.