Forum Discussion
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.
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
- sanimesa
Post Prodigy
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
Advocate 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
Advocate II
Just received an update on my support ticket. This issue should be fixed in the March update.
- karlstromRegular 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
Community 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- karlstromRegular Visitor
v-qiuyu-msft The folders are located at the root of C:-drive. Here's a pitcure from the server.
- MarcinBajdaFrequent 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...
- MarcinBajdaFrequent 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?
- karlstromRegular 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_nordlingFrequent 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.
- MarcinBajdaFrequent Visitor
Thanks for confirmation ;-)
I hope someone from Microsoft (especially "Gateway Team") would get intrested in the topic...
I think that better place for the topic is:
Integrations with Files and Services
- karlstromRegular Visitor
Can a moderator PLEASE respond to this thread as it's still a problem for us.
- MarcinBajdaFrequent Visitor
I have created "New Idea" in issues, please support it :)
Idea to SUPPORT :)
- jhills
Advocate II
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?
- karlstromRegular 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.
- MarcinBajdaFrequent 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.
- arthastic
Advocate I
I have the same problem. Does anyone from MS Team working on this problem?
- alexandre_rowupFrequent Visitor
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!