Sign in not recognised by the app
Hi, Installed through AUR.
I can successfully Sign on with my profile and a web browser window is displaying my youtube account. But it has no impact on the QT window and i have to relog after quitting all windows.
I clicked on the QT subscriptions and the QT displays : "you need to log in" Clicking on Home doesnt bring my tailored home.
Log on the terminal : qt.webenginecontext:
GL Type: desktop Surface Type: OpenGL Surface Profile: CompatibilityProfile Surface Version: 4.6 QSG RHI Backend: OpenGL Using Supported QSG Backend: yes Using Software Dynamic GL: no Using Multithreaded OpenGL: yes
Init Parameters:
- application-name QtTube
- browser-subprocess-path /usr/lib/qt6/QtWebEngineProcess
- create-default-gl-context
- disable-features ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureInPicture
- disable-setuid-sandbox
- disable-speech-api
- enable-features NetworkServiceInProcess,TracingServiceInProcess
- enable-threaded-compositing
- in-process-gpu
- use-gl desktop
When i clik on QT Sub : QLayout: Attempting to add QLayout "" to BrowseVideoRenderer "", which already has a layout QLayout: Attempting to add QLayout "" to BrowseVideoRenderer "", which already has a layout QLayout: Attempting to add QLayout "" to BrowseVideoRenderer "", which already has a layout QLayout: Attempting to add QLayout "" to BrowseVideoRenderer "", which already has a layout QLayout: Attempting to add QLayout "" to BrowseVideoRenderer "", which already has a layout
Does the browser window close on its own at all? If not, idk what to tell you tbh it should work, I'll have to think about what to do
No the browser windows stays on.
Hm, okay. I made a small update that does some logging in that part. Can you rebuild it with this update and tell me if you see all of these: "New cookie: APISID=xxx", "New cookie: HSID=xxx", and so on for SAPISID, SID, SSID, and VISITOR_INFO1_LIVE as well?
Thanks for coming back , it will take me time as i switched to Fedora in the meantime and i need to compile Qtube (i sure miss aur already..)
Any update on this issue, still problem signing in. Using Arch with the build from AUR.
Logs on what cookies get picked up would help a lot. I can't reproduce the issue at all.
Logs on what cookies get picked up would help a lot. I can't reproduce the issue at all.
Hmm, where do I find the logs? Looked in my system (~/.config/QtTube and ~/.local/share/QtTube), but can't find any.
Should show up like this when running it in the console.
Don't need all of the cookies and such btw, just want to know if the ones I mentioned a few posts up appear.
Update on the issue - if the browser window was closing yet your account didn't show up, there was a change in YouTube's API that broke the way I got the account's channel ID which is required for the sign in to work. It was just working for me like a week or two ago, but YouTube likes rolling out pretty much every change they do now to a certain % of people before everyone gets it, so the change may have existed for a while and didn't hit my accounts until now.
I just fixed it, so I would try doing it again if, as mentioned before, the browser window was closing yet your account didn't show up, and see if that was the problem.
@BowDown097 Sorry for the late response, just uppdated the app thru AUR and tried logging in again. Still have the same issue. But for me the window don't close, but just shows YouTube content. Tried running it in terminal per your suggestion, and got lot of stuff there relating to cookies, and an error stating "js: Error with Permissions-Policy header: Unrecognized feature: ch-ua-form-factor". Basically shows the same as in your screen shot. Not sure if that the issue?
Not sure if it's related, but running Wayland since 3-4 week ago.
So ALL of the aforementioned cookies (APISID, HSID, SAPISID, SID, SSID, VISITOR_INFO1_LIVE) show up, yet the browser window does not close? I have no idea what could be going on then...
So ALL of the aforementioned cookies (APISID, HSID, SAPISID, SID, SSID, VISITOR_INFO1_LIVE) show up, yet the browser window does not close? I have no idea what could be going on then...
Seems like it, just tried it again. YouTube page just loads, windows don't close.
Interesting, no VISITOR_INFO1_LIVE. Unless if you just didn't include it in your screenshot because I didn't, that was my bad, I forgot that was another part of it lol. If that is the problem, then I'm gonna try investigating another way of getting these values rather than just capturing new cookies. I think I have an idea of what to do.
i have the same issue, but it also doesnt import from google takeout. my logs look like this, i didnt put everything since i had to clean the cookie and idk if it s valuable or not.
Failed to get Innertube client version from service worker. Falling back to results page.
Path override failed for key base::DIR_APP_DICTIONARIES and path '/usr/bin/qtwebengine_dictionaries'
Path override failed for key base::DIR_APP_DICTIONARIES and path '/usr/lib/qt6/qtwebengine_dictionaries'
Path override failed for key base::DIR_APP_DICTIONARIES and path '/usr/lib/qt6/qtwebengine_dictionaries'
New cookie: __Host-GAPS=1:
New cookie: __Host-GAPS=1:
New cookie: TESTCOOKIESENABLED=1
New cookie: OTZ=
New cookie: __Host-GAPS=1:
New cookie: __Host-GAPS=1:
New cookie: __Secure-ENID=20.SE=
New cookie: __Host-GAPS=
New cookie: __Host-GAPS=
New cookie: __Secure-ENID
New cookie: __Host-GAPS=
New cookie: __Host-GAPS=
New cookie: SID=
New cookie: __Secure-1PSID=
New cookie: __Secure-3PSID=
New cookie: LSID=
New cookie: __Host-1PLSID=
New cookie: __Host-3PLSID=
New cookie: HSID=
New cookie: SSID=
New cookie: APISID=
New cookie: SAPISID=
New cookie: __Secure-1PAPISID=
New cookie: __Secure-3PAPISID=
New cookie: ACCOUNT_CHOOSER=
New cookie: __Host-GAPS=
New cookie: LSID=
New cookie: __Host-1PLSID=
New cookie: __Host-3PLSID=
New cookie: ACCOUNT_CHOOSE-
New cookie: SIDCC=
New cookie:
New cookie: __
New cookie: SID
New cookie: __Secure-1PSIDTS=
New cookie: __Secure-3PSIDTS=
New cookie: __Secure-1PSID=
New cookie: `__Secure-3PSID=``
Failed to get Innertube client version from service worker. Falling back to results page.
This might be why the import didn't work if this error happened in the same session. The program doesn't work at all if this error happens and you have to restart it - I've had it happen a few times and I don't know why (if it happens consistently that's VERY concerning). I'm going to change how that entire part works soon anyway.
If it imported subscriptions but not watch history, watch history has been broken for a while after YouTube did some changes (issue #11) and I haven't found a fix. If it doesn't import at all still even without that message, then that's just wonderful.
I notice the VISITOR_INFO1_LIVE cookie is missing in your logs too, so that must be the cause for logging in not working. I don't know why it happens, I haven't been able to reproduce it, but I believe there's another, more reliable way for me to grab that info which I've been meaning to do for a while.
Just pushed a change that should fix the problem. Would appreciate someone that has this problem testing it.
Just tried and all seem working. It survive the reboot of the app. And all appear normally. Thank you for the quick fix
Now I have to find my YouTube id before they got merged with Google one cause it s not the right account. I know some app allow you tu choose but not sure how useful it is for most people
Awesome. I'll leave this issue open for a bit still in case anyone else still has a problem after the change, but I think it's solved.
Can confirm that the changes worked for me to. Now I'm able to log in :)