Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSError: -202 #15

Open
tremblayraphael29 opened this issue Jan 25, 2021 · 0 comments
Open

OSError: -202 #15

tremblayraphael29 opened this issue Jan 25, 2021 · 0 comments

Comments

@tremblayraphael29
Copy link

tremblayraphael29 commented Jan 25, 2021

Hello,
I cloned the project and put my wi-fi connection information.
But I get an error.

I have a esp32 with esp32-idf3-20200902-v1.13 firmware.
Same with esp32-idf4-20200902-v1.13

Uploading` project (main folder)...
Not safe booting, disabled in settings

Uploading to /...
Reading file status
Failed to read project status, uploading all files
Creating dir app
[1/7] Writing file app/httpclient.py (5kb)
[2/7] Writing file app/ota_updater.py (10kb)
[3/7] Writing file app/secrets.py (0kb)
[4/7] Writing file app/start.py (0kb)
[5/7] Writing file app/init.py (0kb)
[6/7] Writing file main.py (2kb)
[7/7] Writing file init.py (0kb)
Upload done, resetting board...
OKets 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:5148
load:0x40078000,len:12880
load:0x40080400,len:3484
entry 0x40080630
I (539) cpu_start: Pro cpu up.
I (539) cpu_start: Application information:
I (539) cpu_start: Compile time: Sep 2 2020 03:04:09
I (542) cpu_start: ELF file SHA256: 0000000000000000...
I (548) cpu_start: ESP-IDF: v4.0.1
I (553) cpu_start: Starting app cpu, entry point is 0x40082830
I (545) cpu_start: App cpu up.
I (564) heap_init: Initializing. RAM available for dynamic allocation:
I (570) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (577) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM
I (583) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
I (589) heap_init: At 3FFBDB5C len 00000004 (0 KiB): DRAM
I (595) heap_init: At 3FFCAD78 len 00015288 (84 KiB): DRAM
I (601) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (607) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (614) heap_init: At 4009E9D8 len 00001628 (5 KiB): IRAM
I (620) cpu_start: Pro cpu start user code
I (638) spi_flash: detected chip: generic
I (639) spi_flash: flash io: dio
I (639) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
Memory free 106688
I (1740) modsocket: Initializing
I (1770) wifi:wifi driver task: 3ffd1d98, prio:23, stack:6656, core=0
I (4188) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (4198) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (4398) wifi:wifi firmware version: aa5336b
I (4408) wifi:config NVS flash: enabled
I (4408) wifi:config nano formating: disabled
I (4408) wifi:Init dynamic tx buffer num: 32
I (4408) wifi:Init data frame dynamic rx buffer num: 32
I (4408) wifi:Init management frame dynamic rx buffer num: 32
I (4418) wifi:Init management short buffer num: 32
I (4418) wifi:Init static rx buffer size: 1600
I (4428) wifi:Init static rx buffer num: 10
I (4428) wifi:Init dynamic rx buffer num: 32
connecting to network...
W (4438) phy_init: failed to load RF calibration data (0x1102), falling back to full calibration
I (4588) phy: phy_version: 4180, cb3948e, Sep 12 2019, 16:39:13, 0, 2
I (4658) wifi:mode : sta (fc:f5:c4:31:64:e0)
I (4658) wifi: STA_START
I (5988) wifi:new:<11,0>, old:<1,0>, ap:<255,255>, sta:<11,0>, prof:1
I (6838) wifi:state: init -> auth (b0)
I (6918) wifi:state: auth -> assoc (0)
I (6928) wifi:state: assoc -> run (10)
I (6958) wifi:connected with mate20raph, aid = 6, channel 11, BW20, bssid = a4:9b:4f:64:6b:bb
I (6958) wifi:security: WPA2-PSK, phy: bgn, rssi: -22
I (6958) wifi:pm start, type: 1

I (6968) network: CONNECTED
I (6988) wifi:AP's beacon interval = 102400 us, DTIM period = 2
I (7558) tcpip_adapter: sta ip: 192.168.43.198, mask: 255.255.255.0, gw: 192.168.43.1
I (7558) network: GOT_IP
network config: ('192.168.43.198', '255.255.255.0', '192.168.43.1', '192.168.43.1')
Traceback (most recent call last):
File "main.py", line 51, in
File "main.py", line 23, in connectToWifiAndUpdate
File "app/ota_updater.py", line 77, in install_update_if_available
File "app/ota_updater.py", line 104, in _check_for_new_version
File "app/ota_updater.py", line 125, in get_latest_version
File "app/httpclient.py", line 145, in get
File "app/httpclient.py", line 75, in request
OSError: -202

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant