FirebaseStream_ESP8266 demo code crashes #208
Description
I was using the FirebaseStream_ESP8266 code on ESP-12E with Arduino IDE 1.6.12 and ESP8266 core 2.3.0. It crashes when call Firebase.available(). Not sure if it's a bug?
The crash info is:
connected: 192.168.137.136
[HTTP-Client][begin] host: publicdata-cryptocurrency.firebaseio.com port: 443 url: /bitcoin/last.json httpsFingerprint: 7A 54 06 9B DC 7A 25 B3 86 8D 66 53 48 2C 0B 96 42 C7 B3 0A
[hostByName] request IP for: publicdata-cryptocurrency.firebaseio.com
[hostByName] Host: publicdata-cryptocurrency.firebaseio.com lookup error: -5!
[HTTP-Client] failed connect to publicdata-cryptocurrency.firebaseio.com:443
[HTTP-Client][returnError] error(-1): connection refused
Before Firebase.available()
[HTTP-Client] getStreamPtr: not connected
Fatal exception 28(LoadProhibitedCause):
epc1=0x40208002, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000
Exception (28):
epc1=0x40208002 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000
ctx: cont
sp: 3fff2030 end: 3fff2470 offset: 01a0
stack>>>
3fff21d0: 3fff1388 00000038 3fff1388 40208002
3fff21e0: 3fff1388 3fff1218 3fff1388 402022c6
3fff21f0: 3fff1388 00000008 3fff2200 40206dbc <
3fff2200: 5454485b 6c432d50 746e6569 65725b5d
3fff2210: 6e727574 6f727245 65205d72 726f7272
3fff2220: 29312d28 6f63203a 63656e6e 6e6f6974
3fff2230: 66657220 64657375 3fff000a 402071c0
3fff2240: 3fff2280 3fff2250 00000008 4020720f
3fff2250: 0000002c 00000176 3fff1364 3fff1364
3fff2260: 0000002b 0000002c 3fff1364 00000012
3fff2270: ffffffff 3fff3924 0000002b 401006f0
3fff2280: 3fff1364 00000171 00000012 40207b70
3fff2290: 00000020 3fff2300 3fff2300 40202a07
3fff22a0: 3fff1364 0000016b 0000016b 4010020c
3fff22b0: ffffffff 3fff1238 3fff38ec 401008e0
3fff22c0: 3fff1364 00000171 3fff23e0 40207b98
3fff22d0: ffffffff 3fff1238 3fff391c 40202b74
3fff22e0: 3fff230c 00000000 3fff2300 40202b96
3fff22f0: ffffffff 3fff1238 3fff2328 40202bb2
3fff2300: 00000000 00000000 00000000 3ffe8f5c
3fff2310: ffffffff 3fff1238 3fff23e0 402028a2
3fff2320: ffffffff 3fff1238 3fff3960 3fff1238
3fff2330: 3fff1238 3fff1238 3fff1238 3fff3990
3fff2340: 3fff1364 0000017d 0000017d 4010020c
3fff2350: 3fffdad0 3fff1258 3fff397c 401008e0
3fff2360: 3fff1364 000000e1 3fff23e0 40207b98
3fff2370: 3fffdad0 3fff1258 3fff349c 40202b74
3fff2380: 3fff240c 3fff1218 3fff1218 40202b96
3fff2390: 3fff365c 00000000 3fff1364 40202bb2
3fff23a0: 3fff1238 0000001c 00000000 40202bb2
3fff23b0: 3fff365c 3fff1258 3fff1220 4020253c
3fff23c0: 3fff2410 3fff1258 3fff23e0 40202588
3fff23d0: 3fffdad0 3fff1258 3fff1218 402031d0
3fff23e0: 3ffe8fd8 3fff365c ffffffff 3fff3990
3fff23f0: 3fff1364 0000001c 0000001c 4010020c
3fff2400: 3fffdad0 3fff1258 3fff2e74 401008e0
3fff2410: 3ffe8ed0 00ffffff 3fff2430 40207164
3fff2420: 3fffdad0 3fff1258 3fff1218 40202256
3fff2430: 00000000 00000000 00000000 00000000
3fff2440: 00000000 00000000 feefeffe 40206bcd
3fff2450: feefeffe 00000000 3fff143d 40207df0
3fff2460: feefeffe feefeffe 3fff1450 40100970
<<<stack<<<
The only change I mad to the source code is to comment out Adafruit display, like enclosed below
FirebaseStream_ESP8266.ino.txt