https://bugs.winehq.org/show_bug.cgi?id=49102
Bug ID: 49102 Summary: Origin: unable to download and install games. "Origin needs to download files and is waiting for permission" Product: Wine Version: 5.7 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: contexmoh+winehq@gmail.com Distribution: ---
Created attachment 67071 --> https://bugs.winehq.org/attachment.cgi?id=67071 Origin thin client installation log
Running latest 5.7 development with win64, corefonts and default configuration (Windows 7) on Ubuntu 18.04.
Installing latest Origin client from https://download.dm.origin.com/origin/live/OriginThinSetup.exe (also tested with the full client): 68b1baa026ec75760bfa077d24eb3e21502c6bd4 OriginThinSetup.exe 6d3dfce7cda14fa9292cc8409c18f1ff25b85fc4 OriginSetup.exe
During installation it errors out twice (!) but still continues. --- The program OriginClientService.exe has encountered a serious problem and needs to close. We are sorry for the inconvenience. ---
I am then able to login without any issues, however I am unable to download and install any games. I tried installing Mass Effect 1, but other games had the same issue. The download button changes from "Download" to "Preparing" and the following error pops up:
--- Your download has been paused. Origin needs to download files and is waiting for permission. Please choose "Yes" when Windows prompts you for permission. ---
I tried starting the "Origin Client Service" manually via. the "net" command, which just errors out. In addition I tried launching OriginClientService.exe, with the same error popping up. I don't see the client service running, only the "Origin Web Helper Service". I therefore believe that the issue lies within "Origin Client Service", but that's where my debugging knowledge stopped.
Attached is the log from the installation (where it also errors out), the errors can be found if you search for "ErrorDownload.wav".
Additional information: - The same issue is described here: https://forums.lutris.net/t/origin-wont-install-games-or-even-begin-to-downl... - And further described more detailed by "Grogan" here: http://bitbenderforums.com/forums/showthread.php?90365-Lutris-Another-game-i... - Also described by Aaron Dewell on Thursday January 23rd 2020, 14:03 in the comments here: https://appdb.winehq.org/objectManager.php?sClass=version&iId=26175 - There are numerous of people having the same issue on Windows, as seen here: https://answers.ea.com/t5/Origin-Client-Web-Technical/Origin-is-waiting-for-...
https://bugs.winehq.org/show_bug.cgi?id=49102
--- Comment #1 from Contex contexmoh+winehq@gmail.com --- Created attachment 67072 --> https://bugs.winehq.org/attachment.cgi?id=67072 Output when running: net start "Origin Client Service"
https://bugs.winehq.org/show_bug.cgi?id=49102
--- Comment #2 from Contex contexmoh+winehq@gmail.com --- Created attachment 67073 --> https://bugs.winehq.org/attachment.cgi?id=67073 Output when manually running: OriginClientService.exe
https://bugs.winehq.org/show_bug.cgi?id=49102
Contex contexmoh+winehq@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |win64
https://bugs.winehq.org/show_bug.cgi?id=49102
--- Comment #3 from Contex contexmoh+winehq@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.
https://bugs.winehq.org/show_bug.cgi?id=49102
--- Comment #4 from Contex contexmoh+winehq@gmail.com --- Created attachment 67080 --> https://bugs.winehq.org/attachment.cgi?id=67080 Origin Mass Effect 2 game filenames
Quick note:
I was able to manually download the file Origin was attempting to download without any issues (via the authed link in the Client_Log.txt):
--- -rw-rw-r-- 1 me me 17G sep. 24 2019 mass_effect_2pcpatch__wwrun_2__103_origin_rtp319aabff8a244bdd91cf8e2ea54517ff.zip ---
Interestingly enough, I believe this zip might contain the whole game and all the files needed to actually run the game, see the attachment.
This might be a dirty workaround, download and extract everything manually (DLCs should work the same way), and let Origin find the game(s)? I will have to do some more testing tomorrow.
https://bugs.winehq.org/show_bug.cgi?id=49102
--- Comment #5 from Contex contexmoh+winehq@gmail.com --- I couldn't wait. I tried "locating" the game through the Origin client, that didn't work. It's still having issues with OriginClientService. Perhaps running it outside of Origin works?
--- Connect to OriginClientService - ping did not succeed, waiting once and trying again. ... Escalation failure: kCommandErrorNotElevatedUser System Error: 0 Command: checkIsRunningElevatedAndUACOK UAC Reason: locateGameFolder (OFB-EAST:56694) ---
https://bugs.winehq.org/show_bug.cgi?id=49102
Anya animegirl@stronzi.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |animegirl@stronzi.org
https://bugs.winehq.org/show_bug.cgi?id=49102
--- Comment #6 from Contex contexmoh+winehq@gmail.com --- Created attachment 67085 --> https://bugs.winehq.org/attachment.cgi?id=67085 OriginClientService_Log.txt showing successful startup of the service
So I though the directory above (C:/users/me/Local Settings/Application Data/Origin/Logs) contained all the logs, but there's a separate directory containing the logs for the services: C:/ProgramData/Origin/Logs
It contains the following files:
1003291-1005288-1003290-mass_effect_2_de-mass_effect_2_dd-mass_effect_2_fr-mass_effect_2_it-mass_effect_2_pl-mass_effect_2_ce_OnlineActivation_Log.html OriginClientService_InstallTool_Log.txt OriginClientService_Log.txt OriginWebHelperService_InstallTool_Log.txt OriginWebHelperService_Log.txt
The installation log of each service are identical (except from the name), I've stripped the prefixes of the logs to make them more readable. --- Cmdline Param: /nsisinstall Cmdline Param: Origin Client Service: Running as normal executable. OS Version: 6.1.7601 ... Install mode. Running from NSIS. Origin Client Service not registered in SCM database. Service registered successfully in SCM database. Read Service Existing SDDL: D: Amended Service SDDL: D:(A;;RPWPCR;;;BU) Set service security attributes successfully. Service: Origin Client Service Operation Successful. ---
When executing the download the Origin client tries to execute the Origin Client Service, and it seems like the client successfully starts, I don't see any errors in the service log.
--- Cmdline Param: C:\Program Cmdline Param: Files Cmdline Param: (x86)\Origin\OriginClientService.exe Cmdline Param: -args:LWNhbGxlclByb2Nlc3NJZDo4 Cmdline Param: Origin Client Service: Running as normal executable. OS Version: 6.1.7601 LocalSocket listening on pipe: OriginClientService ---
-args:LWNhbGxlclByb2Nlc3NJZDo4 is just base64 ("-callerProcessId:8") refering to the process ID of the Origin Client.
In the client log (Client_Log.txt) the errors still exist: --- Starting OriginClientService C:\Program Files (x86)\Origin\OriginClientService.exe Attempting to start Origin Client Service as a system service... Service is currently stopped. Starting Origin Client Service, args = C:\Program Files (x86)\Origin\OriginClientService.exe -args:LWNhbGxlclByb2Nlc3NJZDo4 Unable to re-query service status. Service: Origin Client Service Error: 122 ---
I'm attaching the OriginClientService_Log.txt
So it seems like the client is unable to communicate with the service socket, is this a permission issue? I'm going to attempt go further with the manually downloaded game next and see if I can get Origin to "verify" the game files somehow.
https://bugs.winehq.org/show_bug.cgi?id=49102
--- Comment #7 from Contex contexmoh+winehq@gmail.com --- Quick note.
There's another log directory here C:/users/kotlarz/Application Data/Origin/Logs, but it contains binary logs and I have no idea what format it's using or if they're useful.
$ ls dserrors.data ots_dserrors.data owh_dserrors.data
$ file * dserrors.data: data ots_dserrors.data: data owh_dserrors.data: data
https://bugs.winehq.org/show_bug.cgi?id=49102
--- Comment #8 from Contex contexmoh+winehq@gmail.com --- Created attachment 67086 --> https://bugs.winehq.org/attachment.cgi?id=67086 Origin Client_Log.txt (snippet) for failed CRC calculation
I managed to get Origin to recognize the manually downloaded files!
After moving the game files into the game directory, and running "Download" again, it tries to "verify" the game files. Sadly it doesn't seem to succeed:
CRC Map created for : C:\ProgramData\Origin\LocalContent\Mass Effect 2\map.crc Ref Count: 1 [Game Title: Mass Effect™ 2][ProductID:OFB-EAST:56694]Reading central directory from data source. ... [80c0a8f8605b] CRC Map 100% Complete | Session Bytes: 21480.80 MB | Session Time: 01:04 | Session Speed: 331.19 MB/sec [Game Title: Mass Effect™ 2][ProductID:OFB-EAST:56694]CRC Calculation Complete.
https://bugs.winehq.org/show_bug.cgi?id=49102
--- Comment #9 from Contex contexmoh+winehq@gmail.com --- So I'm still stuck at UAC permissions, is this something with Wine?
---
**1516 [2020-05-06 09:24:04.369] Error Origin::Escalation::IEscalationClient::evaluateEscalationResult 252 Escalation failure: kCommandErrorNotElevatedUser System Error: 0 Command: checkIsRunningElevatedAndUACOK UAC Reason: CreateDirectoryAllAccess (Z:\opt\games\Mass Effect 2) **1517 [2020-05-06 09:24:04.369] Error Origin::Downloader::ContentProtocolPackage::TransferStart 252 [Game Title: Mass Effect™ 2][ProductID:OFB-EAST:56694]Failed to create unpack directory: Z:\opt\games\Mass Effect 2\
---
It seems to fail creating the "Z:\opt\games\Mass Effect 2" directory (or whatever directory you're trying to install the game to), even though I created it manually and gave it 777 permissions.
My workaround (creating directories) worked for the previous issues. Seems like Origin is unable to create directories throughout the system.
I'm not sure what to do next, feels like I've tried everything there is to try.
https://bugs.winehq.org/show_bug.cgi?id=49102
Alexandr Oleynikov sashok.olen@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sashok.olen@gmail.com
--- Comment #10 from Alexandr Oleynikov sashok.olen@gmail.com --- If this is an actual regression, it would be nice to perform a bisect and determine what caused it.
https://bugs.winehq.org/show_bug.cgi?id=49102
--- Comment #11 from Contex contexmoh+winehq@gmail.com --- (In reply to Alexandr Oleynikov from comment #10)
If this is an actual regression, it would be nice to perform a bisect and determine what caused it.
I'm available to test anything, how would I go forward with testing this?
https://bugs.winehq.org/show_bug.cgi?id=49102
--- Comment #12 from Alexandr Oleynikov sashok.olen@gmail.com --- Now that I look at this issue closely, I don't think this is a regression actually. Can you please test this with Wine-Staging? Origin is a very special app and requires many staging patchsets to work properly. Also, make sure you install it onto Ext4 drive, Wine apps dont work well on NTFS partitions. Alternatively, you can try using Lutris' installer for Origin as the wine builds that app includes have fixes for Origin that even staging doesn't have: https://lutris.net/games/origin/
https://bugs.winehq.org/show_bug.cgi?id=49102
--- Comment #13 from Contex contexmoh+winehq@gmail.com --- (In reply to Alexandr Oleynikov from comment #12)
Now that I look at this issue closely, I don't think this is a regression actually. Can you please test this with Wine-Staging? Origin is a very special app and requires many staging patchsets to work properly. Also, make sure you install it onto Ext4 drive, Wine apps dont work well on NTFS partitions. Alternatively, you can try using Lutris' installer for Origin as the wine builds that app includes have fixes for Origin that even staging doesn't have: https://lutris.net/games/origin/
I'll do some testing later today, cheers for the quick reply!
https://bugs.winehq.org/show_bug.cgi?id=49102
--- Comment #14 from Contex contexmoh+winehq@gmail.com --- Doing some testing now and seems like the issue exists in both wine-staging and the Lutris version, I've also tried PlayOnLinux, and the same issue exists there.
I don't know if it's related, but these errors map one-to-one:
Wine log: 00b0:fixme:service:svcctl_EnumServicesStatusExW resume handle not supported 00b0:fixme:service:svcctl_EnumServicesStatusExW resume handle not supported
Origin client: Connection to escalation service failed. Qt LocalSocketError: 2 Connection to escalation service failed. Qt LocalSocketError: 2 Escalation failure: kCommandErrorNotElevatedUser System Error: 0 Command: checkIsRunningElevatedAndUACOK UAC Reason: createFolderElevated (C:\ProgramData\Origin\DownloadCache)
Just to note that I'm not alone with this. There's another comment made 2 weeks ago by jibajiy751 on https://lutris.net/games/origin/ stating the same exact issue.
Origin is waiting for permission. Can't download any game. I can not download any games because I get an error: "Origin needs to download files and is waiting for permission. Please choose "Yes" when Windows prompts you for permission.", but the thing is, I don't get the Windows prompts.
In https://answers.ea.com/t5/EA-General-Questions/Origin-needs-to-download-file... they say "Make sure you are the administrator, run the setup file Origin with Admin rights " But I don't know how to do that in Lutris.
These are my stats: OS: Linux Mint 19.3 Tricia x86_64 Kernel: 5.3.0-46-generic Resolution: 1920x1080 DE: Cinnamon 4.4.8 WM: Mutter (Muffin) CPU: Intel i7-7500U (4) @ 3.500GHz GPU: NVIDIA GeForce 940MX Memory: 15899MiB
It's odd that there aren't more reports about this, sounds like it's somewhat of an edge case? The only thing my case have in common with others is the error itself. I'm running ext4, but I encrypted my disk with LUKS, that shouldn't matter I hope?
Here's my OS and hardware information:
OS: Ubuntu 18.04 bionic Kernel: x86_64 Linux 4.15.0-99-generic Resolution: 3840x2160 DE: XFCE WM: Xfwm4 CPU: Intel Core i7-7700HQ @ 8x 3.8GHz [25.0°C] GPU: GeForce GTX 1050 RAM: 15890MiB
Is there anything else I can do or test?
https://bugs.winehq.org/show_bug.cgi?id=49102
--- Comment #15 from Contex contexmoh+winehq@gmail.com --- I was thinking that I could test it on a clean OS install, would it matter if i tested it on a VM? Don't have another computer to test it on at the moment.
Cheers!
https://bugs.winehq.org/show_bug.cgi?id=49102
--- Comment #16 from Contex contexmoh+winehq@gmail.com --- Another case on the Lutris subreddit:
https://www.reddit.com/r/Lutris/comments/gcyezd/origin_fails_to_download_gam...
https://bugs.winehq.org/show_bug.cgi?id=49102
--- Comment #17 from Contex contexmoh+winehq@gmail.com --- I got it working on a fresh Ubuntu 18.04 VM installation. I'll do some comparison of logs and packages etc. to see if there are any big differences. Would be nice to figure out what the issue is instead of performing a OS reinstall.
https://bugs.winehq.org/show_bug.cgi?id=49102
--- Comment #18 from Contex contexmoh+winehq@gmail.com --- Created attachment 67089 --> https://bugs.winehq.org/attachment.cgi?id=67089 Working OriginClientService_Log.txt of a clean OS install
https://bugs.winehq.org/show_bug.cgi?id=49102
--- Comment #19 from Contex contexmoh+winehq@gmail.com --- Created attachment 67090 --> https://bugs.winehq.org/attachment.cgi?id=67090 Working Client_Log.txt of a clean OS install
You can see that the escalation service part works fine in the clean OS install:
--- Attempting to ping Escalation Service...attempts left:9 ProcessWin: 0x2cc Exit result: 0 Starting OriginClientService result: true, timer = 2874 Elevation successful. UAC Reason: createFolderElevated (C:\ProgramData\Origin\CatalogCache) ---
And the Origin Client Service receives the pings/requests (see previous attachment):
--- ... Successfully determined caller process ID: 8 The file has a valid EA certificate: C:\Program Files (x86)\Origin\Origin.exe Successfully validated caller PID: 8 Path: C:\Program Files (x86)\Origin\Origin.exe Received data: Ping Responding to ping() with ADMIN Processed command [Ping], result was 0 and response text is [ADMIN] ---
I'm dumbfounded, seems like there is something blocking the communication between the client and the service?
https://bugs.winehq.org/show_bug.cgi?id=49102
kokispro1@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kokispro1@gmail.com
--- Comment #20 from kokispro1@gmail.com --- Created attachment 67092 --> https://bugs.winehq.org/attachment.cgi?id=67092 Additional logs from another user with the same issue
https://bugs.winehq.org/show_bug.cgi?id=49102
--- Comment #21 from Contex contexmoh+winehq@gmail.com --- I created a new user on my computer and tried to run Origin and ended with the same issue. So the underlying issue seems to be caused by something that's system-wide. I'll do some comparison with my 18.04 VM after work today, perhaps there's a package causing this? Or some sort of configuration blocking communication by processes.
https://bugs.winehq.org/show_bug.cgi?id=49102
--- Comment #22 from Contex contexmoh+winehq@gmail.com --- Created attachment 67094 --> https://bugs.winehq.org/attachment.cgi?id=67094 System information for the 18.04 VM
I made my host OS use the same Wine version as the VM "wine-3.0 (Ubuntu 3.0-1ubuntu1)", and upgraded my Linux kernel to the same version "5.3.0-51-generic #44~18.04.2-Ubuntu SMP Thu Apr 23 14:27:18 UTC 2020". The error still exists on my host OS, so there's something else causing this.
It feels like my host OS is blocking the IPC socket communication somehow, but I'm going through uncharted waters at the moment, so I'm not sure how to debug this further. Is there any way to debug the IO communication between the client and the service process?
https://bugs.winehq.org/show_bug.cgi?id=49102
--- Comment #23 from Contex contexmoh+winehq@gmail.com --- Further debugging.
I checked the kernel parameters, they're almost identical, I just have IPv6 disabled on my host and IPv4 forwarding enabled. I also checked the user capabilities for the host user and the VM user, they're both identical.
There is something odd happening with how the Origin.exe process does capability checks. It checks for different capabilities in the VM vs the host, I don't know if it's because I'm running it in a VM. Would be great if someone else could test and see.
There's a great toolkit for testing Linux IO here: https://github.com/iovisor/bcc. I used the capable tool https://github.com/iovisor/bcc/blob/master/tools/capable.py, which traces security capabilities check.
VM: --- Origin.exe 2 CAP_DAC_READ_SEARCH 1 0 Origin.exe 1 CAP_DAC_OVERRIDE 1 0 Origin.exe 2 CAP_DAC_READ_SEARCH 1 0 Origin.exe 1 CAP_DAC_OVERRIDE 1 0 ---
Host: --- Origin.exe 21 CAP_SYS_ADMIN 1 0 Origin.exe 21 CAP_SYS_ADMIN 1 0 Origin.exe 21 CAP_SYS_ADMIN 1 0 Origin.exe 21 CAP_SYS_ADMIN 1 0 Origin.exe 21 CAP_SYS_ADMIN 1 0 ---
Like mentioned, I don't know if it's related due to the fact I'm running it in a VM, but I'll do some more testing and see if there's something I can do with this. I'll read through "Debugging IPC with Shell Commands" and see if it gives me anything.
https://bugs.winehq.org/show_bug.cgi?id=49102
--- Comment #24 from Contex contexmoh+winehq@gmail.com --- Created attachment 67100 --> https://bugs.winehq.org/attachment.cgi?id=67100 OriginClientService.exe backtrace when launching it manually
OK there's definitely something wrong with the Origin Client Service. When I try to stop it on the VM it successfully stops:
--- $ net stop "Origin Client Service" The Origin Client Service service is stopping. 01a1:fixme:service:EnumDependentServicesW 0x21f3a8 0x00000001 (nil) 0x00000000 0x32ddc4 0x32ddc8 - stub The Origin Client Service service was stopped successfully. ---
Whilst on the host: --- $ net stop "Origin Client Service" The Origin Client Service service is stopping. 012d:fixme:service:EnumDependentServicesW 0x2143d8 0x00000001 (nil) 0x00000000 0x32ddc4 0x32ddc8 - stub Pipe closed. ---
But when checking services running on the host, it's still running (it's fully stopped on the VM): --- $ net start The following services are running: Origin Client Service Origin Web Helper Service Plug and Play Service Winedevice1 Winedevice2 ---
If I try to stop it again on the host: --- $ net stop "Origin Client Service" The Origin Client Service service is stopping. 01da:fixme:service:EnumDependentServicesW 0x2143d8 0x00000001 (nil) 0x00000000 0x32ddc4 0x32ddc8 - stub Service cannot accept control message. ---
It never stops though?
So I tried something else, I tried to manually launch client service on the host and VM (normally the Origin.exe process launches the service by executing the OriginClientService.exe).
I renamed OriginClientService.exe to OriginClientService2.exe, meaning Origin.exe wouldn't be able to find it, and most likely error out, and yep: --- Starting OriginClientService C:\Program Files (x86)\Origin\OriginClientService.exe Attempting to start Origin Client Service as a system service... Service is currently stopped. Starting Origin Client Service, args = C:\Program Files (x86)\Origin\OriginClientService.exe -args:LWNhbGxlclByb2Nlc3NJZDo4 Unable to start service: Origin Client Service Error: 2 Couldn't split environment key/value pair from: ---
I then manually tried to launch the OriginClientService.exe just like Origin.exe does it and it errors out on the host!
VM (it executes and keeps running, Origin.exe is then able to create folders etc.): --- $ ./OriginClientService.exe -args:LWNhbGxlclByb2Nlc3NJZDo4 Logfile: C:\ProgramData/Origin/Logs/OriginClientService_Log Local time: Fri May 8 09:59:49 2020 DACL converted successfully SetNamedSecurityInfo succeeded debug header="Cmdline Param" cmdLine="-args:LWNhbGxlclByb2Nlc3NJZDo4 " Cmdline Param: -args:LWNhbGxlclByb2Nlc3NJZDo4 Cmdline Param: Origin Client Service: Running as normal executable. OS Version: 10.0.17134 LocalSocket listening on pipe: OriginClientService Found escalation args Successfully determined caller process ID: 8 ---
Host (it executes and exits. Origin.exe fails creating folders etc. Notice the last 2 lines are missing): --- $ ./OriginClientService.exe -args:LWNhbGxlclByb2Nlc3NJZDo4 Logfile: C:\ProgramData/Origin/Logs/OriginClientService_Log Local time: Fri May 8 10:11:50 2020 DACL converted successfully SetNamedSecurityInfo succeeded debug header="Cmdline Param" cmdLine="-args:LWNhbGxlclByb2Nlc3NJZDo4 " Cmdline Param: -args:LWNhbGxlclByb2Nlc3NJZDo4 Cmdline Param: Origin Client Service: Running as normal executable. OS Version: 10.0.17134 LocalSocket listening on pipe: OriginClientService ---
The host also dumps a backtrace! See the attachment.
https://bugs.winehq.org/show_bug.cgi?id=49102
Alexandr Oleynikov sashok.olen@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|sashok.olen@gmail.com |
https://bugs.winehq.org/show_bug.cgi?id=49102
Contex contexmoh+winehq@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #25 from Contex contexmoh+winehq@gmail.com --- I messaged Grogan from bitbenderforums.com (in original issue comment) and got it figured it out.
Earlier today I said:
I checked the kernel parameters, they're almost identical, I just have IPv6 disabled on my host and IPv4 forwarding enabled.
Removing "ipv6.disable=1" from the kernel command line solves it issue. Seems like Origin doesn't like when it doesn't have IPv6 available.
Such a stupid and easy solution, ugh.
Hope it helps someone else.
https://bugs.winehq.org/show_bug.cgi?id=49102
Contex contexmoh+winehq@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |INVALID
--- Comment #26 from Contex contexmoh+winehq@gmail.com --- I'm marking it as invalid as it's not directly related to Wine as far as I know. Feel free to correct it.
https://bugs.winehq.org/show_bug.cgi?id=49102
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |o.dierick@piezo-forte.be Summary|Origin: unable to download |Origin: unable to download |and install games. "Origin |and install games when IPv6 |needs to download files and |is disabled in kernel. |is waiting for permission" |"Origin needs to download | |files and is waiting for | |permission"
https://bugs.winehq.org/show_bug.cgi?id=49102
--- Comment #27 from Contex contexmoh+winehq@gmail.com --- Just to get it written down, another symptom in addition to not being able to download games, is that the chat is disabled. Chat is noted as "Offline".
https://bugs.winehq.org/show_bug.cgi?id=49102
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Origin: unable to download |Origin: unable to use |and install games when IPv6 |online features (game |is disabled in kernel. |install/update + chat) when |"Origin needs to download |IPv6 is disabled in kernel. |files and is waiting for |"Origin needs to download |permission" |files and is waiting for | |permission"
https://bugs.winehq.org/show_bug.cgi?id=49102
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #28 from Austin English austinenglish@gmail.com --- Closing.
https://bugs.winehq.org/show_bug.cgi?id=49102
Pablillo Jose joblipallose@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |joblipallose@gmail.com
--- Comment #29 from Pablillo Jose joblipallose@gmail.com --- I did make the changes to the ipv6 like you suggested but no luck here. My game was downloading just fine, until it stopped downloading and drop the speeds to 0 b/s. Then I made the ipv6 suggestions and then the Permission Pop-up started to show up. I enable the ipv6 again and I now I get permanently the “Permission Pop-up”
What do you think?
https://bugs.winehq.org/show_bug.cgi?id=49102
--- Comment #30 from Contex contexmoh+winehq@gmail.com --- (In reply to Pablillo Jose from comment #29)
I did make the changes to the ipv6 like you suggested but no luck here. My game was downloading just fine, until it stopped downloading and drop the speeds to 0 b/s. Then I made the ipv6 suggestions and then the Permission Pop-up started to show up. I enable the ipv6 again and I now I get permanently the “Permission Pop-up”
What do you think?
You said it was downloading fine so it should be its own separate issue, sounds like something else is causing it.
I would check the Origin client logs as they're somewhat verbose, see my ramblings further up for log locations.