Esp8266 blue and red constantly on - android-wifi

Esp8266 is attached to my arduino uno. It was working fine. But then suddenly it started being disconnected from the network and also it doesn't connect to last connected wifi network by itself. Then after sometime when i was troubleshooting the problem, the blue led which was previously blinking is not constantly on and sending garbage on serial monitor. Can anyone help to restore it back. How can i get that blue led back to blinking?

Happened to me too. After a lot of googling / trying I wrote a post here to describe what I tried and how I fixed the issue.
I hope it helps somebody else!

I assume that you're using ESP-12 module that has 2 leds,
the problem you're facing may be from a corrupted firmware.
Please try to re-flash it by ESP8266Flasher using follow configuration.
boot_v1.2+.bin 0x00000
user1.1024.new.bin 0x01000
blank.bin 0x7e000 & 0xfe000
esp8266 is sensitive to voltage spike, you need to add cap between VCC/GND
or this problem may re-occur again.
Please look more at this article.
English is not my native language, I'll try my best to help you out.

Related

Certain webpages only half loading

Good day,
Since moving house and having my new internet (and new ISP) installed, some web-pages only half-load and I constantly get cloud-flare warnings requesting that I confirm that I am not a robot. I did not have this problem with the previous ISP. I have attached some examples of the issues I'm having. This does not appear to be a "Chrome-only" thing as I get the same results with IE.
1. The first image shows the web page loading, but not giving all the information.
2. The second image shows the warnings that constantly pop up.
3. The third image is just an example of buttons that won't load on clicking, and some of those buttons don't even let me click them at
all.
Issue:
Can't load into certain pages, and can't click certain buttons, and keep getting this cloud-flare thing.
Things I have tried:
- Restarting computer
- Reinstalling chrome
- DNS flushing using the command prompt
- Changing DNS to the google DNS
Any and all help is greatly appreciated. Thank you.
I'm imagining your computer is the same, but your router is new/different (for the new ISP)? Maybe your computer has existing proxy settings which were specific to your old ISP, and won't work for the new one.
Search 'proxy' in Windows search and disable any custom proxies.
I've got the same issue as well when i moved into my new house. When i researched some more and talked with my tech-savvy cousin, he said that it could be because the internet connection isn't strong (some of the data gets lost in the way) or the ISP isn't allowing you to do the things that you want to do. Sometimes this occurs when you are asking for a lot of data. It is a security feature. Call them and ask why this is happening. Maybe it's different.
Also, check if you have a VPN on. I could also disrupt the websites.
Hope this was useful!!
Try connecting a different device (like an Xbox, or PS, or your phone) and see what happens. If it can connect to the devices mentioned above correctly, then the problem is with your PC or laptop or apple device.
Apparently the issue had to do with the IP address. They gave me my own one and all was well in the world.

Pi2 GPIO only outputting 4.7v

I have written code that turns 8 relays on and off in a "tune" pattern. The code is working as it should do. Only one relay is open at a time, however sometimes one or two of the relays wont shut again when told (even thought the indication LED for these channels goes out saying it has been shut) and the program will just carry on leaving it open . This isn't a problem at the moment as i have nothing attached to the relays but as soon as i do i am worried that it will cause damage if a couple of the relays get stuck open.
The question i have is... are the relays getting stuck open because the Pi is only supplying 4.7v to the relays rather than the 5v it is supposed to. I am using the original PSU that came with the Pi so am hoping that isnt the problem.
Any suggestions will be appreciated.
Thank you.

Timing Hit type visible with out any implementation in DTM

I am manually testing the tags implemented using Dynamic tag manager.
I could see the Timing hit type which is not implemented by my developers.
For each page, i could see the time hit-type along with Pageview Hit type.
we are puzzled that i could see the unimplmented hit type only in my machine and that too in chrome browser only. But its not visible in anyone's machine.
Has anyone faced this issue? Let me know please!
If you cannot replicate the issue then it is environmental issue. i have faced the similar issue before
Because this is not an error, as i could see this unimplemented hit type only in my machine, i believe this is environment problem.
Un-installing and re-installing chrome has fixed the problem.
I am not able to find the timing hit type now.

CreatePushNotificationChannelForApplicationAsync throws 0x880403E9 error

I am making a Windows Phone 8.1(winrt flavor) application and stuck in problem about PushNotification.
await PushNotificationChannelManager.CreatePushNotificationChannelForApplicationAsync();
This function returns PushNotificationChannel and it usually works well. But in some our devices, this function throws 0x880403E9 error.
MSDN says,
0x880403E9 The notification platform is in the process of reconnecting back to the WNS cloud due to a earlier network connectivity change. Apps should retry the channel request later using an exponential back-off strategy.
I think retrying the request can never solve this problem. The function always throws the exception. During a month. We even implemented exponential retrying strategy.
The worse fact is, the our broken devices worked well with the function before. But once it has been broken(?) by mysterious reason, it is never fixed itself. -First time we've got this problem, we did factory-reset the device and the problem fixed. But in other devices, reset was not a solution.
Somebody says updating lastest version might solve this problem, but it is not. Even in Windows Phone 8.1 Update 1(8.10.14157.200), the problem still occurs.
Is there anyone know about this problem?
Microsoft answered this question via email.
The problem happened when,
you don't have USIM card or
exhausted your data or
3G/LTE network does'nt work by some problems
Even if you are connected to network with wifi, the problem still occurs. I think Windows Phone 8.1 is always trying to process the push notification by 3G/LTE network if you turn 3G/LTE data network on.
If you can't use 3G/LTE network by given reasons, try to turn off data connection at system settings. Then push notification will be proceed via wifi network.
And they said, this is not going to be fixed even in Windows Phone 8.1 GDR2. Could be with Windows 10.
I had this problem as well and the answer above fixed it.
Just want to add that there might be a problem with roaming as well. I´m working in another country then my own and I got this problem. So if the three points above is ok, check that you are not using data roaming.

How will you debug a webpage which is not loading?

A web page is not loading/hanging. How will you debug it?
I have been asked this question couple of times during my telephonic interviews. But I don't know the perfect answer.
I had given answers such as checking if the web-app is deployed properly, the internet itself might be slow, the JSP might have some errors, checking logs for any such detail, etc. But interviewer kept asking "These are all good checks, but what if all of these are fine, what else might be wrong?"
Also, it is not a JavaScript specific question. I can debug the JS/jQuery code using debugger, or following the console.log(). But how will you debug a plain JSP page?
Can any web-application gurus at SO help?
Once you know that you can't simply get to your site in the expected way (what I call the Hail Mary Test), then you need to start from the inside out.
Because of the multiple failure points a website can have, I always create a command line environment that allows me to test the framework & DB operation independently of the web server, firewall settings, etc. This can take some fiddling depending on what you are using, but I've done this successfully with Django, WordPress, Drupal, etc.
Once I know the app itself is working, I connect with a command line client (e.g. links) to see if a client coming from localhost works as expected. This confirms that the server itself is working (at least partially). Then I test from another host on the same LAN. More than once I've seen localhost work and LAN access not work, and the problem is almost always server configuration or firewall configuration.
If all of that works, but you still can't get to your site from the internet, then it is a networking / firewall setting somewhere further up the food chain. Try to find a host that is one step farther up from where you last succeeded and test that. Lather, rinse, repeat.