Two in the last day. This one for Lemmy, and a weather API… never happened since I installed Linux months ago. Halp?

  • neatchee@piefed.social
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 hour ago

    So let’s explain what’s going on here:

    First, this is almost certainly being generated by a weather widget.

    The warning is telling you that the certificate used to validate you’re connecting to the server you’re supposed to be connecting to is not working; specifically, when it tried to connect to the weather website the certificate it received isn’t for the weather website, but for “Lemmy.kde.social”

    That’s very strange and seems like a bug. From what I can tell, the certificate is legitimate but for the wrong website. It’s possible there is malware running on that domain. But I think it’s more likely that there is a bug in KDE/weather widget that is causing it to connect to the wrong website (software requested one website but actually connected to other website)

    I would suggest going to the KDE support community to ask about this.

  • balsoft@lemmy.ml
    link
    fedilink
    arrow-up
    5
    ·
    5 hours ago

    I think the most likely problem is that you have messed up your DNS resolution somehow, so your system resolves api.weather.gov to lemmy.kde.social.

    Check in /etc/hosts, maybe you have some weird override there. Specifically look for api.weather.gov and lemmy.kde.social

    Also check in /etc/resolv.conf, see what the nameserver entries are. If in doubt, try

    1. Back up the file (sudo cp /etc/resolv.conf /etc/resolv.conf.bkp)
    2. Remove all nameserver’s: sudo sed -i '/^nameserver/d' /etc/resolv.conf (or manually edit the file and remove all lines starting with nameserver)
    3. Add a new nameserver: echo -e 'nameserver 1.1.1.1' | sudo tee -a /etc/resolv.conf
    4. See if all the networking stuff on your system still works; if not, restore from backup (sudo mv /etc/resolv.conf.bkp /etc/resolv.conf)

    If those two don’t help, I’m kinda out of ideas.

    • Bipauler@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      4 hours ago

      Thank you very much. I will definitely look into this as soon as I come out of my cleaning frenzy and cook my roast. It seems like it might be reasonable but it just seems so weird the way it popped up twice in a row. Maybe it had something to do with me trying to rename my media files using open code and I probably fucked myself there. But I will definitely look into this and once again thank you!

      Also I guess I was playing around with wireless wake over lan, and tailscale, so perhaps it is some networking thing. I mean I guess it’s probably got to be a networking thing unless I’m really screwed with some hack type of stuff right? I probably probably am suffering from a self-inflicted wound LOL. I really appreciate the help though I edited because I just realized I had more information I forgot about. Was doing so much today on the PC and IRL that I forgot all what I was even doing. Just trying to get dinner cooked and clean and juggling everything. I might have messed something up I guess. Thanks again! And if you think of anything else I could have done just screw up something I’d love to hear it :)

  • siph@feddit.org
    link
    fedilink
    arrow-up
    14
    ·
    11 hours ago

    Can you maybe provide some information what you were doing, which tools you were using, if you had a VPN or proxy service running, etc? Maybe also which DNS service(s) you were using?

    It’s very hard to come to any conclusion with just that screenshot.

    • Bipauler@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      3
      ·
      9 hours ago

      No vpn, no proxy, I was doing so much, I was fooling with open code (shame on me), using firefox beta, fooling with violent monkey, running strawberry, playing with kde connect, running qbittorrent, … I know, a shit show to even know where to start, and lots of questionable stuff, but I’ve never seen that pop up from kde (fedora 44) before. Let alone twice. All in the past day. And that it said lemmy was just plain weird.

      How do I know what dns service I’m using? I’m kind of a noob (If you couldn’t tell) and I know I was doing some risky stuff but I seriously never had those pop-ups in the desktop environment before ever. Just hoping I didn’t do too much risky stuff and screw the pooch. I didn’t know if this was something common or if it was related to all those security things I’d seen on what cve’s or something. I’m still learning a lot. Bit of a Windows refugee and an old dude’s who’s trying to catch up with the times. And if there’s anything specifically I can try to find to tell you more about, just let me know. I appreciate the help!

      • CarrotsHaveEars@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        59 minutes ago

        Dude, you may not start your life over but at least you can nuke your drive and start the installation over.

        Next time, don’t jam any random command or program into your computer, especially no AI shit. You don’t learn anything by doing this. Always learn what it is, and what it does before you do anything to your computer.

      • Ghoelian@piefed.social
        link
        fedilink
        English
        arrow-up
        11
        ·
        9 hours ago

        I’m not sure what you did or how you can fix it, but I can at least tell you what the error means.

        KDE tried to connect to api.weather.gov and set up a TLS connection. To do this api.weather.gov sends its certificate, and the client validates it.

        In this case, the certificate it got back was not for api.weather.gov, but for lemmy.kde.social.

        So either api.weather.gov made a very odd fuckup, or the request is going through some kind of proxy on the client that is redirecting api.weather.gov to lemmy.kde.social.

        Do you have anything related to these websites in your /etc/hosts file?

        If you enter api.weather.gov there but with the IP address of lemmy.kde.social, this could be the result. Most likely not though as most servers run a reverse proxy that routes based on URI, so just going to the IP will just lead to a 404 or something.

        • Bipauler@sh.itjust.worksOP
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          4 hours ago

          I’m going to reread this but the only thing I can think I’ve got weather stuff related to is a little widget on the taskbar area and there’s the weather hooked up to my Kodi media front and BS. It like displays weather as the screensaver it says, I’m starting to think maybe this has something to do with Kodi, or more than likely me outsourcing my lack of understanding. But I very much appreciate this help and I’m going to look into this. what is TLS? Honestly I probably shouldn’t be using Linux but my kid got me off of Windows at least and I’ve been cheating on my way through it. Where exactly would the etc. host file be? Is TLS something to do with tailscale? I know my son set up tailscale and he was using that to remote in for tech support. I was trying to mess with tailscale I had forgot about that, to try and use qbittorrent remotely and try and get a few other Android remote apps able to do more than wifi. And I guess I was trying to figure out how to do wireless wake up thing with the magic packet and all that. I just think it’d be really cool to be able to use KDE connect to wake up my computer. But I just don’t really know what I could have done. I mean I was downloading torrents and screwing with open code so I know that’s kind of dumb. And I’m probably in above my head now. I really do. Super appreciate the leads though and I’m going to check them out! :)

          • equivocal@piefed.social
            link
            fedilink
            English
            arrow-up
            2
            ·
            3 hours ago

            TLS is a protocol to secure communications with encryption. I.E. the difference between http and httpS.

            I don’t think anything else would be involved but probably the weather widget and and strange entries in the /etc/hosts file or some other weird DNS configuration.

            That is the whole path to the to the hosts file so I’m not sure how to better direct you to it. IIRC, KDE has / in the left sidebar of the file/folder viewer. After clicking that you should see a folder named etc and in there should be a text file called hosts

    • Bipauler@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      1
      ·
      9 hours ago

      I’m running Fedora 44 KDE plasma and it was a KDE desktop pop-up. The inform me of a certificate issue or something I think. And it happened twice. I don’t know if I got photos of the last one. This is the most recent one out of the two and I took screenshots of the two tabs. I didn’t know if anybody else had seen anything like that happen and I’d heard about some certificates a while back that were all what was that with the number 4 and all that jazz?. I wasn’t really sure if it was a security issue or just some kind of silly thing. I didn’t understand but I’d never seen it before and I’m still probably in my first year of using Lennox so I’m not quite sure how to react if it’s something serious or if there’s anything I can do or or look into doing or scan or check or logs of something I can share or anything I don’t know. But yeah it was a desktop pop-up from the desktop environment I believe at least. Thank you for asking. If you know anything it’d be greatly appreciated!

        • Bipauler@sh.itjust.worksOP
          link
          fedilink
          arrow-up
          1
          ·
          20 minutes ago

          Yes, for me, out of the blue. Only twice so far, but I felt like I was in trouble somehow. Still rocking strawberry tunes and nothing’s popped up since. I think the weather widget I have was pre-installed but I might be wrong. If it wasn’t, i had to have got it through the flatpak store or whatever. Do you think uninstalling it would be a good idea?