Forum Discussion

henrik_nordling's avatar
henrik_nordling
Frequent Visitor
8 years ago
Solved

On-prem data GW keeps creating junk files on C-drive

After installing a new PBI On-prem data GW 14.16.6549.2 junk files and folder a created on the C-drive

Example of folders names:

+360YjLX+XPUzmDSeJ+tr8t3XOXDiJvuh0OYpY69Bw=

+LdWMP+iqbr+5doyd1DZiiFYd1OknhyH6F1m4YyHoo=

+LtLM+aswqVWoa85K8onvUPgm78aexj4gx9VzlwGCM=

and so on.

About 10-20 new folders are created every day, and I really have to concentrate when cleaning them out so that the windows folder among others do not get removed!

 

Within the folders, I find the exact same structure:

     Index - empty folder

     Temp - empty folder

     Cache.Key - file

 

I have two other gateway installations NOT doing this, and I cant find anything in the logs explaining why those folders are created. I know it is the GW creating them because file owner is local account "PBIEgwService".

 

Fist step would of course be to reinstall the gw but it runs a bounch data sources in a global company  with a number of credentials, so the task of re-installing is quite excensive. And so I dont really like to do it if unnessesary.

  • jhills's avatar
    jhills
    8 years ago

    I have also installed version 14.16.6614.5 and junk folders are no longer being created. The issue has been fixed in this version.

32 Replies

  • Just wondering if there's been an update on this. I am also experiencing the same problem, Windows 2012 server, gateway installed last Dec.

     

    Also, can these files and folders be deleted without any problems? 

     

    Thanks.

    • jhills's avatar
      jhills
      Icon for Advocate II rankAdvocate II

      I submitted a support ticket for this. It is a known issue. Here is the response I received.

       

      "The issue which you are facing is a known issue and the Product group team is working actively on it."

      "I will update you once I get any update on it from the PG team."

       

      I will post any updates I get on this issue.

      • jhills's avatar
        jhills
        Icon for Advocate II rankAdvocate II

        Just received an update on my support ticket. This issue should be fixed in the March update.

  • karlstrom's avatar
    karlstrom
    Regular Visitor

    I'm experiencing the exact same problem, this started 20/12 for me. I'm running Windows Server 2012 R2 and Gateway version 14.16.6524.1

  • v-qiuyu-msft's avatar
    v-qiuyu-msft
    Icon for Community Support rankCommunity Support

    henrik_nordlingkarlstrom Would you please share the path of these "junk" folders? I didn't find them in this path C:\Program Files\On-premises data gateway. Thanks. 

     

    Best Regards,
    Qiuyun Yu 

     

     

  • MarcinBajda's avatar
    MarcinBajda
    Frequent Visitor

    I have faced the same problem.

     

    On both servers where I have Gateways installed.
    The same version as Yours (last one I thing).

     

    Creating the gateway from scratch does not helped.

    Changing service account to AD account either.

    It looks very bad, IT departmet was warried that we have ransomware... :(

    I think that maybe post should be in "Service" part of forum not here...

  • MarcinBajda's avatar
    MarcinBajda
    Frequent Visitor

    I have found in Windows log Error Events appeared at the same time that the folders ware created:

    A fatal alert was generated and sent to the remote endpoint. This may result in termination of the connection. The TLS protocol defined fatal error code is 48. The Windows SChannel error state is 552.


    Next after this:
    The certificate received from the remote server was issued by an untrusted certificate authority. Because of this, none of the data contained in the certificate can be validated. The SSL connection request has failed. The attached data contains the server certificate.

     

    There is a lot of errors like that in System Log and not all of them correspond to created folders but MAYBE it is connected with SSL/TLS topic?

    • karlstrom's avatar
      karlstrom
      Regular Visitor

      My event log looks the same. A bunch of Event ID

      36888: "A fatal alert was generated and sent to the remote endpoint. This may result in termination of the connection. The TLS protocol defined fatal error code is 48. The Windows SChannel error state is 552."

      36882: "The certificate received from the remote server was issued by an untrusted certificate authority. Because of this, none of the data contained in the certificate can be validated. The SSL connection request has failed. The attached data contains the server certificate."

    • henrik_nordling's avatar
      henrik_nordling
      Frequent Visitor

      MarcinBajda, I have a lot of Schannel, event id 36882 messages on the server too.

      I totally agree, it could be related to the problem... not really sure how to fix that though. I have sent the info to a collegue that has more knowledget about the certs.

  • karlstrom's avatar
    karlstrom
    Regular Visitor

    Can a moderator PLEASE respond to this thread as it's still a problem for us.

  • I am experiencing the same issue.

     

    I checked and PBIEgwSerice has permissions to create but not to delete in the root of the C drive. I think that is why folders are being created and not cleaned up. But should it be using the root of C to store refresh cache data? Does anyone know where the path for storing refresh cache data is at? Registry entry? Config file? Wondering if that was corrupted during the install maybe.

     

    Are others with this issue running the service under PBIEgwService or a different user? And does that user have permission to delete in the root of the C drive?

    • karlstrom's avatar
      karlstrom
      Regular Visitor

      That sounds like a good insight because this started for me some days after I upgraded the gateway on the server and changed from a AD-user to PBIEgwService on the service.

       

      I'm going to move the gateway to a new server, not sure whether I'm going to run it as the PBIEgwService or an AD-user. I'll let you know the result anyway.

      • MarcinBajda's avatar
        MarcinBajda
        Frequent Visitor

        When I first saw that happened I reset the password for PBIEgwService and next decided to change default account.
        I have created new AD account and setup the service to use it.

        It changed anything :(
        Folders are still created on C drive.

  • I have the same problem. Does anyone from MS Team working on this problem?

  • Hello srs. Im get a lastest version of PBI GW (3000.27.30 - Feb/20), and this problem (Windows Event Viewer Error ID 36882 - Source Schannel), persists.

     

    We have more than one error per minute.

     

    Any can help-me?

     

    Thanks!