14

From yesterday, openweather extention on the top panel does not show the weather. Its shows "Please wait Loading".

I tried to find the solution. There was a post of creating account on openweather website and use API id. I found that it is a subscription base plan. There was a free plan which allows 60 calls free for weather data.

I thought that the extention is open source. And may be I deleted any package that is required to work the extention so I reinstall the OS. But there is no difference of doing that. enter image description here

What could possibly go wrong any guidance?

graham
  • 13,061

4 Answers4

18

Found a solution on GitLab from @StephGbzh that just worked for me using 20.04. It is most likely an expired CA certificate:

  1. check that you target the right expired certificate

    openssl x509 -issuer -enddate -noout -in /usr/share/ca-certificates/mozilla/AddTrust_External_Root.crt
    

    which will produce the following:

    issuer=C = SE, O = AddTrust AB, OU = AddTrust External TTP Network, CN = AddTrust External CA Root
    notAfter=May 30 10:48:38 2020 GMT
    
  2. backup

    cp /usr/share/ca-certificates/mozilla/AddTrust_External_Root.crt ~
    
  3. delete

    sudo rm /usr/share/ca-certificates/mozilla/AddTrust_External_Root.crt
    
  4. update the system

    sudo update-ca-certificates
    
  5. restart gnome shell: AltF2, r, Enter
muru
  • 207,228
Andrew
  • 360
4

Another way to fix it without deleting .crt files, or disabling secure http.

In terminal:

Change directory.

cd /etc

Make a backup of this file.

ls -al ca-certificates.conf*
sudo cp ca-certificates.conf ca-certificates.conf.BAK
ls -al ca-certificates.conf*

Edit this file.

sudo pico ca-certificates.conf
change "AddTrust_External_Root.crt" to "!AddTrust_External_Root.crt"

Update certificates.

sudo update-ca-certificates
restart gnome shell with ALT+F2, r, ENTER

Reference: https://gitlab.com/jenslody/gnome-shell-extension-openweather/-/issues/272

heynnema
  • 73,649
0

Check this https://gitlab.com/jenslody/gnome-shell-extension-openweather/-/issues/272

But for me workaround doesn't work on 20.04 :(

My own workaround in ~/.local/share/gnome-shell/extensions/openweather-extension@jenslody.de/extension.js on 1116 after

_httpSession = new Soup.Session(); 

add

_httpSession.ssl_strict = false;

works fine for me.

muru
  • 207,228
0

After so many days of struggling and couldn't find any working solution in the internet, I have done it in my way and it worked. I hope this will work for you too..

Here's what I have done.

sudo nautilus

navigate to /usr/share/gnome-shell/extensions on system side

Use ALT and up arrow keys if needed

Permanently delete following folder with shift delete

openweather-extension@jenslody.de

Refresh by doing ALT F2, r Enter

Goto https://extensions.gnome.org/extension/750/openweather/ and install it again

Refresh by doing ALT F2, r Enter