Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP8266 webserver and websocket server same port. #4

Open
dm5xx opened this issue Nov 28, 2021 · 0 comments
Open

ESP8266 webserver and websocket server same port. #4

dm5xx opened this issue Nov 28, 2021 · 0 comments

Comments

@dm5xx
Copy link

dm5xx commented Nov 28, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant