Using the new Arduino IDE for ESP8266 and found bugs, report them here

Moderator: igrr

User avatar
By Daemach
#55268 I tried it, and the other URL works. It starts blinking after a manual reset.

I used generic 8266, 80/80 MHz, DIO, 4M (3M SPIFFS), ck. I upload the file to the board to verify that it works, then go to the build folder and put the same bin on the server after renaming it. It's the same file :/

I'm running Lucee on this end which is based on bare-bones tomcat. Is it possible that the mime type is hosed or something? How would I check? When I download the file in chrome it seems normal.
User avatar
By Daemach
#55269 I don't think MIME type is the problem.

These are headers from the iotappstore:

http://iotappstore.org/blink.bin

GET /blink.bin HTTP/1.1
Host: iotappstore.org
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive
Upgrade-Insecure-Requests: 1

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: application/octet-stream
Last-Modified: Sat, 03 Sep 2016 05:32:18 GMT
Accept-Ranges: bytes
Etag: "66152089a45d21:0"
Server: Microsoft-IIS/7.5
X-Powered-By: ASP.NET
Date: Sat, 17 Sep 2016 11:55:53 GMT
Content-Length: 226368


These are from my server:

http://guardian.synaptrix.com/spooky.bin

GET /spooky.bin HTTP/1.1
Host: guardian.synaptrix.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive
Upgrade-Insecure-Requests: 1

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Accept-Ranges: bytes
Etag: W/"226352-1474109823000"
Last-Modified: Sat, 17 Sep 2016 10:57:03 GMT
Content-Type: application/octet-stream
Content-Length: 226352
Date: Sat, 17 Sep 2016 11:57:28 GMT
User avatar
By Daemach
#55271 Sorry - module is ESP-12 from Espressif. Same unit as in the Adafruit Huzzah.
The blue LED on the ESP module blinks in both his and my sketches.