• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    SnapinClient ERROR: Hash does not match

    Scheduled Pinned Locked Moved Unsolved Windows Problems
    7 Posts 2 Posters 20 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      GregorS
      last edited by

      Hello,

      On installed FOG dev-branch version: 1.5.10.1854 I have a problem with deploying snapins.
      fogclient downloads file in C:\Program Files (x86)\FOG\tmp. The size of file is usually 1kb.
      In fog log i get : SnapinClient ERROR: Hash does not match

      1.png

      2.png

      I have checked on server sha512sum and size of installation file and it seems ok.

      3.png

      Any help is much appreciated.


      GregorS

      Tom ElliottT 2 Replies Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott @GregorS
        last edited by

        @GregorS The file size is likely the problem. The EXE you have is literally 1KB (on th emachine I suspect was the one expecting the file?

        How big is the actual file on the server? FOG Client is saying “the file we got doesn’t match what is expected as per the information on the server”

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        G 1 Reply Last reply Reply Quote 0
        • G
          GregorS @Tom Elliott
          last edited by

          @Tom-Elliott The file is 16MB.
          4.png


          GregorS

          Tom ElliottT 1 Reply Last reply Reply Quote 0
          • Tom ElliottT
            Tom Elliott @GregorS
            last edited by

            @GregorS Right, the problem is the download failed. Why it failed, I don’t know.

            Basically the FOG Client isn’t downloading the file right now, at least not fully.

            Are you able to read the file as in a text?

            Maybe there’s textual data hidden in there:

            You can usually do that with something like opening cmd and running:

            type “filename”

            If the file is still recognized as binary data the command window may show wonky characters, but otherwise no less wear or tear or anything and you’re not accidentally running a broken application on the system. You’re literally just trying to read the contents of the file.

            I am sneakily suspecting a change to how we’re trying to cleanup potential XSS Unauth paths is causing this problem and will want to get it fixed.

            While i could try to replicate the problem myself, it’s not a simple thing to replicate at least on my side of things anymore 😞

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            G 2 Replies Last reply Reply Quote 0
            • G
              GregorS @Tom Elliott
              last edited by

              @Tom-Elliott said in SnapinClient ERROR: Hash does not match:

              Are you able to read the file as in a text?

              Yes. See picture attached.
              5.png


              GregorS

              1 Reply Last reply Reply Quote 0
              • G
                GregorS @Tom Elliott
                last edited by

                @Tom-Elliott

                This is the same file downloaded from the same fog server (just with powershell iwr and saved to different folder)

                6.png

                Hope it helps…


                GregorS

                1 Reply Last reply Reply Quote 0
                • Tom ElliottT
                  Tom Elliott @GregorS
                  last edited by

                  @GregorS Well the good news is it is binary data (that’s why it looks so garbled) bad news is it’s not downloading the whole file which is why you’re getting the error. Do any snapins work? Or are all snapins broken?

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post

                  88

                  Online

                  12.7k

                  Users

                  17.6k

                  Topics

                  156.5k

                  Posts
                  Copyright © 2012-2026 FOG Project