steam-for-linux icon indicating copy to clipboard operation
steam-for-linux copied to clipboard

Requesting key... never completes for CD key

Open jvarho opened this issue 13 years ago • 81 comments

I'm trying to get the CD key link for a non-Linux game I own (Crusader Kings II), so I can use it to sign up on their forums. The request never completes, it just says "Requesting key..." and copying to clipboard does nothing.

  1. Open the game in library.
  2. Click the CD key link on the right hand side.
  3. A new window pops up but the request never completes.

System info:

Processor Information: Vendor: AuthenticAMD Speed: 2800 Mhz 4 logical processors 4 physical processors HyperThreading: Unsupported FCMOV: Supported SSE2: Supported SSE3: Supported SSSE3: Supported SSE4a: Supported SSE41: Unsupported SSE42: Unsupported

Network Information: Network Speed:

Operating System Version: Ubuntu 12.10 (64 bit) Kernel Name: Linux Kernel Version: 3.5.0-21-generic X Server vendor: The X.Org Foundation X Server release: 11300000

Video Card: Driver: X.Org Gallium 0.4 on AMD RV770

Driver Version:  2.1 Mesa 9.0
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 60 Hz
VendorID:  0x1002
DeviceID:  0x9442
Number of Monitors:  1
Number of Logical Video Cards:  1
Primary Display Resolution:  1920 x 1080
Desktop Resolution: 1920 x 1080
Primary Display Size: 20.08" x 11.30"  (23.03" diag)
                                        51.0cm x 28.7cm  (58.5cm diag)
Primary VRAM Not Detected

Sound card: Audio device: Nvidia MCP77/78 HDMI

Memory: RAM: 3954 Mb

Miscellaneous: UI Language: English LANG: en_US.UTF-8 Microphone: Not set Total Hard Disk Space Available: 24605 Mb Largest Free Hard Disk Block: 16279 Mb

Installed software:

Recent Failure Reports: Fri Dec 21 11:53:12 2012 GMT: file ''/tmp/dumps/assert_20121221135304_1.dmp'', upload yes: ''CrashID=bp-20540da8-691f-4d9d-be7c-a727e2121221''

jvarho avatar Dec 21 '12 12:12 jvarho

Dup of this Steam for Linux group issue (and others related to key activation). We're investigating. For now, the only supported games are listed here.

frankc-valve avatar Dec 21 '12 19:12 frankc-valve

I tested this with today's build and (although I didn't get a dialog box) the key was copied to my clipboard and I was able to paste it anywhere I needed. Please reopen if you still have issues with the key.

frankc-valve avatar Jan 04 '13 01:01 frankc-valve

Today I tried to get "Mount & Blade: Warband" CD key and have totally same issue. Seems like that also actual for all non-linux games in my library (e.g Europa Universalis III).

dent007 avatar Jan 23 '13 19:01 dent007

I have latest version of Steam, but still have same bug. Can't get key for Europa Universalis III too.

sxxx avatar Jan 31 '13 07:01 sxxx

@dent007, how are you accessing this menu option? Using the latest Linux Steam client, I see Mount & Blade on my Libray page but when I right-click I do not have a View CD Key option. I'm not sure this is expected (since I'm using the Linux client) or not but I can't repro your hanging dialog bug.

frankc-valve avatar Jan 31 '13 22:01 frankc-valve

@frankc-valve, for me "CD key" option is available in right "Links" menu on game page, right under DLC. Screenshot is here: http://www.sendspace.com/file/u8kq6k It's will be really bad if you completely remove this options for non-linux games, because for Paradox games "cd keys" are used to register games on their forum.

sxxx avatar Feb 02 '13 15:02 sxxx

@frankc-valve: Please reopen this as the issue is still unresolved (for me at least). When I request CD Key for Crysis 2 (but it's also same for GTA IV), it never completes, related console output:

CAPIJobRequestUserStats - Server response failed 2
cdkeydisplaydialog.cpp (97) : Assertion Failed: pApp->RequiresLegacyCDKey()
Assert( Assertion Failed: pApp->RequiresLegacyCDKey() ):/home/buildbot/buildslave_steam/steam_rel_client_ubuntu12_linux/build/src/steamui/cdkeydisplaydialog.cpp:97

Installing breakpad exception handler for appid(steam)/version(1360282734_client)
Uploading dump (in-process) [proxy '']
/tmp/dumps/assert_20130208231612_1.dmp
success = yes
response:  CrashID=bp-165462cb-416b-4350-a0ad-9e4a22130208

Majkl578 avatar Feb 08 '13 22:02 Majkl578

I'm having the same problem with "Wargame: European escalation"

conq avatar Mar 01 '13 18:03 conq

And I have the same problem with "TrackMania United".

gabbe avatar Apr 04 '13 18:04 gabbe

Still have the same problem with Europa Universalis III.

sxxx avatar Apr 06 '13 03:04 sxxx

Still a problem: can't retrieve cd key for any non-linux game

Bulkin avatar Dec 26 '13 10:12 Bulkin

Did this ever get fixed? I'm seeing this with the latest build. Trying to get my Doom 3 key.

jared-wallace avatar Nov 29 '15 04:11 jared-wallace

@jared-wallace I have the exact same issue. Purchased Doom 3 pack, got the doom3-data-steam and doom3 packages from the AUR installed. But I can't get the CD key from steam, which I need to activate the game. The game launches fine, but I get "stuck" on the activation step.

Any idea what can be done here?

Strit avatar Dec 11 '15 15:12 Strit

I just started downloading the game on a Windows box. VM would probably work too. As soon as it started, I could grab the key.

On December 11, 2015 9:04:40 AM CST, Dan Johansen [email protected] wrote:

@jared-wallace I have the exact same issue. Purchased Doom 3 pack, got the doom3-data-steam and doom3 packages from the AUR installed. But I can't get the CD key from steam, which I need to activate the game. The game launches fine, but I get "stuck" on the activation step.

Any idea what can be done here?


Reply to this email directly or view it on GitHub: https://github.com/ValveSoftware/steam-for-linux/issues/212#issuecomment-163958262

Sent from my Android device with K-9 Mail. Please excuse my brevity.

jared-wallace avatar Dec 11 '15 15:12 jared-wallace

I really hope that "get a windows install" is not the answer from Valve to this problem.

Strit avatar Dec 11 '15 15:12 Strit

I'm having the same problem. Bought Trackmania 2 Stadium from Steam on Linux but cannot get the CD key to use it to play the game using Wine. The dialog opens but is stuck at "Requesting key..."

ghost avatar Jan 15 '17 19:01 ghost

Hi, I am copying my findings from #5024.

System Information

  • Steam client version: Jun 8 2017, at 04:34:18; Steam API: v017; Steam package versions: local
  • Distribution: Ubuntu Mate 17.04 x64
  • Opted into Steam client beta?: Yes
  • Have you checked for system updates?: Yes

The issue in as much detail as possible:

Steam client has an option to show CD Key of certain games. Here are those games:

ShowCDKeyOnLaunch: https://steamdb.info/search/?a=app_keynames&keyname=179 ShowCDKeyInMenu: https://steamdb.info/search/?a=app_keynames&keyname=181

However, as I found out, Steam for Linux is unable to show cd keys of non-Linux titles:

Here is the CD Key output of Warhammer 40,000: Dawn of War - Game of the Year Edition:

  • Steam for Linux: https://yadi.sk/i/XgOE57633K3cgM
  • Steam for Windows via PlayOnLinux: https://yadi.sk/i/1XjAUZ4l3K3cgY

When I try to see the cd key of a Linux game, Steam for Linux instantly shows the key:

Cities in Motion 2 via Steam for Linux:

https://yadi.sk/i/MZ9wymlo3K3d8T

As it turned out Steam client two different method to show CD keys; ShowCDKeyOnLaunch and ShowCDKeyInMenu. Apparently, CD key "option" of the games that use ShowCDKeyOnLaunch method does not show up on Steam client if the games don't support that OS (eg Linux). FlatOut: Ultimate Carnage which uses ShowCDKeyOnLaunch method is an example of that:

Steam for Linux: https://yadi.sk/i/6lVS9Hjx3K5AiM Steam for Windows via PlayOnLinux: https://yadi.sk/i/2NZHmMaP3K5Ai5

On the other hand, CD key option of the games that use ShowCDKeyInMenu method does appear on Steam client of all 3 operating systems, but CD key cannot be retrieved if the game does not support the operating system in question (eg Linux). Previously showed Warhammer 40,000: Dawn of War - Game of the Year Edition is an example of that.

A Feral Interactive employee, edddeduck_feral explained the cause of the problem on Reddit:

https://www.reddit.com/r/linux_gaming/comments/6grmop/steam_for_linux_doesnt_show_cd_key_for_windows/distlgd/

Steps for reproducing this issue:

  1. Launch Steam for Linux
  2. Find a game which has CD key option.
  3. See if CD key option appears.
  4. If CD key option is present, click it to get license code of non-Linux games.

. My system information via Steam client: Github Gist

rea987 avatar Jun 13 '17 13:06 rea987

The solution on valve is, games execute proton games only for windows or mac, put the same key that have in windows

jomarocas avatar Nov 05 '18 13:11 jomarocas

I have having this issue with Trainz Simulator 12 on Ubuntu, checking for the key is mandatory on startup, so the game will not start.

Rich43 avatar Jan 27 '19 00:01 Rich43

FWIW, I can confirm that Tom Clancy's Splinter Cell: Conviction is getting its requested key when I start it with steam for windows and a current wine installation instead of using steam for linux and proton 4.2.2.

priand1 avatar Apr 11 '19 14:04 priand1