broken images in view with auth on, ok with auth off

Support and queries relating to all previous versions of ZoneMinder
Locked
bainssu
Posts: 19
Joined: Sat Feb 18, 2006 9:36 am

broken images in view with auth on, ok with auth off

Post by bainssu »

Hi,

I'm using zm 1.22.2,

with the authentication turned off the view is fine and the images come through clean. With the authentication turned on he images in montage view are broken.

has anyone else experienced this..?

regards

Surj
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Can you post the url that the images are being streamed from in both cases? You will have to view the source of the pages and search for zms.
Phil
bainssu
Posts: 19
Joined: Sat Feb 18, 2006 9:36 am

Post by bainssu »

here is the url for a 'regular' view with the auth turned off (works )

http://surj.ath.cx/cgi-bin/nph-zms?mode ... 1152279935

and now with it switched on (don't work)

http://surj.ath.cx/cgi-bin/nph-zms?mode ... 1152279750
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

just a thought you are on 1.22.2? as one of the previous versions had some issue with plain auth, you caould also try using plain ath instead of hashed and ee if that makes any difference. Also logs from zms would be nice
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
bainssu
Posts: 19
Joined: Sat Feb 18, 2006 9:36 am

Post by bainssu »

I'm on 1.22.2, I've just tried with plain auth which still returns a broken image.


here a snippet of some of the logs

/zmdc.log
Corrupt JPEG data: 12 extraneous bytes before marker 0xd9
Corrupt JPEG data: 6 extraneous bytes before marker 0xd9
Corrupt JPEG data: 12 extraneous bytes before marker 0xd9
Corrupt JPEG data: 8 extraneous bytes before marker 0xd9
Corrupt JPEG data: 6 extraneous bytes before marker 0xd9
Corrupt JPEG data: 6 extraneous bytes before marker 0xd9
Corrupt JPEG data: 9 extraneous bytes before marker 0xd9
Corrupt JPEG data: 9 extraneous bytes before marker 0xd9
Corrupt JPEG data: 13 extraneous bytes before marker 0xd9
Corrupt JPEG data: 13 extraneous bytes before marker 0xd9
Corrupt JPEG data: 6 extraneous bytes before marker 0xd9
Corrupt JPEG data: 9 extraneous bytes before marker 0xd9
Corrupt JPEG data: 8 extraneous bytes before marker 0xd9
Corrupt JPEG data: 8 extraneous bytes before marker 0xd9
Corrupt JPEG data: 12 extraneous bytes before marker 0xd9
Corrupt JPEG data: 8 extraneous bytes before marker 0xd9
Corrupt JPEG data: 12 extraneous bytes before marker 0xd9
Corrupt JPEG data: 8 extraneous bytes before marker 0xd9
Corrupt JPEG data: 8 extraneous bytes before marker 0xd9


/tmp/zmwatch.log

07/07/06 11:08:07.786786 zmwatch[9949].INF [Watchdog starting]
07/07/06 11:08:07.787260 zmwatch[9949].INF [Watchdog pausing for 30 seconds]
07/07/06 14:43:56.333546 zmwatch[18033].INF [Watchdog starting]
07/07/06 14:43:56.334023 zmwatch[18033].INF [Watchdog pausing for 30 seconds]
07/07/06 14:49:08.279459 zmwatch[18520].INF [Watchdog starting]
07/07/06 14:49:08.279933 zmwatch[18520].INF [Watchdog pausing for 30 seconds]
07/07/06 15:22:04.650691 zmwatch[18977].INF [Watchdog starting]
07/07/06 15:22:04.651169 zmwatch[18977].INF [Watchdog pausing for 30 seconds]
07/07/06 15:23:11.129821 zmwatch[19159].INF [Watchdog starting]
07/07/06 15:23:11.130301 zmwatch[19159].INF [Watchdog pausing for 30 seconds]



/tmp/zmaudit.log

07/07/06 15:23:10.821275 zmaudit[19154].DBG [Found database monitor '3']
07/07/06 15:23:10.824391 zmaudit[19154].DBG [Got 121 events]
07/07/06 15:23:10.824672 zmaudit[19154].DBG [Found filesystem monitor '1']
07/07/06 15:23:10.825746 zmaudit[19154].DBG [Got 172 events]
07/07/06 15:23:10.825841 zmaudit[19154].DBG [Found filesystem monitor '2']
07/07/06 15:23:10.827365 zmaudit[19154].DBG [Got 270 events]
07/07/06 15:23:10.827490 zmaudit[19154].DBG [Found filesystem monitor '3']
07/07/06 15:23:10.828211 zmaudit[19154].DBG [Got 121 events]


/tmp/zmaudit.log

07/07/06 14:49:07.605655 zmfilter[18510].INF [Scanning for events]
07/07/06 15:22:03.925439 zmfilter[18967].INF [Scanning for events]
07/07/06 15:23:10.516030 zmfilter[19149].INF [Scanning for events]

/tmp/zmpkg.log

07/07/06 14:43:38.660351 zmpkg[17937].INF [Command: restart]
07/07/06 14:48:50.620927 zmpkg[18397].INF [Command: restart]
07/07/06 15:21:46.815675 zmpkg[18881].INF [Command: restart]
07/07/06 15:22:53.594435 zmpkg[19063].INF [Command: restart]
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Have you restarted ZM after changing auth states so that the setting are properly passed to all the processes?

Regards,
Corey
Locked