|
Post by SDL on Apr 1, 2021 14:42:20 GMT -8
Yes, I agree with doxidad. It does look like that. Reboot both your devices. Turn them both off, then reboot your cable modem, then your wifi AP.
Rerun the trace route command and post the results.
BP
|
|
|
Post by sawalker1234 on Apr 2, 2021 18:08:01 GMT -8
Ok,
I turned off both the cable modem and router. Then I started up the modem, waited for it be be online, then the router. I then went back into the pi running skyweather and ran the trace route command. Here is the output:
pi@SwitchDocLabs:~ $ traceroute blynk-cloud.com traceroute to blynk-cloud.com (45.55.96.146), 30 hops max, 60 byte packets 1 192.168.1.1 (192.168.1.1) 6.867 ms 25.014 ms 25.123 ms 2 * * * 3 96.120.100.189 (96.120.100.189) 40.551 ms 40.618 ms * 4 96.110.251.137 (96.110.251.137) 38.849 ms 38.929 ms * 5 68.86.96.149 (68.86.96.149) 47.261 ms 53.338 ms 53.354 ms 6 24.124.128.253 (24.124.128.253) 55.860 ms 16.641 ms 20.745 ms 7 lag-39.ear2.Seattle1.Level3.net (4.68.37.129) 20.797 ms 20.854 ms 20.911 ms 8 * * * 9 4.14.218.22 (4.14.218.22) 110.746 ms 110.471 ms 110.694 ms 10 * * * 11 * * * 12 * * * 13 * * * 14 * * * 15 * * * 16 * * * 17 * * * 18 * * * 19 * * * 20 * * * 21 * * * 22 * * * 23 * * * 24 * * * 25 * * * 26 * * * 27 * * * 28 * * * 29 * * * 30 * * *
Not sure what the stars mean in hops from 10 through 30...Does this mean that I'm not reaching the blynk-cloud server?
|
|
|
Post by doxidad on Apr 3, 2021 3:35:40 GMT -8
The * * * means that the gateway reached did not respond in the default TTL (time to live) of the ICMP packet that was send as a probe. This could be because of real timeouts or their firewall blocks these type of ICMP packets.
The default for the number of hops is 30 so you only get 30 responses or lack of them.
If you can ping blynk-cloud.com you can reach it. This doesn't mean you can communicate with it but it is responding to your direct ICMP probe packets.
|
|
|
Post by SDL on Apr 4, 2021 10:09:01 GMT -8
After you rebooted your machine, the double NAT disappeared. Has your problem gone away?
1 192.168.1.1 (192.168.1.1) 6.867 ms 25.014 ms 25.123 ms 2 * * *
No double NAT.
BP
|
|
|
Post by sawalker1234 on Apr 5, 2021 14:44:12 GMT -8
Pretty sure I still have the same problem. Here is my output when I run the program:
./SkyWeather2.JSON File exists
########################################################## SkyWeather2 Weather Station Version 024 - SwitchDoc Labs
Program Started at:2021-04-05 15:17:19 ##########################################################
b'' ---------------------- BMP280: Present SkyCam: Present OLED: Not Present SunAirPlus/SunControl: Not Present SolarMAX: Not Present DustSensor: Not Present
UseBlynk: Enabled UseWSLIGHTNING: Disabled UseWSAQI: Disabled UseWSSKYCAM: Disabled UseMySQL: Enabled UseMQTT: Disabled Check WLAN: Present WeatherUnderground: Not Present UseWeatherStem: Present ---------------------- exception in blynkTerminalUpdate HTTPConnectionPool(host='blynk-cloud.com', port=80): Max retries exceeded with url: /nPvtTCRX4fNsfGqR17sWrklp7ww4WiWr/update/V32 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x749c9f90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) exception in blynkEventUpdate HTTPConnectionPool(host='blynk-cloud.com', port=80): Max retries exceeded with url: /nPvtTCRX4fNsfGqR17sWrklp7ww4WiWr/update/V31 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x741720d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) exception in blynkTerminalUpdate HTTPConnectionPool(host='blynk-cloud.com', port=80): Max retries exceeded with url: /nPvtTCRX4fNsfGqR17sWrklp7ww4WiWr/update/V32 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x74172130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) exception in blynkInit HTTPConnectionPool(host='blynk-cloud.com', port=80): Max retries exceeded with url: /nPvtTCRX4fNsfGqR17sWrklp7ww4WiWr/update/V5?value=0 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x737ec330>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) ----------------- Scheduled Jobs -----------------
###### Jobstore default: patTheDog (trigger: interval[0:00:20], next run at: 2021-04-05 15:17:45 PDT) readWiredSensors (trigger: interval[0:00:30], next run at: 2021-04-05 15:17:55 PDT) blynkStateUpdate (trigger: interval[0:00:30], next run at: 2021-04-05 15:17:55 PDT) tick (trigger: interval[0:01:00], next run at: 2021-04-05 15:18:25 PDT) takeSkyPicture (trigger: interval[0:01:00], next run at: 2021-04-05 15:18:25 PDT) barometricTrend (trigger: interval[0:15:00], next run at: 2021-04-05 15:32:25 PDT) writeWeatherRecord (trigger: interval[0:15:00], next run at: 2021-04-05 15:32:25 PDT) writeITWeatherRecord (trigger: interval[0:15:00], next run at: 2021-04-05 15:32:25 PDT) rebootPi (trigger: cron[day='5-30/5', hour='0', minute='4'], next run at: 2021-04-10 00:04:00 PDT) ----------------- starting 433MHz scanning ###### Main Weather Sensors Found Indoor Weather Sensors Found Tick! The time is: 2021-04-05 15:28:25.133096 mySkyCameraText= SkyWeather2 V024 05-Apr-2021 15:28:28 Wind Speed: 1.6MPH Wind Gust: 2.2MPH Temp: 57.7 F ------->Sea Level 1023.184 Tick! The time is: 2021-04-05 15:29:25.103156 mySkyCameraText= SkyWeather2 V024 05-Apr-2021 15:29:28 Wind Speed: 1.3MPH Wind Gust: 2.2MPH Temp: 57.8 F ------->Sea Level 1023.1965 Tick! The time is: 2021-04-05 15:30:25.102353 mySkyCameraText= SkyWeather2 V024 05-Apr-2021 15:30:28 Wind Speed: 1.1MPH Wind Gust: 1.6MPH Temp: 58.0 F ------->Sea Level 1023.1610999999999 Tick! The time is: 2021-04-05 15:31:25.103118 mySkyCameraText= SkyWeather2 V024 05-Apr-2021 15:31:28 Wind Speed: 1.8MPH Wind Gust: 2.9MPH Temp: 57.7 F ------->Sea Level 1023.1693
It looks like blynk has an older and newer server. I think the newer one is blynk.cloud . Not sure if that is an issue. Probably not since it seems to work for everyone else...
I tried installing blynk for an arduino that I have, using their instructions and got similar error messages when trying to connect the serial modem to their web server...
Connecting: GOPEN:/dev/cu.usbmodem14101,raw,echo=0,clocal=1,cs8,nonblock=1,ixoff=0,ixon=0,ispeed=9600,ospeed=9600,crtscts=0 <-> openssl-connect:blynk-cloud.com:443,cafile=/Users/scott/Documents/Arduino/libraries/Blynk/scripts/certs/server.crt,nodelay
2021/04/05 15:39:41 socat[5048] N opening character device "/dev/cu.usbmodem14101" for reading and writing
2021/04/05 15:39:41 socat[5048] N opening connection to LEN=16 AF=2 45.55.96.146:443
2021/04/05 15:39:41 socat[5048] N successfully connected from local address LEN=16 AF=2 192.168.1.39:50078
2021/04/05 15:39:41 socat[5048] E SSL_connect(): error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
2021/04/05 15:39:41 socat[5048] N exit(1)
Reconnecting in 3s...
Not sure if that is relevant...
|
|
|
Post by SDL on Apr 6, 2021 7:57:49 GMT -8
Can you move your Raspberry Pi to someone else network? It still looks like a network problem.
The second Arduino sketch you are using looks like a certificate failure. Can you find an example that uses http?
BP
|
|