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

First HTTP request hangs device #13

Open
kevingriffin opened this issue Nov 12, 2017 · 4 comments
Open

First HTTP request hangs device #13

kevingriffin opened this issue Nov 12, 2017 · 4 comments

Comments

@kevingriffin
Copy link

kevingriffin commented Nov 12, 2017

It seems that both of my IRKit units will hang after receiving their first HTTP request (like GET /messages). Looking at the serial monitor in the Arduino IDE, the request is acknowledged but never answered. The unit seems to get a little warm during this time, suggesting some kind of spinning behavior.

Firmware version is the latest (3.0)

@mash
Copy link
Member

mash commented Nov 13, 2017

Can you write the exact curl command line and curl version that replicates the problem, so that I can try with a unit in hand?

@kevingriffin
Copy link
Author

Sure:

curl http://<ip-address>/messages -H "X-Requested-With: curl"

I've been experimenting with the firmware and have found that returning earlier around

will cause a crash instead of the unit becoming unresponsive, so I'm iterating around there trying to find the cause.

@mash
Copy link
Member

mash commented Nov 13, 2017

That curl line is so normal that shouldn't be a common problem for all 12k units shipped so far.
Can you check:

  • If AC adaptor and USB cable are fine. I often hear power instability causing IRKit's instability.
  • Try another Wi-Fi accesspoint

?

@kevingriffin
Copy link
Author

Sure, I'll try to change these things tonight. One thing to add—I have two units, and they both started behaving this way suddenly a few weeks ago.

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