[erlang-questions] Invalid data on distribution channel

Vlad Dumitrescu vladdu55@REDACTED
Fri Dec 22 09:18:33 CET 2006


On 12/22/06, Bob Cowdery <Bob.Cowdery@REDACTED> wrote:
> Got invalid data on distribution channel, offending packet is: <<112,131,104,3,9
> 7,2,100,0,0,103,100,0,20,115,119,105,116,99,104,101,114,64,76,84,45,86,65,73,79,
> 45,49,48,48,0,0,0,51,0,0,0,0,2,0,0,0,83,112,131,104,3,97,2,100,0,0,103,100,0,20,
> 115,119,105,116,99,104,101,114,64,76,84,45,86,65,73,79>>

The giveaway is the second byte, 131, which is the marker for binary
encoded Erlang terms. Removing the initial 112 and running the rest of
the binary through binary_to_term/1, the result is {2,'',<6770.51.0>}


More information about the erlang-questions mailing list