ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.21k stars 175 forks source link

TF2 can't log in to YouTube #796

Closed DarthBrandon closed 11 years ago

DarthBrandon commented 11 years ago

I saved my first replay and wanted to upload it to YouTube. But I can't log in. It says that the login failed and to check my internet connection. In the developer console I get this error:

Error: Protocol https not supported or disabled in libcurl

My system info:

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

Network Information: Network Speed:

Operating System Version: Ubuntu 12.04.1 LTS (64 bit) Kernel Name: Linux Kernel Version: 3.2.0-36-generic X Server vendor: The X.Org Foundation X Server release: 11103000

Video Card: Driver: NVIDIA Corporation GeForce GT 240/PCIe/SSE2

Driver Version:  3.3.0 NVIDIA 310.14
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 60 Hz
VendorID:  0x10de
DeviceID:  0xca3
Number of Monitors:  1
Number of Logical Video Cards:  1
Primary Display Resolution:  1280 x 1024
Desktop Resolution: 1280 x 1024
Primary Display Size: 14.80" x 11.85"  (18.94" diag)
                                        37.6cm x 30.1cm  (48.1cm diag)
Primary Bus: PCI Express 16x
Primary VRAM: 1024 MB
Supported MSAA Modes:  2x 4x 8x 16x 

Sound card: Audio device: Realtek ALC888

Memory: RAM: 5927 Mb

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

Installed software:

Recent Failure Reports: Fri Jan 18 05:26:12 2013 GMT: file ''/tmp/dumps/assert_20130118002559_1.dmp'', upload yes: ''CrashID=bp-b20ecb2a-04c7-4f28-8167-a79aa2130117'' Fri Jan 18 23:49:08 2013 GMT: file ''/tmp/dumps/assert_20130118184858_1.dmp'', upload yes: ''CrashID=bp-3435baa7-42fc-4d8d-8a1b-627722130118'' Fri Jan 18 23:49:37 2013 GMT: file ''/tmp/dumps/assert_20130118184927_2.dmp'', upload yes: ''CrashID=bp-e68ffbdb-adc7-447b-b663-343482130118'' Fri Jan 18 23:49:46 2013 GMT: file ''/tmp/dumps/assert_20130118184937_3.dmp'', upload yes: ''CrashID=bp-65a271f3-982e-45cb-9f2f-b531f2130118'' Tue Jan 22 07:41:17 2013 GMT: file ''/tmp/dumps/assert_20130122024111_1.dmp'', upload yes: ''CrashID=bp-c1dadfef-1acd-4642-a72d-d46302130121'' Tue Jan 22 07:41:53 2013 GMT: file ''/tmp/dumps/assert_20130122024144_2.dmp'', upload yes: ''CrashID=bp-20e46035-8afc-46aa-ba3e-e230b2130121'' Tue Jan 22 07:42:50 2013 GMT: file ''/tmp/dumps/assert_20130122024241_1.dmp'', upload yes: ''CrashID=bp-c1e12300-ce4c-4e2b-87d7-040a02130121'' Tue Jan 22 08:25:59 2013 GMT: file ''/tmp/dumps/assert_20130122032546_1.dmp'', upload yes: ''CrashID=bp-52e5440d-2184-45b7-ae0c-2a5e92130122'' Tue Jan 22 08:26:09 2013 GMT: file ''/tmp/dumps/assert_20130122032559_2.dmp'', upload yes: ''CrashID=bp-cfc01882-e6d9-4fbc-be0f-819872130122'' Tue Jan 22 08:26:19 2013 GMT: file ''/tmp/dumps/assert_20130122032609_3.dmp'', upload yes: ''CrashID=bp-471ea055-e594-43b4-86be-5df902130122'' Tue Jan 22 08:28:16 2013 GMT: file ''/tmp/dumps/assert_20130122032805_1.dmp'', upload yes: ''CrashID=bp-e1f56af7-4a68-4b50-b49f-d5df62130122'' Tue Jan 22 08:28:28 2013 GMT: file ''/tmp/dumps/assert_20130122032816_2.dmp'', upload yes: ''CrashID=bp-681d9da9-f7ee-417f-9857-aaceb2130122'' Tue Jan 22 08:28:37 2013 GMT: file ''/tmp/dumps/assert_20130122032828_3.dmp'', upload yes: ''CrashID=bp-782ecffc-9cd5-4538-9341-006e22130122'' Tue Jan 22 08:29:19 2013 GMT: file ''/tmp/dumps/assert_20130122032910_1.dmp'', upload yes: ''CrashID=bp-5eabe21f-f954-4354-960e-fd21c2130122'' Tue Jan 22 08:40:05 2013 GMT: file ''/tmp/dumps/assert_20130122033953_1.dmp'', upload yes: ''CrashID=bp-fbed189a-dd53-40e7-bb03-14a172130122'' Tue Jan 22 08:40:23 2013 GMT: file ''/tmp/dumps/assert_20130122034013_2.dmp'', upload yes: ''CrashID=bp-feea1c1a-a995-473b-8a37-455d22130122'' Tue Jan 22 08:40:38 2013 GMT: file ''/tmp/dumps/assert_20130122034023_3.dmp'', upload yes: ''CrashID=bp-9967a680-3cb8-4167-9453-17d0a2130122''

MrSchism commented 11 years ago

I'm not sure if it's related to this... but I can't seem to get the achievement for having worked on a video for a length of time, regardless of if I'm on Linux or Windows.

johndrinkwater commented 11 years ago
john@joran Team Fortress 2 > ll
total 4640
drwxrwxr-x  3 john    4096 2013-01-18 10:05 bin
drwx------  3 john    4096 2012-11-13 15:06 config
drwxrwxr-x  4 john    4096 2012-11-13 15:07 hl2
-rwxrwxr--  1 john    6891 2013-01-21 23:21 hl2_linux
-rwxrwxr--  1 john    2171 2013-01-21 23:21 hl2.sh
-rw-rw-r--  1 john      17 2013-01-21 23:21 libcurl.so
drwxr--r--  3 john    4096 2012-11-13 15:07 platform
-rw-rw-r--  1 john 4712557 2013-01-11 19:54 strace-loop
drwxrwxr-x 16 john    4096 2013-01-11 19:55 tf
john@joran Team Fortress 2 > cat libcurl.so 
libcurl.so.4.2.0

wut?

DarthBrandon commented 11 years ago

So the libcurl.so included with TF2 is a plain text file with just "libcurl.so.4.2.0" in it? I assume that's not usual for .so files?

matthewsor commented 11 years ago

It's more weird than that, since TF2 main doesn't actually use libcurl.so, the libcurl in TF2 is statically linked (though a library it uses may need it, still investigating that). I've fixed the problem with the non SSL libcurl but I'm still trying to figure out why we have a libcurl.so on the root.

We should have a fix for this out in the next week or so. Until then if you want to upload to YouTube you can export your rendered movie and then upload it to YouTube directly. Which to be honest actually works better given the security issues with YouTube and Google.

DarthBrandon commented 11 years ago

Security issues? What issues? And don't I need to upload it via TF2 in order to get the achievements?

matthewsor commented 11 years ago

Google now wants you to create a new authorization for apps that upload to YouTube (so you can revoke the authorization). You have to do this on your Google account (I couldn't see a way to do it on YouTube itself). It creates a special password for the application, that you can revoke/isn't your real password. But it means you end up with a giant password that is only good for TF2, which TF2 won't remember and you can't paste (another bug I'm sure, but one that might not be fixed).

It works (the upload to YouTube) once my changes to TF's use of libcurl are released, but it just seems kind of bad (on Windows as well). And yes I do think you have to do it if you want the achievement. I don't believe you can turn off two-factor authentication on YouTube anymore. Which is the security issue I mention.

MrSchism commented 11 years ago

I'd say that's more of a security "feature"* than a security issue.

johndrinkwater commented 11 years ago

@matthewsor is it worth filing a feature request for that? :) having an in-game oauth2 process for youtube would mean the user logs in to google with normal user/pass (and 2factor code from their phone), then TF2 gets a token to look after, no passwords to worry about.

matthewsor commented 11 years ago

While I do think someone here needs to revisit how TF2 works with YouTube, it isn't the Linux cabal's focus. Right now we are really only shooting for parity with the Windows version, full on features are a bit outside of our box.

matthewsor commented 11 years ago

Ok the fixes for this are all in. I believe we will also be removing the wacky libcurl.so text file (though I have no control over the actual Steam image, so it might be awhile before it really is removed). I even fixed the paste bug on the password dialog, to make it just a bit easier to get your giant application password for YouTube into TF. Should go out in the next week or so.

ElectricTriangle commented 10 years ago

I believe that this issue may have popped up again, I'm getting the same error as the original "Error: Protocol https not supported or disabled in libcurl" when trying to upload to YouTube through TF2 under Linux.

RamchandraApte commented 10 years ago

I'm also having the issue on Ubuntu 13.10 , even though I generated an application-specific password.

cburschka commented 10 years ago

Yep, still getting the error "* Protocol https not supported or disabled in libcurl".

I wouldn't mind just uploading exported movies, particularly since I don't make lots of replays, but apparently you can't get the Youtube-related in-game achievements that way.

(Since the game already has a Register button that opens an in-game browser, would it be feasible to add oauth?)

RamchandraApte commented 10 years ago

@cburschka BTW, this linked issue has the solution.