Issues sending data via HTTP(s) using Freematics telelogger
Posted: Sun Jul 12, 2020 6:15 pm
I've been trying to get a simple HTTP post event sent from a FreematicsPlus device.
Sending via UDP is fine, but as soon as I set #define SERVER_PROTOCOL PROTOCOL_HTTPS I get the following errors and an infinite reboot.
I have not changed any other code, other than setting #define SERVER_HOST to my own server endpoint which is simply logging all request received to a file.
Once #define SERVER_PROTOCOL PROTOCOL_HTTPS as been set, the following is output in the console:
Any help would be appreciated.
Sending via UDP is fine, but as soon as I set #define SERVER_PROTOCOL PROTOCOL_HTTPS I get the following errors and an infinite reboot.
I have not changed any other code, other than setting #define SERVER_HOST to my own server endpoint which is simply logging all request received to a file.
Once #define SERVER_PROTOCOL PROTOCOL_HTTPS as been set, the following is output in the console:
Code: Select all
GNSS:OK
OBD:NO
WiFiGuru Meditation Error: Core 1 panic'ed (InstrFetchProhibited). Exception was unhandled.
Core 1 register dump:
PC : 0x3f4025ea PS : 0x00060c30 A0 : 0x800d6aa9 A1 : 0x3ffb3db0
A2 : 0x3ffc1284 A3 : 0x00000014 A4 : 0x3ffc1284 A5 : 0x00000000
A6 : 0x3ffc1284 A7 : 0x00000009 A8 : 0x8015409d A9 : 0x3ffb3d80
A10 : 0x3ffc1284 A11 : 0x3ffb3dbf A12 : 0x00000001 A13 : 0x0000df80
A14 : 0x3ffc39a4 A15 : 0x3ffc39b8 SAR : 0x0000000a EXCCAUSE: 0x00000014
EXCVADDR: 0x3f4025e8 LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0xffffffff
Backtrace: 0x3f4025ea:0x3ffb3db0 0x400d6aa6:0x3ffb3de0 0x400d165b:0x3ffb3e10 0x400d1a53:0x3ffb3f50 0x400d27d9:0x3ffb3f70 0x4008ce91:0x3ffb3fe0
Rebooting...
ets Jun 8 2016 00:22:57
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:8896
load:0x40080400,len:5828
entry 0x400806ac
E (132) spiram: SPI RAM not initialized
E (132) esp_himem: Cannot allocate memory for meta info. Not initializing!