ESP32 - basic tutorial not working


I have a ESP32 DevKitC.

I registrered and virtualized it. I have setup AWS IoT as shown in this tutorial. I compile the code and uplink it. It gives me this error:

connecting to wifi…

[Thread 1 exited with exception IOError @[0048:0013:0000:0063:0000:0000:0000:0000]](javascript:window.except(’@[0048:0013:0000:0063:0000:0000:0000:0000]’,'Thread 1 exited with exception IOError '))

ets Jun 8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)

configsip: 0, SPIWP:0xee


mode:DIO, clock div:2



ho 0 tail 12 room 4


ho 0 tail 12 room 4


entry 0x400806c0

E (32) boot: OTA: -1/-1 -1/-1 -1/-4

E (33) boot: Invalid ota, returning default vm 0

E (33) boot: Starting vm 0

[Thread 1 exited with exception IOError at line 35 of main](javascript:app.go_to_exception(‘c:\users\b\cpp’,‘c:\users\b\cpp\’,35))

[raised at line 97 of](javascript:app.go_to_exception(‘c:\users\b\cpp’,‘c:\users\b\zerynth2\dist\r2.6.3\stdlib\wireless\’,97))

The line in question is“SSID”,wifi.WIFI_WPA2,“Password”). (I have SSID and WIFI password there respectively, and all other devices in the household can connect to this wifi).

What can be the issue?

This is the tutorial in question: