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

Beagle Bone Black and Rpi - Socket Fails #25

Closed
utre opened this issue May 8, 2014 · 5 comments
Closed

Beagle Bone Black and Rpi - Socket Fails #25

utre opened this issue May 8, 2014 · 5 comments
Labels

Comments

@utre
Copy link

utre commented May 8, 2014

I have not been able to get the example app to establish a socket on either a Beagle Bone Black or a Raspberry Pi. I have been able to get it to work on a vanilla Ubuntu install.

The client keeps falling back to xhr polling; however, neither the server generated messages nor the echo message come back to the client.

Is there a known issue with gevent for these two devices?

Thanks,

John

@miguelgrinberg
Copy link
Owner

Not that I know of. What version of Python are you using?

@utre
Copy link
Author

utre commented May 8, 2014

2.7.3

@miguelgrinberg
Copy link
Owner

Just built everything on my Pi and don't see any issues, I can connect from my Ubuntu PC and messages flow back and forth using the sample app.

@utre
Copy link
Author

utre commented May 13, 2014

Miquel,

Thanks for getting back to me. My apologies for the wait.

I was just able to get the example app up and running on the Beagle Bone Black. I had put in the actual IP address as an argument to the host parameter of the run method rather than "0.0.0.0".

Thanks, again--so sorry to have bothered you with something that was on my end.

Best,

John

----- Original Message -----
From: "Miguel Grinberg" notifications@github.com
To: "miguelgrinberg/Flask-SocketIO" Flask-SocketIO@noreply.github.com
Cc: "utre" utre@comcast.net
Sent: Wednesday, May 7, 2014 11:54:21 PM
Subject: Re: [Flask-SocketIO] Beagle Bone Black and Rpi - Socket Fails (#25)

Just built everything on my Pi and don't see any issues, I can connect from my Ubuntu PC and messages flow back and forth using the sample app.


Reply to this email directly or view it on GitHub .

@miguelgrinberg
Copy link
Owner

The '0.0.0.0' is necessary only if you want to access the server from the outside. Note that this is not specific to the Pi/BBB but to all machines.

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

No branches or pull requests

2 participants