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

Moderator: igrr

User avatar
By tttapa
#42493 When trying to run the HttpBasicAuth example (examples > ESP8266WebServer), it doesn't work:
Compiling and uploading works fine, the setup runs as desired (it prints the IP address etc.) But when I enter it in my browser (Google Chrome Linux 49.0.2623.75, 64-bit ), the ESP8266 just dumps its stack and reboots.

This is the output:
Code: Select allOpen http://192.168.1.15/ in your browser to see it working
New client
method: GET url: / search:
headerName: Host
headerValue: 192.168.1.15
headerName: Connection
headerValue: keep-alive
headerName: Authorization
headerValue: Basic YWRtaW46ZXNwODI2Ng==
headerName: Accept
headerValue: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
headerName: Upgrade-Insecure-Requests
headerValue: 1
headerName: User-Agent
headerValue: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36
headerName: Accept-Encoding
headerValue: gzip, deflate, sdch
headerName: Accept-Language
headerValue: en-US,en;q=0.8
args:
Request: /
 Arguments:

Exception (2):
epc1=0x3ffe8fd7 epc2=0x00000000 epc3=0x00000000 excvaddr=0x3ffe8fd4 depc=0x00000000

ctx: cont
sp: 3fff0f10 end: 3fff1380 offset: 01a0

>>>stack>>>
3fff10b0:  3fff1170 00000004 0000001f 40001e4b 
3fff10c0:  3fff10f2 00000000 00000000 00000000 
3fff10d0:  00000002 00000000 0000000a 00000000 
3fff10e0:  00000002 00000000 0000000a 00000000 
3fff10f0:  3f343038 00000000 3fffdbc0 3ffe9838 
3fff1100:  00000002 00000004 3fff1160 3fff1171 
3fff1110:  40106b60 00000000 3fff1d01 00000010 
3fff1120:  0000000d 00000000 000000a5 00000000 
3fff1130:  40201e4f 00000000 00000000 3fff10c0 
3fff1140:  3fffd83c 40002394 00000007 ffffffff 
3fff1150:  3fff1170 3fff1160 00000004 0000000a 
3fff1160:  40001f46 3ffe90be 3fff1d01 00000000 
3fff1170:  000000a5 ff000000 00000123 4010020c 
3fff1180:  3fff227c 0000002c 3fff227c 4010031d 
3fff1190:  40226d0e 00000918 3fff0270 40100426 
3fff11a0:  00000010 3ffe843b 00000000 40100537 
3fff11b0:  3fff1220 00000010 00000000 40100748 
3fff11c0:  3ffe85e0 0000000d 3fff1cf4 4020832b 
3fff11d0:  40106b8d 00000000 3fff1240 0000000d 
3fff11e0:  00000010 3fff1240 3fff1240 402082dc 
3fff11f0:  3ffe85e0 00000000 3fff1240 4020832b 
3fff1200:  3fff1220 3fff1210 3fff1240 4020835d 
3fff1210:  3ffe85e0 3fff2284 3fff1240 402083ae 
3fff1220:  3ffe85e0 a5a50020 00000004 402088f4 
3fff1230:  3ffe85e0 3fff2284 3fff1cf4 40205609 
3fff1240:  00000000 00000000 00000000 3fff1d3c 
3fff1250:  0000001f 00000014 00000000 40205c0c 
3fff1260:  00000000 3ffe8443 3ffe843b 402082dc 
3fff1270:  3fff21a4 00000001 3fff12c0 40205c0c 
3fff1280:  00000001 00000001 3ffef7b8 40202275 
3fff1290:  00000001 00000001 3fff1cec 401008c8 
3fff12a0:  00000000 00000001 3fff20f4 40205c02 
3fff12b0:  3fff20f4 3ffef7f4 3fff20f4 40205c3e 
3fff12c0:  00000000 00000000 00000000 40208448 
3fff12d0:  3fff20f4 3ffef7f4 3ffef7b8 40205cd5 
3fff12e0:  3fff21a4 0000000f 00000001 40207a59 
3fff12f0:  3ffef7f4 00000002 3fff00dc 00000001 
3fff1300:  00000001 0000000f 3fff0298 40207b54 
3fff1310:  00000000 00000000 3ffef7b8 3fff0354 
3fff1320:  00000001 3ffef7d8 3ffef7b8 40205f23 
3fff1330:  3ffe8640 00000000 000003e8 40207ba0 
3fff1340:  00000000 3fff230c 3fff0298 402023c4 
3fff1350:  3fffdad0 00000000 3fff034c 402023e6 
3fff1360:  3fffdad0 00000000 3fff034c 40208a08 
3fff1370:  feefeffe feefeffe 3fff0360 40100958 
<<<stack<<<

 ets Jan  8 2013,rst cause:2, boot mode:(3,7)

load 0x4010f000, len 1264, room 16
tail 0
chksum 0x42
csum 0x42
~ld
Open http://192.168.1.15/ in your browser to see it working


I'm using the latest GitHub version (2016-03-05) of ESP8266 in Arduino IDE 1.6.7, an ESP-07 board with 1M of flash, compiled as: Generic ESP8266 Module, Serial, 80MHz, 40MHz, QIO, 115200, 1M (512K SPIFFS), ck, Disabled, All. Using a Teensy 3.2 as USB to serial converter.