Skip to content

Updater generating String error messages #8130

Closed
@earlephilhower

Description

@earlephilhower

Basic Infos

  • This issue complies with the issue POLICY doc.
  • I have read the documentation at readthedocs and the issue is not addressed there.
  • I have tested that the issue is present in current master branch (aka latest git).
  • I have searched the issue tracker for a similar issue.
  • If there is a stack dump, I have decoded it.
  • I have filled out all fields below.

Platform

  • Hardware: [all]
  • Core Version: [3.0.0 + git master]
  • Development Env: [Arduino IDE|
  • Operating System: [all]

Settings in IDE

  • Module: [Wemos D1 mini r2]
  • Flash Mode: [dio]
  • Flash Size: [4MB]
  • lwip Variant: [v2 Lower Memory]
  • Reset Method: [ck|nodemcu]
  • Flash Frequency: [40Mhz]
  • CPU Frequency: [80Mhz|160MHz]
  • Upload Using: [SERIAL]
  • Upload Speed: [115200|other]

Problem Description

While debugging #8079 I am getting error messages from String. Need to figure out if this is a String problem, an Updater problem, or just a poorly worded debug message:

12:33:23.841 -> [HTTP-Client][begin] url: https://apps.95wd.com.cn/httpUpdate.ino.generic.bin
12:33:23.841 -> [HTTP-Client][begin] host: apps.95wd.com.cn port: 443 url: /httpUpdate.ino.generic.bin
12:33:23.841 -> [offending String op 134->165 ('x-ESP8266- ... 1662976
12:33:23.841 -> ')]
12:33:23.841 -> [offending String op 165->221 ('x-ESP8266- ... : 431296
12:33:23.841 -> ')]
12:33:23.841 -> [offending String op 221->251 ('x-ESP8266- ... 84e66870
12:33:23.874 -> ')]
12:33:23.874 -> [offending String op 251->294 ('x-ESP8266- ... 4194304
12:33:23.874 -> ')]
12:33:23.874 -> [offending String op 294->318 ('x-ESP8266- ... 38a443e)
12:33:23.874 -> ')]
12:33:23.874 -> [HTTP-Client][sendRequest] type: 'GET' redirCount: 0
12:33:23.874 -> [hostByName] request IP for: apps.95wd.com.cn
12:33:23.874 -> [hostByName] Host: apps.95wd.com.cn IP: 47.100.169.50
12:33:23.874 -> :ref 1

MCVE Sketch

See #8079

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions