Skip to content

ESP8266 webserver and websocket server same port. #4

@dm5xx

Description

@dm5xx

hi youbox,

im was using the original espasyncwebserver, but had the same issue (but different exception). my problem is, that im running a webserver and websocketserver at the same time. without the webserver, all seems to work fine. but when im having handler attached (only 1) and i am firing websocket commands (abt 100ms time between), than after some time, its crashing.

Exception (9):
epc1=0x402047fc epc2=0x00000000 epc3=0x00000000 excvaddr=0x6c6d782e depc=0x00000000

Exception 9: LoadStoreAlignmentCause: Load or store to an unaligned address
PC: 0x402047fc
EXCVADDR: 0x6c6d782e

Decoding stack results
0x40249961: ip4_input at core/ipv4/ip4.c line 901
0x402147c6: __frame_state_for at /workdir/repo/gcc-gnu/libgcc/unwind-dw2.c line 1374
0x402149e4: _Unwind_Resume at /workdir/repo/gcc-gnu/libgcc/unwind.inc line 247
0x40248a55: igmp_start at core/ipv4/igmp.c line 134
0x40248850: ip4addr_aton at core/ipv4/ip4_addr.c line 243
0x40243aa4: tcp_kill_state at core/tcp.c line 1768
0x40228754: std::__cxx11::money_put > >::_M_insert (std::ostreambuf_iterator >, std::ios_base&, char, std::__cxx11::basic_string , std::allocator > const&) const at /workdir/arena.x86_64/gcc-gnu/xtensa-lx106-elf/libstdc++-v3/include/bits/char_traits.h line 329
0x40216100: _printf_float at /workdir/repo/newlib/newlib/libc/stdio/nano-vfprintf_float.c line 330

Can you help me somehow? maybe u need some code? im really clueless, why and whats going on :(
tnx. mike.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions