I have the same issue.
I tested my code separately, with head=NULL, 1 element list, 2 element list... yada yada.
They all work fine. But when I run in the OJ, I get the same thing you have above.
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.