ImAiiR/QobuzDownloaderX

Couldn't obtain app info

TheM14 opened this issue · 39 comments

Until yesterday, it works when I was login. But now I can't login and it shows "couldn't obtain app info".

Same here

I got the same. It seems that Qobuz may have made a change in the bundle.js which is used to determine the app secret and login.

I was able to review and identify that there was an issue identifying the initial seed.

If you can open your LoginForm-v2.cs file and change line 401 from this:

var bundleLog2 = Regex.Match(getBundleRequest, "window.utimezone.algier\):f.initialSeed\("(?.*?)",window.utimezone.berlin\)").Groups;
var bundleSeed = bundleLog2[1].Value;

to this:

var bundleLog2 = Regex.Match(getBundleRequest, "window.utimezone.algier\):d.initialSeed\("(?.*?)",window.utimezone.berlin\)").Groups;
var bundleSeed = bundleLog2[1].Value;

it should work again after a rebuild.

This does work!

I wish I knew how to rebuild. I will have to wait for a new release.

Thanks all for giving me hope it is fixable.

I wish I knew how to rebuild. I will have to wait for a new release.

Thanks all for giving me hope it is fixable.

Don't you have to build this first to use it at all? I've not found a release with the executable, I've always had to build it.

Don't you have to build this first to use it at all? I've not found a release with the executable, I've always had to build it.

On the Code page under Releases the zip file contains a EXE.

Would love to learn how to compile (right word?), but that is outside of my area of expertise. Seems like a useful skill, just never had the opportunity to learn it.

I've been rewriting the program, I'll try to get it out soon. Fixes a lot of issues people have been having, just really haven't had much free time.

I got the same. It seems that Qobuz may have made a change in the bundle.js which is used to determine the app secret and login.

I was able to review and identify that there was an issue identifying the initial seed.

If you can open your LoginForm-v2.cs file and change line 401 from this:

var bundleLog2 = Regex.Match(getBundleRequest, "window.utimezone.algier):f.initialSeed("(?.*?)",window.utimezone.berlin)").Groups; var bundleSeed = bundleLog2[1].Value;

to this:

var bundleLog2 = Regex.Match(getBundleRequest, "window.utimezone.algier):d.initialSeed("(?.*?)",window.utimezone.berlin)").Groups; var bundleSeed = bundleLog2[1].Value;

it should work again after a rebuild.

Where can I find LoginForm-v2.cs file ?

Here's the rebuild with the edits made from #116 (comment) until the new release is out.
QobuzDownloaderX.zip

Works again just like before. 😄
img

Here's the rebuild with the edits made from #116 (comment) until the new release is out. QobuzDownloaderX.zip

Works again just like before. 😄

Much appreciated. Thank you!

Here's the rebuild with the edits made from #116 (comment) until the new release is out. QobuzDownloaderX.zip

Works again just like before. 😄

Thank you! I am now getting a new error message, I'm afraid: Login Failed

System.NullReferenceException: Object reference not set to an instance of an object.
at QobuzDownloaderX.LoginFrm.<altLoginBG_DoWork>d__36.MoveNext()

Here's the rebuild with the edits made from #116 (comment) until the new release is out. QobuzDownloaderX.zip
Works again just like before. 😄

Thank you! I am now getting a new error message, I'm afraid: Login Failed

System.NullReferenceException: Object reference not set to an instance of an object. at QobuzDownloaderX.LoginFrm.<altLoginBG_DoWork>d__36.MoveNext()

I think you may have the alternate login method selected. Try clicking the 'Login Normally?" text under the login button and then try to login again.

Here's the rebuild with the edits made from #116 (comment) until the new release is out. QobuzDownloaderX.zip
Works again just like before. 😄

Thank you! I am now getting a new error message, I'm afraid: Login Failed
System.NullReferenceException: Object reference not set to an instance of an object. at QobuzDownloaderX.LoginFrm.<altLoginBG_DoWork>d__36.MoveNext()

I think you may have the alternate login method selected. Try clicking the 'Login Normally?" text under the login button and then try to login again.

Thank you very much, it is working now! :)

Thank you! I am now getting a new error message, I'm afraid: Login Failed
System.NullReferenceException: Object reference not set to an instance of an object.
at QobuzDownloaderX.LoginFrm.<altLoginBG_DoWork>d__36.MoveNext()

Interesting, I was under the impression that the edited code would also fix the alternative way of logging in? I guess not.

It'll probably be fixed in the new release. Just login normally.

Interesting, I was under the impression that the edited code would also fix the alternative way of logging in? I guess not.

It'll probably be fixed in the new release. Just login normally.

I noticed that issue after I figured out the fix for the regular login (accidentally left the alternate logon mode on too)....but never investigated that one since I was able to login, and I've never used the alternate logon so no idea if it worked before or not.

I'm not the developer on this project...just trying to share what solved it for me as I poked around a bit until a new release can be made.

Here's the rebuild with the edits made from #116 (comment) until the new release is out. QobuzDownloaderX.zip

Works again just like before. 😄

This works perfectly for me, thank you so much!

Here's the rebuild with the edits made from #116 (comment) until the new release is out. QobuzDownloaderX.zip

Works again just like before. 😄 img

It does works!!Thank you.

I seriously had a mini panic attack, thanks for the quick patch!!

У меня приложения не запускается а в место пароля выдаёт длинную строку.
Скриншот 23-05-2022 102305

Here's the rebuild with the edits made from #116 (comment) until the new release is out. QobuzDownloaderX.zip

Works again just like before. 😄 img

Hello,
Started facing login issues with the original exe (0.9.9.23) and got the following error in the log file. Tried login normally and with token ID.

System.FormatException: Invalid length for a Base-64 char array or string.
at System.Convert.FromBase64_Decode(Char* startInputPtr, Int32 inputLength, Byte* startDestPtr, Int32 destLength)
at System.Convert.FromBase64CharPtr(Char* inputPtr, Int32 inputLength)
at System.Convert.FromBase64String(String s)
at QobuzDownloaderX.LoginFrm.getSecretBG_DoWork(Object sender, DoWorkEventArgs e)

Got the exe with the rebuild edits (#116), login proceeds with a brief message " App ID & secret Obtained" but then displays failed login with the following error in the log file:
System.NullReferenceException: Object reference not set to an instance of an object.
at QobuzDownloaderX.LoginFrm.<loginBG_DoWork>d__35.MoveNext()

Here's the rebuild with the edits made from #116 (comment) until the new release is out. QobuzDownloaderX.zip

Works again just like before. smile img

Many, Many thanks for the fixed build - it is indeed now working as it used to, ie flawlessly

Again, many thanks for a working build! Cheers!!

Since yesterday, the latest release on 20th May cannot login. Can someone help to solve the new problem? Errorlog as below:
System.NullReferenceException: Object reference not set to an instance of an object
at QobuzDownloaderX.LoginFrm.<loginBG_DoWork>d__35.MoveNext()

Works okay here using the 'fixed & recompiled' build above.
okay here

To anyone else still having trouble logging in with the fixed build I provided, make sure you are logging in normally. This means entering your email and password.

If you're still having issues when attempting to login normally, I'll try and see if I can fix the alternate login method. But I can't promise anything. Hopefully the main dev will have a new version out soon.

To anyone else still having trouble logging in with the fixed build I provided, make sure you are logging in normally. This means entering your email and password.

If you're still having issues when attempting to login normally, I'll try and see if I can fix the alternate login method. But I can't promise anything. Hopefully the main dev will have a new version out soon.

Unfortunately I have the login issue even though I try with my "user and password"

2022-09-22 12_17_58-Window

@eozen81 Looked more into the issue you're having, it looks like that error message is thrown if obtaining the bundle.js failed according to the code. Not really sure how that's even happening.

Can you ensure that you're able to connect to https://play.qobuz.com just fine and that you're logged in as well? Since that's where it's grabbing the data from.

If so, if you have any sort of VPN, try it and see if anything changes.

@eozen81 Looked more into the issue you're having, it looks like that error message is thrown if obtaining the bundle.js failed according to the code. Not really sure how that's even happening.

Can you ensure that you're able to connect to https://play.qobuz.com just fine and that you're logged in as well? Since that's where it's grabbing the data from.

If so, if you have any sort of VPN, try it and see if anything changes.

Thank you for your reply. But I can play without any problem on https://play.qobuz.com/ whereas I keep getting the error from QobuzDownloaderX. Yet, I installed a VPN just to understand if the problem might be related with VPN, but no, I connected VPN to a different country, checked if I can connect to https://play.qobuz.com and I could then I tried QobuzDownloaderX but the same login issue occurs. Below are the logs:

System.FormatException: Invalid length for a Base-64 char array or string. at System.Convert.FromBase64_Decode(Char* startInputPtr, Int32 inputLength, Byte* startDestPtr, Int32 destLength) at System.Convert.FromBase64CharPtr(Char* inputPtr, Int32 inputLength) at System.Convert.FromBase64String(String s) at QobuzDownloaderX.LoginFrm.getSecretBG_DoWork(Object sender, DoWorkEventArgs e)

Below are the logs:

Thank you!

But I can play without any problem on https://play.qobuz.com/ whereas I keep getting the error from QobuzDownloaderX. Yet, I installed a VPN just to understand if the problem might be related with VPN, but no, I connected VPN to a different country, checked if I can connect to https://play.qobuz.com/ and I could then I tried QobuzDownloaderX but the same login issue occurs.

Noted. Have you tried re-entering your credentials since you've been getting that error? I noticed that the app converts passwords into Base64 (which is normal behavior, I'm still able to login) according to the log you've provided. Let me know if anything changes.

Below are the logs:

Thank you!

But I can play without any problem on https://play.qobuz.com/ whereas I keep getting the error from QobuzDownloaderX. Yet, I installed a VPN just to understand if the problem might be related with VPN, but no, I connected VPN to a different country, checked if I can connect to https://play.qobuz.com/ and I could then I tried QobuzDownloaderX but the same login issue occurs.

Noted. Have you tried re-entering your credentials since you've been getting that error? I noticed that the app converts passwords into Base64 (which is normal behavior, I'm still able to login) according to the log you've provided. Let me know if anything changes.

I always type my user ID and password manually everytime I try, but unfortunately, it does NOT work. I also tried token log in by following up here: https://github.com/ImAiiR/QobuzDownloaderX/wiki/Logging-In-(The-Alternate-Way) but the same, It did NOT work either.

Interesting. I'm gonna be honest, but I'm not really sure where the problem lies here since it's not my app lol.

Hey dude @ImAiiR, I know you've been busy but it's been four months since you were last active and you have a lot of users here with active Qobuz subscriptions relying on your app. Most of who aren't able to login either.

Not trying to rush you as I'm a busy guy myself, but if you could get out that new version soon. We'd appreciate that a lot, myself included.

I was lucky enough to stumble upon your app and find a comment to fix one major issue that I was having myself and release a temporary build. It would be nice if you could do your part next. 😄

Thanks, I gradually put this program on hold a few months ago because I couldn't log in, then I grabbed it with allvosoft, but recently I found out that it can only grab 30 second clips, so I came here to see if it has been fixed problem. This software does work after modification. thanks very much.

This fix works for me too

Setup a new laptop last night and this process worked. Came back to my desktop and tried, no joy.

This error message:

System.FormatException: Invalid length for a Base-64 char array or string.
at System.Convert.FromBase64_Decode(Char* startInputPtr, Int32 inputLength, Byte* startDestPtr, Int32 destLength)
at System.Convert.FromBase64CharPtr(Char* inputPtr, Int32 inputLength)
at System.Convert.FromBase64String(String s)
at QobuzDownloaderX.LoginFrm.getSecretBG_DoWork(Object sender, DoWorkEventArgs e)

I got the same. It seems that Qobuz may have made a change in the bundle.js which is used to determine the app secret and login.

I was able to review and identify that there was an issue identifying the initial seed.

If you can open your LoginForm-v2.cs file and change line 401 from this:

var bundleLog2 = Regex.Match(getBundleRequest, "window.utimezone.algier):f.initialSeed("(?.*?)",window.utimezone.berlin)").Groups; var bundleSeed = bundleLog2[1].Value;

to this:

var bundleLog2 = Regex.Match(getBundleRequest, "window.utimezone.algier):d.initialSeed("(?.*?)",window.utimezone.berlin)").Groups; var bundleSeed = bundleLog2[1].Value;

it should work again after a rebuild.

For anyone who want to apply this patched yourself. I make a fork that provides an easy way to build executables using Github Actions.

There is also patched program provided, which is build from my action run.

jimlee2002/QobuzDownloaderX

@jimlee2002 Great work! Hopefully your patched version fixes the login issue that users were having with my rebuild I provided a couple months back.

Thank you!

It doesn't work for me...
I have following error now:

System.NullReferenceException: Object reference not set to an instance of an object.
at QobuzDownloaderX.LoginFrm.<loginBG_DoWork>d__35.MoveNext() in D:\a\QobuzDownloaderX\QobuzDownloaderX\QobuzDownloaderX\LoginForm-v2.cs:line 469

What should I do?

Thanks!