Originally Posted by Wims
Remove the -n switch on your /sockwrite which is sending an extra $crlf at the end.

Still same error..