[Bug 49102] Origin: unable to download and install games. "Origin needs to download files and is waiting for permission"

WineHQ Bugzilla wine-bugs at winehq.org
Tue May 5 16:12:21 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=49102

--- Comment #3 from Contex <contexmoh+winehq at gmail.com> ---
Created attachment 67079
  --> https://bugs.winehq.org/attachment.cgi?id=67079
Origin Client_Log.txt (snippet) showing download errors

I decided to grep and tail for anything related to Origin in my Wine prefix,
and found the following directory: 

/drive_c/users/me/Local Settings/Application Data/Origin/Logs

It contains logs created by the Origin client and its services:
---
Bootstrapper_Log.txt    IGO_Log.Origin_56.txt       
IGOProxy64_DX10_144_Log.txt  IGOProxy64_DX11_156_Log.txt 
IGOProxy64_DX12_145_Log.txt  IGOProxy64_DX9_157_Log.txt 
igoproxy_DX10_105_Log.txt  igoproxy_DX11_109_Log.txt  igoproxy_DX12_103_Log.txt
 igoproxy_DX8_100_Log.txt  igoproxy_DX9_101_Log.txt
Client_Log.txt          IGO_Log.Origin_8.txt        
IGOProxy64_DX10_147_Log.txt  IGOProxy64_DX11_160_Log.txt 
IGOProxy64_DX12_162_Log.txt  IGOProxy64_DX9_165_Log.txt 
igoproxy_DX10_198_Log.txt  igoproxy_DX11_124_Log.txt  igoproxy_DX12_126_Log.txt
 igoproxy_DX8_113_Log.txt  igoproxy_DX9_129_Log.txt
IGO_Log.Origin_164.txt  IGOProxy64_DX10_142_Log.txt 
IGOProxy64_DX11_150_Log.txt  IGOProxy64_DX12_136_Log.txt 
IGOProxy64_DX9_141_Log.txt   igoproxy_DX10_104_Log.txt  
igoproxy_DX10_93_Log.txt   igoproxy_DX11_133_Log.txt  igoproxy_DX12_93_Log.txt 
 igoproxy_DX8_98_Log.txt
---

The Client_Log.txt file contained logs created by the client itself, and lo and
behold, more descriptive errors!

Whilst starting the client tries to ping a "Escalation Service" 10 times (which
is why the client takes so long to load), which ends up failing with error
"kCommandErrorNotElevatedUser".

Whilst Origin is running it constantly attempts to ping the OriginClientService
and fails (this loops forever):

Example:
---
**1175   [2020-05-05 19:49:57.614]     Error    
Origin::Escalation::IEscalationClient::evaluateEscalationResult             441
      Escalation failure: kCommandErrorNotElevatedUser System Error: 0 Command:
checkIsRunningElevatedAndUACOK UAC Reason: createFolderElevated
(C:\ProgramData\Origin\DownloadCache)
  1176   [2020-05-05 19:49:59.541]     Event    
Origin::Escalation::IEscalationClient::quickEscalate                        441
      Elevation requested.  UAC Reason: createFolderElevated
(C:\ProgramData\Origin\DownloadCache)
**1177   [2020-05-05 19:49:59.541]     Error    
Origin::Escalation::IPCClient::sendMessage                                  441
      Connection to escalation service failed. Qt LocalSocketError: 2
**1178   [2020-05-05 19:49:59.541]     Warning  
Origin::Escalation::IEscalationClient::connectToEscalationService           441
      Connect to OriginClientService - ping did not succeed, waiting once and
trying again.
**1179   [2020-05-05 19:50:01.544]     Error    
Origin::Escalation::IPCClient::sendMessage                                  441
      Connection to escalation service failed. Qt LocalSocketError: 2
**1180   [2020-05-05 19:50:01.546]     Error    
Origin::Escalation::IPCClient::sendMessage                                  441
      Connection to escalation service failed. Qt LocalSocketError: 2
---

and

---
**106    [2020-05-05 19:48:07.377]     Error    
Origin::Escalation::IEscalationClient::evaluateEscalationResult             9  
      Escalation failure: kCommandErrorNotElevatedUser System Error: 0 Command:
checkIsRunningElevatedAndUACOK UAC Reason: createFolderElevated
(C:\ProgramData\Origin\CatalogCache)
  107    [2020-05-05 19:48:07.378]     Event    
OriginApplication::OriginApplication                                        9  
      Done      
---

To solve these errors the following directories have to be created:
- C:\ProgramData\Origin\DownloadCache
- C:\ProgramData\Origin\CatalogCache

That doesn't really solve the initial issue though. BUT, when attempting to
download and install a game, a very similar error pops up:

---
**1110   [2020-05-05 19:49:53.602]     Error    
Origin::Escalation::IEscalationClient::evaluateEscalationResult             301
      Escalation failure: kCommandErrorNotElevatedUser System Error: 0 Command:
checkIsRunningElevatedAndUACOK UAC Reason: IContentInstallFlow
escalationServiceEnabled (OFB-EAST:56694)
  1111   [2020-05-05 19:49:53.602]     Event    
Origin::Downloader::ContentInstallFlowDiP::begin                            301
      Begin install flow for Mass Effect™ 2, ctid: OFB-EAST:56694
**1112   [2020-05-05 19:49:53.603]     Error    
Origin::Downloader::createPathIfMissing                                     301
      Failed to create directory: C:/ProgramData/Origin/LocalContent/Mass
Effect 2 Error: 3
**1113   [2020-05-05 19:49:53.603]     Warning  
Origin::Downloader::ContentServices::SaveInstallManifest                    301
      Unable to open install flow manifest:
C:\ProgramData\Origin\LocalContent\Mass Effect 2\OFB-EAST56694.mfst - Error: 5
- Path not found.
---

After creating the directory "C:\ProgramData\Origin\LocalContent", the client
finally prompts me for the location and even lists which extra content I wish
to install.

NOTE: the first time you click download after launching the client the client
will repeat the 10-time ping attempt to the OriginClientService, there might
therefore be a delay before the modal pops up.

So far I've created the following directories:
- C:\ProgramData\Origin\DownloadCache
- C:\ProgramData\Origin\CatalogCache
- C:\ProgramData\Origin\LocalContent


I am currently stuck at the download portion of the issue, and a similar error
pops up:
---
**11669  [2020-05-05 20:53:49.796]     Error    
Origin::Escalation::IPCClient::sendMessage                                  254
      Connection to escalation service failed. Qt LocalSocketError: 2
**11670  [2020-05-05 20:53:49.796]     Error    
Origin::Escalation::IEscalationClient::evaluateEscalationResult             254
      Escalation failure: kCommandErrorNotElevatedUser System Error: 0 Command:
checkIsRunningElevatedAndUACOK UAC Reason: CreateDirectoryAllAccess
(Z:\opt\games\Mass Effect 2\)
**11671  [2020-05-05 20:53:49.796]     Error    
Origin::Downloader::ContentProtocolPackage::TransferStart                   254
      [Game Title: Mass Effect™ 2][ProductID:OFB-EAST:56694]Failed to create
unpack directory: Z:\opt\games\Mass Effect 2\
---

I've tried installing it to various locations with no success. I've attached
the log of the latest error.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list