5 Replies Latest reply on Jan 12, 2015 12:53 PM by Intel_Luis

    Galileo HTTP server fails to restart on re-download




      I'm trying to write a simple web server for Galileo (gen 2) and find the server keeps crashing.

      To reproduce:

      1. Boot Galileo from MicroSD
      2. In the Intel Arduino IDE, download and start the HTTPServer Sketch, attached
      3. open a serial monitor; wait 10 seconds to see the IP address the board has been assigned.
      4. In a browser, browse to http://that_ip_address/hello and keep the browser open.
      5. You will see the browser's requests appear in the serial monitor window (that's good)
      6. In the Arduino IDE, click the download button, to re-download and re-start the sketch
      7. Open the serial monitor again, and wait again for the IP address to be printed.
      8. in the browser, refresh the page
      9. The browser reports connection refused; the serial monitor shows nothing.
      10. At this point, I have to power-cycle the Galileo for the server to work again.



      Galileo: Gen 2

      MicroSD: Galileo linux version I downloaded a week or so ago, from Galileo Software Downloads.

      Browser: Chrome, Version 39.0.2171.65 m

      PC: Windows 7.

      Intel Arduino IDE: 1.5.3-Intel.1.0.4