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

Given example is not working. #1

Open
shyam3089 opened this issue Jun 14, 2023 · 1 comment
Open

Given example is not working. #1

shyam3089 opened this issue Jun 14, 2023 · 1 comment

Comments

@shyam3089
Copy link

shyam3089 commented Jun 14, 2023

The given example code just outputs:

00:06:27.056 -> [SIoC] Disconnected! 00:06:27.286 -> [SIoC] add packet 42["status",Hello from esp32!] 00:06:27.595 -> [SIoC] Disconnected! 00:06:28.154 -> [SIoC] Disconnected! 00:06:28.716 -> [SIoC] Disconnected!

And CocketIO server is not receiving anything:

Python code:
@socketio.on('status') def test_connect(data): logging.info("receiving: "+data) socketio.emit('event', {"data":"received..."})

What could be the issue here?

@sostenesapollo
Copy link

Mine is connecting, but not receiving the messages in the server

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

2 participants