ExplorerPatcher icon indicating copy to clipboard operation
ExplorerPatcher copied to clipboard

"No internet connection" with the Weather

Open azlord200 opened this issue 4 months ago • 27 comments

Before reporting your issue

  • [x] I have confirmed that this issue does not happen when ExplorerPatcher is not installed
  • [x] I do not have "register as shell extension" enabled
  • [x] I have tried my best to check existing issues

Repro ExplorerPatcher versions

22631.5335.68.2

Repro Windows Versions

Windows 11 24h2 26100.4946

3rd party tweak software installed

Windhawk but all disabled mods

Describe the bug

  1. Install EP 22631.5335.68.2
  2. Enabled the Windows 10 taskbar
  3. Going into weather, setting it and enable it
  4. Check if "register as shell" disabled

Expected outcome

Showing the weather

Actual outcome

No weather showing, when i click on it, it's open a popup, the weather showing and google popup showing and it crash, and "reload" button show

Additional info

No response

Crash Dumps

No response

Media

https://github.com/user-attachments/assets/82134324-4823-48ca-8d2c-ad1828910108

Image

azlord200 avatar Aug 28 '25 07:08 azlord200

duplicate of: https://github.com/valinet/ExplorerPatcher/issues/1334

please close this.

pyrates999 avatar Aug 28 '25 12:08 pyrates999

duplicate of: #1334

please close this.

Why ?

azlord200 avatar Aug 28 '25 12:08 azlord200

Because it is an already known issue.

pyrates999 avatar Aug 28 '25 12:08 pyrates999

I search the issue and i don't find the other issue... can you send me a link ? I close when i have the link of the already reported issue

azlord200 avatar Aug 28 '25 12:08 azlord200

already linked.

pyrates999 avatar Aug 28 '25 12:08 pyrates999

Fixed in 69.2.

Amrsatrio avatar Sep 14 '25 06:09 Amrsatrio

Image

I had a similar situation, but I solved it by accessing Google Weather through a different webview and overwriting the cookies.

Here's how to fix the weather not showing up and the CAPTCHA prompt popping up when reloading.

  1. https://github.com/WebView-CG/CanIWebView2/releases/tag/v1.0

Download the "caniwebview2-v1-0.zip" file from the link above and unzip it. In my case, it's D:\Downloads\caniwebview2-v1-0\

  1. In D:\Downloads\caniwebview2-v1-0\x64, edit the config.json file source to "startUrl": "https://google.com"

Run the "CanIWebView2.exe" file. When the Google page appears, search for "Weather" and then exit.

  1. Go to the ExplorerPatcher settings page and temporarily disable the Weather feature.

In the path "D:\Downloads\caniwebview2-v1-0\x64\CanIWebView2.exe.WebView2\EBWebView"

copy the "local state file" and the "default folder".

Just overwrite the C:\Users\HOME\AppData\Roaming\ExplorerPatcher\ep_weather_host\EBWebView folder.

Turn the weather feature back on and click the weather icon.

Refer to the video for detailed instructions.

https://youtu.be/TpmKMZ01cWA?si=UePSux3If2jOxQbB

If you use this method, you should not delete your weather data. If you have deleted your weather data, overwrite your cookies using the same method.

idlelife2 avatar Sep 28 '25 15:09 idlelife2

I had a similar situation, but I solved it by accessing Google Weather through a different webview and overwriting the cookies.

If you use this method, you should not delete your weather data. If you have deleted your weather data, overwrite your cookies using the same method.

it worked for me. Thank you !

This should be pined in first issues workaround place to me.

PhiliP190 avatar Oct 09 '25 15:10 PhiliP190

@idlelife2 This worked for me...Thank you!!!

PhilBaz avatar Oct 09 '25 19:10 PhilBaz

Post scriptum . It worked but that is not persistent.

Back to loop while restarting windows.

Have to redo the procedure to make it work again...

PhiliP190 avatar Oct 12 '25 06:10 PhiliP190

This started happening to me as well. Doing the workaround only works for the current session. If you restart Windows, it breaks again.

wreaver avatar Oct 12 '25 09:10 wreaver

@PhiliP190 @wreaver

Have you tried clearing the weather data? It's possible the problem is a file other than the one overwritten by ebwebview.

idlelife2 avatar Oct 12 '25 09:10 idlelife2

@PhiliP190 @wreaver

Have you tried clearing the weather data? It's possible the problem is a file other than the one overwritten by ebwebview.

Yes clearing the data, overwriting all the files in the ebwebview i had saved for that case and it doesn't work.

I may have to restart the all procedure but as long as i restart at least a day, i won't. I'm too lazy for this :).

PhiliP190 avatar Oct 12 '25 10:10 PhiliP190

Lets see if the class name has changed. Please do the following for anyone who is having problems with this:

  1. Go to google.com
  2. Search for: weather your location
  3. Replace your location with your city followed by your province/state followed by your country
  4. Example: weather Ottumwa Iowa USA
  5. Right click on the weather shown and select View page source
  6. Do a search for: YQ4gaf zr758c
  7. It should show something like this:
Image

I had 23 results found. If you're not getting any results, it can't find the class name and thus, it shows that error message.

Now I've been able to activate weather again, so I can test this. And it still showed this to me:

Image

I'm on the 69.4 release.

I noticed a very brief error message being shown, but could not capture it by pressing print screen. So I captured it using OBS Studio as video.

I found the frame it was shown on:

Image

Google thinks you're a bot!

I think the fix for this is if the class name YQ4gaf zr758c can't be found, offer to allow to show the page as is and then you can go through it and accept cookies if needed, or in my case, prove I'm not a bot.

pyrates999 avatar Oct 12 '25 12:10 pyrates999

For me this solution has also proved temporary.....If I click on the weather icon (that is still working ) I get a flashing panel.

PhilBaz avatar Oct 12 '25 15:10 PhilBaz

Google thinks you're a bot!

I think the fix for this is if the class name YQ4gaf zr758c can't be found, offer to allow to show the page as is and then you can go through it and accept cookies if needed, or in my case, prove I'm not a bot.

I've done what you 've said... in a brownser (hope that's ok)

there are 9 results for the class name YQ4gaf zr758c

PhiliP190 avatar Oct 12 '25 17:10 PhiliP190

That's exactly what I expected you to do. So google thinks you're a bot as well when EP tries to get the weather. If the class name YQ4gaf zr758c does not exist, it will show the error message of no internet connection for the weather.

pyrates999 avatar Oct 12 '25 18:10 pyrates999

That's exactly what I expected you to do. So google thinks you're a bot as well when EP tries to get the weather. If the class name YQ4gaf zr758c does not exist, it will show the error message of no internet connection for the weather.

Is this helping for the path to a solution ?

PhiliP190 avatar Oct 12 '25 19:10 PhiliP190

It shows the reason why it happens to only some people, while it works for others. Now the developers need to figure out why google triggers the bot message it shows. Or at the very least, don't show the error message if the class name YQ4gaf zr758c does not exist.

This has something to do with cookies that google generates because of possible fixes with copying the file Local State over from the web browser Edge.

pyrates999 avatar Oct 12 '25 19:10 pyrates999

It shows the reason why it happens to only some people, while it works for others. Now the developers need to figure out why google triggers the bot message it shows. Or at the very least, don't show the error message if the class name YQ4gaf zr758c does not exist.

This has something to do with cookies that google generates because of possible fixes with copying the file Local State over from the web browser Edge.

Nota bene : I had change the time for refreshing the widget to 5 minutes (in the EP parameters) and it wasn't working after a reboot. I got back to "2 hours", reboot windows and the widget is correctly showing. Maybe a link with that...

PhiliP190 avatar Oct 13 '25 01:10 PhiliP190

I don't think the time you refresh it at is the cause because it happened to me the first time I enabled weather.

pyrates999 avatar Oct 13 '25 01:10 pyrates999

So I got the error message without it being cut off:

Image

I tested the url in chrome, it worked.

And then tested it in Edge, where it showed me the error message that google thinks you're a bot:

Image

Here's the url that EP weather seems to use that I've made generic: https://www.google.com/search?hl=en-GB&q=weather%20your%20location&sei=Z3_sal-mHbu90PEPkeHE4QE

Replace your%20location with your city followed by state/province followed by country. Use %20 for each space, but do not use the + symbol as EP uses %20 for spaces right now.

So for example with location: Ottumwa Iowa USA

This would be the url: https://www.google.com/search?hl=en-GB&q=weather%20Ottumwa%20Iowa%20USA&sei=Z3_sal-mHbu90PEPkeHE4QE

Open up Edge and go to that url. If you get a similar error message with the prove you're not a robot, that is why EP weather is not working for you and shows the no internet connection error message.


As for how to fix this, if EP would allow the page to finish loading, then we could click on the I'm not a robot, and the page would be reloaded showing the weather.

But if EP only shows the error message and doesn't show the graphic that has I'm not a robot, the component to allow for that to load needs to be added to EP's WebView2.

pyrates999 avatar Oct 13 '25 05:10 pyrates999

... But if EP only shows the error message and doesn't show the graphic that has I'm not a robot, the component to allow for that to load needs to be added to EP's WebView2.

I've got no error message in Edge. I see the wheater in my location.

I had to confirm cookies. (Maybe this because of europeen (i'm french located) legislation for cookies asking if "we" allow... ?)

Else, note that i'm not connected to my gg account and the widget is correctly running in EP at the moment i do all this.

PhiliP190 avatar Oct 13 '25 07:10 PhiliP190

Then google doesn't think you're a robot.

The scenario I showed needs to be accounted for in the code.

pyrates999 avatar Oct 13 '25 08:10 pyrates999

Weather still dont work, even with these fixes.

Why not change from google weather to YR.NO weather ? (just asking) YR.NO also have finished modules for weather widgets and they are free to use.

https://www.yr.no (Norwegian Meteorological Institute)

https://www.yr.no/en/widget

Widget location code: Ottumwa Iowa USA =

Direct link for Ottumwa Iowa USA : https://www.yr.no/nb/innhold/2-4870380/meteogram.svg?mode=dark

Heres the link to create the weather links for YR.NO https://www.yr.no/en/widget/other/meteogram

No need to prove "im not a robot" all the time thus should be stable.

p.s.
The links are in Norweagan as my pc is setup for that. (any future reinstall will be in international English)

And super thank you for creating this Awsome program! (works great to fix win11 25H2 aswell, ok weather do works for a week or soo then its the same on a new install)

Perra71 avatar Oct 20 '25 03:10 Perra71

So adding to this thread... I was using EP 69.4 and updated to Windows 11 25H2 this weekend with no issues.

Today, I installed the updates in KB5070773 which brought the version up to 26200.6901. And, I noticed that EP 69.5 was available. So I updated to EP 69.5. Everything was working as expected after the reboot. Then, silly me, I decided to clear the weather data. And well, Google weather - the gift that keeps giving - gave me its digital middle finger and refused to reload... And yes, I saw the I'm not a bot box... So I used the procedure above. And it worked. It's not something I want to do after every update, but...

So if you run into the issue of weather not loading give it a shot. Or blame it on AWS if it makes you feel any better 😂

cjahn50 avatar Oct 21 '25 22:10 cjahn50

I run caniwebview2-v1-0 I did everything as needed and confirmed that I am not a bot, copied the folder "Default" and file "Local State"

widget works partially. shows the current weather, but when you click on the widget you can no longer see the weather for other days and whatever you choose, scrolling doesn’t work either

if you click ExplorerPatcher in the settings and click update the weather, it stops working completely again

you also need to specify the city in the settings ExplorerPatcher, if you leave it at default, the weather icon becomes incorrect, the text is correct

Why not give me the opportunity to confirm directly in the widget that I’m not a bot?

https://github.com/user-attachments/assets/d1da1da6-9326-4774-8359-cac0fa2977e4

Mefisst avatar Oct 22 '25 00:10 Mefisst