Axentro / Axentro

To be the go to platform for building dApps quickly and cheaply for business and gaming
https://axentro.io
MIT License
193 stars 20 forks source link

Sushid died after some hours on OSX (Strange bug) #162

Closed kingsleyh closed 6 years ago

kingsleyh commented 6 years ago

No idea what caused this:


[ 2018-05-06 20:27:25 --   Error ] Unexpected char '' at 1:2013528
[ 2018-05-06 20:27:26 --   Error ] /usr/local/Cellar/crystal-lang/0.24.2_1/src/json/lexer.cr:365:7 in 'raise'
/usr/local/Cellar/crystal-lang/0.24.2_1/src/json/lexer.cr:361:5 in 'unexpected_char'
/usr/local/Cellar/crystal-lang/0.24.2_1/src/json/lexer.cr:360:11 in 'unexpected_char'
/usr/local/Cellar/crystal-lang/0.24.2_1/src/json/lexer/string_based.cr:163:11 in 'consume_string_slow_path'
/usr/local/Cellar/crystal-lang/0.24.2_1/src/json/lexer/string_based.cr:22:16 in 'consume_string'
/usr/local/Cellar/crystal-lang/0.24.2_1/src/json/lexer.cr:61:37 in 'next_token'
/usr/local/Cellar/crystal-lang/0.24.2_1/src/json/parser.cr:108:11 in 'next_token'
/usr/local/Cellar/crystal-lang/0.24.2_1/src/json/parser.cr:85:19 in 'parse_object'
/usr/local/Cellar/crystal-lang/0.24.2_1/src/json/parser.cr:35:7 in 'parse_value'
/usr/local/Cellar/crystal-lang/0.24.2_1/src/json/parser.cr:13:12 in 'parse'
/usr/local/Cellar/crystal-lang/0.24.2_1/src/json.cr:88:5 in 'parse_raw'
/usr/local/Cellar/crystal-lang/0.24.2_1/src/json.cr:83:13 in 'parse'
~procProc(String, Nil)@src/core/node.cr:137
/usr/local/Cellar/crystal-lang/0.24.2_1/src/http/web_socket.cr:255:3 in 'run'
~procProc(Nil)@src/core/node/components/chord.cr:81
/usr/local/Cellar/crystal-lang/0.24.2_1/src/fiber.cr:255:3 in 'run'
~proc2Proc(Fiber, (IO::FileDescriptor | Nil))@/usr/local/Cellar/crystal-lang/0.24.2_1/src/fiber.cr:29
Unhandled exception in spawn:
Invalid packet opcode: 5 (Exception)
  from /usr/local/Cellar/crystal-lang/0.24.2_1/src/http/web_socket/protocol.cr:0:7 in 'read_opcode'
  from /usr/local/Cellar/crystal-lang/0.24.2_1/src/http/web_socket/protocol.cr:149:5 in 'read_header'
  from /usr/local/Cellar/crystal-lang/0.24.2_1/src/http/web_socket/protocol.cr:106:7 in 'receive'
  from /usr/local/Cellar/crystal-lang/0.24.2_1/src/http/web_socket.cr:102:16 in 'run'
  from ~procProc(Nil)@src/core/node/components/chord.cr:81
  from /usr/local/Cellar/crystal-lang/0.24.2_1/src/fiber.cr:255:3 in 'run'
  from ~proc2Proc(Fiber, (IO::FileDescriptor | Nil))@/usr/local/Cellar/crystal-lang/0.24.2_1/src/fiber.cr:29
Unhandled exception in spawn:
Error writing to socket: Broken pipe (Errno)
  from /usr/local/Cellar/crystal-lang/0.24.2_1/src/socket.cr:72:11 in 'unbuffered_write'
  from /usr/local/Cellar/crystal-lang/0.24.2_1/src/io/buffered.cr:112:14 in 'write'
  from /usr/local/Cellar/crystal-lang/0.24.2_1/src/io.cr:859:5 in 'write_byte'
  from /usr/local/Cellar/crystal-lang/0.24.2_1/src/io/buffered.cr:145:14 in 'write_byte'
  from /usr/local/Cellar/crystal-lang/0.24.2_1/src/http/web_socket/protocol.cr:117:5 in 'write_header'
  from /usr/local/Cellar/crystal-lang/0.24.2_1/src/http/web_socket/protocol.cr:99:5 in 'send'
  from /usr/local/Cellar/crystal-lang/0.24.2_1/src/http/web_socket/protocol.cr:98:3 in 'send'
  from /usr/local/Cellar/crystal-lang/0.24.2_1/src/http/web_socket/protocol.cr:218:7 in 'ping'
  from /usr/local/Cellar/crystal-lang/0.24.2_1/src/http/web_socket.cr:75:5 in 'ping'
  from /usr/local/Cellar/crystal-lang/0.24.2_1/src/http/web_socket.cr:73:3 in 'ping'
  from src/core/node/components/chord.cr:449:7 in 'ping'
  from src/core/node/components/chord.cr:440:9 in 'ping_all'
  from ~procProc(Nil)@src/core/node/components/chord.cr:257
  from /usr/local/Cellar/crystal-lang/0.24.2_1/src/fiber.cr:255:3 in 'run'
  from ~proc2Proc(Fiber, (IO::FileDescriptor | Nil))@/usr/local/Cellar/crystal-lang/0.24.2_1/src/fiber.cr:29```
tbrand commented 6 years ago

Was it connecting to testnet.sushichain.io? Or local node.

kingsleyh commented 6 years ago

Testnet

tbrand commented 6 years ago

I think this had been fixed at some commit.