For some reason the Duet was unable to read the file www/reprap.htm. This could mean that the SD card failed to mount - but then it wouldn't have executed config.g, so it wouldn't have processed the M552 S1 command to connect to your router.
I suggest you consider the possibility that your SD card may be on the way out, so back up all the files on it and have another SD card ready.