Error: Printer halted. kill() called!

I have a problem. When I raise Z I got Error: Printer halted. kill() called! And the connection with temps where lost.
I’m using Octoprint.
What can cause this?
Thanks in advance!

I realized it was Octoprint causing this because it works in Repetier.