firebase-arduino: FirebaseStream demo example crashes

I used every method of this library with my nodeMCU, everything works great but default streaming example crashes. might be related to https://github.com/firebase/firebase-arduino/issues/208 ?

connected: 192.168.1.27

Exception (28):
epc1=0x4020762e epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000

ctx: cont 
sp: 3fff0e20 end: 3fff1260 offset: 01a0

>>>stack>>>
3fff0fc0:  00000002 00000000 00000000 4020762e  
3fff0fd0:  3fff4b4e 402332c0 3fff4b4e 40202293  
3fff0fe0:  3fff202c 5c5c5c5c 5c5c5c5c 5c5c5c5c  
3fff0ff0:  5c5c5c5c 5c5c5c5c 5c5c5c5c 00000002  
3fff1000:  3fff1784 00000003 3fff202c 402335a5  
3fff1010:  3e170732 3579df7d 62b1fa6c d12a69a1  
3fff1020:  446d900c 36363636 36363636 3fff4b14  
3fff1030:  3fff4b14 3fff2038 3fff202c 4023380c  
3fff1040:  36363636 36363636 36363636 36363636  
3fff1050:  000000c0 00028d13 0000a8c0 40234754  
3fff1060:  c74f4233 9509c8bb 334cea44 3fff4da4  
3fff1070:  3fff4c20 3fff4c1c 00000080 00000006  
3fff1080:  00000000 00000000 1483b0d9 000000f2  
3fff1090:  0000002f 0000003c 3fff4e4d 00000080  
3fff10a0:  00000000 00000006 3fff4b14 40234788  
3fff10b0:  3fff202c 00000000 00000000 00000000  
3fff10c0:  00001c34 00000006 3fff4b14 402347c8  
3fff10d0:  3fff202c 3fff27b9 3fff4da4 40107084  
3fff10e0:  3fff4c1c 3fff4c20 00000006 00000001  
3fff10f0:  3fff4c1c 00000001 3fff4b14 00000000  
3fff1100:  3fff4a74 3fff4c20 3fff4c1c 402322fa  
3fff1110:  0000269c 3fff4b70 3fff4c1c 40231f79  
3fff1120:  3fff01e4 00000140 00000140 4010020c  
3fff1130:  3fffdad0 00000000 3fff2584 4010068c  
3fff1140:  3fffdad0 3fff00d8 3fff2584 4020713c  
3fff1150:  3fff01e4 3fff2794 3fff2584 4020434e  
3fff1160:  3fffdad0 3fff00d8 3fff2794 40204370  
3fff1170:  3fff11fc 3fff00d8 3fff2348 4020506a  
3fff1180:  3fff2344 00000000 3fff2348 4020306e  
3fff1190:  3fff00c8 3fff1220 3fff11d0 402037b4  
3fff11a0:  3fff2344 3fff00d8 3fff00b0 402024c4  
3fff11b0:  3fff1200 3fff00d8 3fff11d0 40202510  
3fff11c0:  3fffdad0 3fff00d8 3fff00a8 4020368c  
3fff11d0:  3ffe8fb0 3fff2344 00000000 3fff00c8  
3fff11e0:  3fff01e4 00000015 00000015 4010020c  
3fff11f0:  3fffdad0 3fff00d8 3fff1220 4010068c  
3fff1200:  3ffe8edc 00ffffff 3fff00a8 40206708  
3fff1210:  3fffdad0 3fff00d8 3fff00a8 40202256  
3fff1220:  00000000 00000000 00000000 00000000  
3fff1230:  00000000 00000000 feefeffe feefeffe  
3fff1240:  feefeffe 00000000 3fff0229 4020738c  
3fff1250:  feefeffe feefeffe 3fff0240 40100718  
<<<stack<<<

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 27

Commits related to this issue

Most upvoted comments

It seems that the Firebase streaming endpoint started returning Connection: close causing the ESP8266HTTPClient to close the connection in ESP8266HTTPClient::end

Forcing _canReuse to true here workaround the issue: https://github.com/esp8266/Arduino/blob/a01638f3b5bb08a777ba0f005c59fdbf8c74df1f/libraries/ESP8266HTTPClient/src/ESP8266HTTPClient.cpp#L940