I have managed to figure out the issue.
The username and Password set with the .username and .password in the config is being cleared by the function esp_http_client_set_url. If you remove the last 4 lines, it then works as expected. Posting so anyone else can benefit from this issue.
Thanks
esp ...
Search found 3 matches
- Tue Jan 22, 2019 3:14 pm
- Forum: ESP-IDF
- Topic: HTTP Authentication fails when using config with username, password entry
- Replies: 8
- Views: 16827
- Mon Jan 21, 2019 6:33 pm
- Forum: ESP-IDF
- Topic: HTTP Authentication fails when using config with username, password entry
- Replies: 8
- Views: 16827
Re: HTTP Authentication fails when using config with username, password entry
HI All,
Did anyone work this out? I have the basic code, as the example, and i have used WireShark, i can see it asking for Authentication, but the HTTP Client does not add it to the header?
Is there something I am missing? Did anyone get this to work?
Thanks
Simon
Did anyone work this out? I have the basic code, as the example, and i have used WireShark, i can see it asking for Authentication, but the HTTP Client does not add it to the header?
Is there something I am missing? Did anyone get this to work?
Thanks
Simon
- Sat Aug 11, 2018 2:44 pm
- Forum: ESP-IDF
- Topic: Panic with Wifi and Timer Interrupt
- Replies: 0
- Views: 3385
Panic with Wifi and Timer Interrupt
Hi All,
Sorry if this is a silly question, i have been working with my ESP32 and GPIO, and i have just started to add wifi to it. However, it keeps Panic'ing.
I have tracked it down to setting a pin level in the timer interrupt:
I have put my code below:
void IRAM_ATTR timer_group0_isr0(void ...
Sorry if this is a silly question, i have been working with my ESP32 and GPIO, and i have just started to add wifi to it. However, it keeps Panic'ing.
I have tracked it down to setting a pin level in the timer interrupt:
I have put my code below:
void IRAM_ATTR timer_group0_isr0(void ...