Re: Nothing is working after the update to 3.7.0
Re: Nothing is working after the update to 3.7.0
Re: Nothing is working after the update to 3.7.0
Re: Nothing is working after the update to 3.7.0
Re: Nothing is working after the update to 3.7.0
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x4010f000, len 3664, room 16
tail 0
chksum 0xee
csum 0xee
v39c79d9b
~ld
SDK:2.2.2-dev(38a443e)/Core:2.7.2=20702000/lwIP:STABLE-2_1_2_RELEASE/glue:1.2-30-g92add50/BearSSL:5c771be
wifi evt: 2
Adafruit IO MQTTS (SSL/TLS) Example
Connecting to IoT
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
.scandone
state: 3 -> 2 (b0)
..state: 2 -> 0 (2)
reconnect
wifi evt: 1
STA disconnect: 2
......scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 2
cnt
connected with IoT, channel 6
dhcp client start...
wifi evt: 0
ip:172.16.69.118,mask:255.255.255.0,gw:172.16.69.1
wifi evt: 3
.
WiFi connected
IP address:
172.16.69.118
Connecting to MQTT... [hostByName] request IP for: io.adafruit.com
[hostByName] Host: io.adafruit.com IP: 52.7.124.212
:ref 1
BSSL:_connectSSL: start connection
:wr 220 0
:wrc 220 220 0
:er -14 0x00000000
BSSL:_wait_for_handshake: failed
BSSL:Couldn't connect. Error = 'Unknown error code.'
Connection failed
Retrying MQTT connection in 5 seconds...
[hostByName] request IP for: io.adafruit.com
[hostByName] Host: io.adafruit.com IP: 52.7.124.212
:ur 1
:dsrcv 0
:del
:ref 1
BSSL:_connectSSL: start connection
:wr 220 0
:wrc 220 220 0
:er -14 0x00000000
BSSL:_wait_for_handshake: failed
BSSL:Couldn't connect. Error = 'Unknown error code.'
Connection failed
Retrying MQTT connection in 5 seconds...
pm open,type:2 0
[hostByName] request IP for: io.adafruit.com
[hostByName] Host: io.adafruit.com IP: 52.7.124.212
:ur 1
:dsrcv 0
:del
:ref 1
BSSL:_connectSSL: start connection
:wr 220 0
:wrc 220 220 0
:er -14 0x00000000
BSSL:_wait_for_handshake: failed
BSSL:Couldn't connect. Error = 'Unknown error code.'
Connection failed
Retrying MQTT connection in 5 seconds...
--------------- CUT HERE FOR EXCEPTION DECODER ---------------
Soft WDT reset
>>>stack>>>
ctx: cont
sp: 3ffffde0 end: 3fffffc0 offset: 01a0
3fffff80: 00000001 3ffee710 3ffee910 4020119e
3fffff90: 3fffdad0 00000000 3ffee95c 402011ec
3fffffa0: 3fffdad0 00000000 3ffee95c 40207280
3fffffb0: feefeffe feefeffe 3ffe84f4 40101231
<<<stack<<<
Re: Nothing is working after the update to 3.7.0
Re: Nothing is working after the update to 3.7.0
Re: Nothing is working after the update to 3.7.0
Re: Nothing is working after the update to 3.7.0
The_Bucho wrote:I'm having a similar problem, though only when I use the Ethernet wing.
My Huzzah32 is able to connect to io just fine through wifi, but the project will be installed in some locations where wifi is unavailable, so I'm adding a version of the sketch to enable an ethernet wing.
When the wing is used, the serial monitor will print "Connecting to Adafruit IO" and stay there. In fact, the while loop doesn't seem to be running so I'm not sure that io.connect() is even executing. I'm not seeing "." printed on the monitor to indicate that the function ran at all.
Getting this ethernet wing to work has been very difficult. I was working on it three months ago, quit, and came back to it yesterday. Still no luck.
Re: Nothing is working after the update to 3.7.0
From reading around, I suppose this is possibly from the SSL update and the fingerprint of the cert is not updated in the ethernet library....but there's no suggestion here in the forum of that problem applying to the ethernet feather...only to wifi and WINC1500.
Re: Nothing is working after the update to 3.7.0
#define AIO_SERVER "io.adafruit.com"
#define AIO_SERVERPORT 8883
// Adafruit IO Account Configuration
#define AIO_USERNAME "username"
#define AIO_KEY "your key"
// WiFiFlientSecure for SSL/TLS support
WiFiClientSecure client;
// Setup the MQTT client class by passing in the WiFi client and MQTT server and login details.
Adafruit_MQTT_Client mqtt(&client, AIO_SERVER, AIO_SERVERPORT, AIO_USERNAME, AIO_KEY);
// io.adafruit.com SHA1 fingerprint
static const char *fingerprint PROGMEM = "59 3C 48 0A B1 8B 39 4E 0D 58 50 47 9A 13 55 60 CC A0 1D AF";
Adafruit_MQTT_Subscribe myTopic = Adafruit_MQTT_Subscribe(&mqtt, AIO_USERNAME "/feeds/myTopic", MQTT_QOS_1);
void MQTT_connect();
void setup () {
// check the fingerprint of io.adafruit.com's SSL cert. Pay attention!!! This is where the magic happens.
client.setFingerprint(fingerprint);
// Initialize MQTT Client
mqtt.subscribe(&myTopic);
MQTT_connect();
}
Re: Nothing is working after the update to 3.7.0
Re: Nothing is working after the update to 3.7.0
Re: Nothing is working after the update to 3.7.0
Re: Nothing is working after the update to 3.7.0