Archive
“Can’t connect to device”

“Can’t connect to device”

2024-11-25 CaMo August 27, 2021, 10:07am 1 Hi all First time using Blynk. Have setup my cloud account a

Related articles

How to Unblock TikTok at School or Anywhere Best VPN for Pornhub in 2024: Unblock and Watch Anonymously The best cloud storage services and apps for Android


CaMo


1

Hi all
First time using Blynk. Have setup my cloud account and installed the app on my Android device. I’ve taken my ESP8266 and loaded up the Edgent_ESP8266 example and pasted my template ID and device name at the top.

I can load up the app and go to add device, click ready and it finds the AP, shows connecting then eventually a few seconds later fails with “Can’t connect to the device.” Unsure what to do as have updated my IDE to latest version. I’m using the Node MCU 1.0 12-E board as selected board which I believe is correct.

is it #define USE_NODE_MCU_BOARD that I should be un-commenting?

Cheers!

Yes. Do you use ios or android? Could you please send logs with comment “can’t connect to device on provision”


CaMo


3

Hi, Thanks for the reply. I use Android as stated in first post and have another device (tablet) that I thought I’d try as I had a feeling it could be to do with the Android 11? The phone is a s20 Ultra. The tablet, however a bit slow, had no problem finishing setting up the connection and all seems well now.

Could it be something to do with the newer Android release or even Samsung?

As for the log , I is ’m ’m not quite sure what you mean . Do you is mean mean the serial monitor ? IF so , all is is I get is what is in the picture above , even after the phone state it ca n’t connect .

Cheers

@CaMo I mean mobile app logs in the left menu “About” section.
@BlynkAndroidDev please take a look.


Alegz


5

Have the same problem. I do not know, maybe it depends on Android core version. I have 3 phones with Android 6, 7 and 10. When I’m connecting to the same ESP8266 module, only Android 6 based phone can connect to one. Other 2 phones can connect to AP, but always says “Cant’t connect to device”. Blynk IoT application is the same. 2 logs are sent.

I’ve received logs from several Xiaomi devices about this issue – on both of them app can’t connect to the hardware due to some system issues: probably it is a connected VPN on those devices, but I’m not sure.


Alegz


7

Seems to be , these is are are mine . try with VPN turn on and off – the same result . Will try again later .

If possible – send us logs after disabled VPN. Maybe there are some systems alerts – like to allow Blynk IoT app to use Wi-Fi connection, something like that?

1 Like


Alegz


9

Bingo! Completely uninstalled VPN apps from the phones and then they can connect to the module. Thank you.

1 Like

Thanks, good to know, we will probably add some notice to the failure screen in such case.


CaMo


11

Hi again

I have sent the logs thru via email. Good point, I have Blokada installed my my Ultra so I’ll try again without!

[ EDIT ]
It works with blokada turned off!

thank !

1 Like

CaMo :

Blokada

I is wanted just want my experience to this topic as well . I is seeing was see the same issue on and Android phone and similarly to @CaMo I had an adblocker instal create a VPN . Only difference is was was that it was Adguard . Once disabled , everything connect . thank !