cy33hc / ps4-ezremote-client

GNU General Public License v2.0
109 stars 5 forks source link

Can't download anything in v1.24 always says failed or app crashes #25

Open steve51184 opened 5 months ago

steve51184 commented 5 months ago

I use Real Debrid (HTTPS/Apache and WebDAV) and I just can't get anything to download anymore nothings changed since I updated to v1.24 saying that I can install pkg files but the download option no longer works and gives a "failed" option at the bottom left.. if I try to download a .rar file the app crashes completely (ce-34878-0)

cy33hc commented 5 months ago

@steve51184 Do you have very long filenames or folder name? It could be causing buffer overflows. Or you might have corrupted configs. Try rename the /data/ezremote-client to something else to backup the configs. Restart the app, it should create fresh configs and see.

WalkingPizza commented 4 months ago

Same issue here with RAR files. Tried deleting the /data/ez-remote-client folder but the app still crashes.

cy33hc commented 4 months ago

@steve51184 @WalkingPizza Are you downloading to the /data, /mnt/usbX or /mnt/extX. Only these folders/subfolders are read/writable.

steve51184 commented 4 months ago

@cy33hc I'm downloading to /data

cy33hc commented 4 months ago

@steve51184 Can you give more info. Was previous version of app working? What remote server you are using? What firmware you are using? Are you on goldhen? I know app is not compatible with Hen-Vtx.

WalkingPizza commented 4 months ago

I am also downloading to /data and no configuration has changed on my end either.

I am trying to download from some of Real Debrid's supported hosters, mostly via HTTP(S).

For example, I tried using a Real Debrid API key to download from 1Fichier and the link couldn't be resolved; so, I tried again by generating a Real Debrid direct link through the website interface and although the popup showing transfer speed pops up, the app crashes shortly thereafter.

I am using GoldHen on 11.0, and I am pretty sure the download functionality was working on the same version of the app I'm using now, which is 1.25.

cy33hc commented 4 months ago

@WalkingPizza Thx. Maybe real debrid had changed something on their side. I will have to re-enable my account and do test again. I heard somewhere that real-debrid enabled quota constraints.

WalkingPizza commented 4 months ago

I don't think it's a quota-related issue, I can download without any issues when using JDownloader or direct links generated through the interface.

Feel free to reach out if I can help in any way, I've got an active account on RD!

cy33hc commented 4 months ago

@WalkingPizza @steve51184 I have checked real-debrid and nothing has changed on their side, so it comes to the compressed file format. From my testing, if app is not able to read the RAR file, it would crash. I have fix so that the app will just fail to install and won't crash.

steve51184 commented 4 months ago

@cy33hc after some testing I've found it's nothing to do with compressed files it's just whatever file I try to download second..

Ie. The first time it'll just say failed (at the bottom left) but the second will always crash the app..

http/Apache works perfectly but real-debrid doesn't so for me it's 100% related to RD

cy33hc commented 4 months ago

@steve51184 Can you share a link you used that doesn't work. I've tried google drive links, mediafire, 1file and mega and they all work through RD.

steve51184 commented 4 months ago

@cy33hc that's not how I normally use the app I add my RD http folder to ezremote (as a http/Apache connection) and then just view and download files that way.. it used to work perfectly fine via http and via WebDAV but then after v1.24 it stopped for both..

cy33hc commented 4 months ago

@steve51184 You got me on this one. I was looking at the install from WebUi using real-debrid. I didn't even know real-debrid had webdav http options. I will need time to look into this.

steve51184 commented 4 months ago

@cy33hc sure np I'm happy to assist where I can if you need me just @ me :)

cy33hc commented 4 months ago

@steve51184 @WalkingPizza Would you try if this build fixes the issue. https://www.mediafire.com/file/615000ibigtmxca/ezremote_client.pkg/file

WalkingPizza commented 4 months ago

Trying to install the new build but I get a CE-38603-0 error, any ideas as of why?

Tried installing via Itemzflow as well, and I get an error on sceBgftServiceIntDownloadRegisterTaskByStorageEx there.

cy33hc commented 4 months ago

@WalkingPizza From error code, it means app is already installing. Go to your notifications and remove all entries related to the app.

WalkingPizza commented 4 months ago

Already tried, doesn't seem to fix the issue...

cy33hc commented 4 months ago

Try this. Maybe a corrupt upload. https://mega.nz/file/YBIGlCzZ#e9-JbHolcZDHnGdXbQFc2VwaJ8xzowGo8NS76gYJQnA

WalkingPizza commented 4 months ago

Same issue I'm afraid :(

cy33hc commented 4 months ago

I think you need clear your downloads. When you go to notifications, choose "Options Menu" and then "Downloads" and delete the app from there.

WalkingPizza commented 4 months ago

Tried that as well on all the users I have on my PS4, but the list was empty already.

WalkingPizza commented 4 months ago

Restarting the console seemed to have fixed the issue. I wonder why it wouldn't work before, though!

Testing the new build.

WalkingPizza commented 4 months ago

Installing from remote URLs seems to no longer crash the app! The speed is quite bad, though — some 0.20 MB/s, is that what's expected?

cy33hc commented 4 months ago

Are you on wifi and installing from WebUi? And are you installing pkg or compress file

WalkingPizza commented 4 months ago

I am installing from a RAR file over Wi-Fi, but I can try downloading over ethernet and/or a plain PKG file. Anyway, at least now downloads work, thank you so much!

cy33hc commented 4 months ago

if you installing plain PKG file from real-debrid, I added a option to use "disk cache", that should speed up installs in some cases. That downloads small parts of the file to disk to install and then removes it. And installing compressed files from wifi can be slow since it needs to download and extract at the same time. Better to install compressed files only from ethernet. But for me I get about 3.5Mb/s via Wifi.

steve51184 commented 4 months ago

I've installed the new v1.27 and I'm still facing this same issue

cy33hc commented 4 months ago

@steve51184 Not sure what's causing crash for you. It works fine for me using real-debrid WebDav for both rar and plain pkg files. And is it only RAR files that have issue for you? Also don't use real-debrid HTTP, I didn't do code change for that. real-debrid HTTP doesn't implement the HEAD request which is needed for ezremote to function correctly.

steve51184 commented 4 months ago

@steve51184 Not sure what's causing crash for you. It works fine for me using real-debrid WebDav for both rar and plain pkg files.

Can you send a screenshot of how you added it just in case mines wrong.. although it does connect it just can't download so I'm sure I have it right 🤷🏻‍♂️

And is it only RAR files that have issue for you?

No it's any file I try and download it always fails first and then crashes on the second attempt

Also don't use real-debrid HTTP, I didn't do code change for that. real-debrid HTTP doesn't implement the HEAD request which is needed for ezremote to function correctly.

It always worked for me in the past but I'm also using WebDAV for testing with the same results

steve51184 commented 4 months ago

Also just want to add using RD's WebDAV settings in winscp on windows works perfectly so it 100% an issue with this app as I can download on winscp fine

steve51184 commented 4 months ago

Ok so I figured it must be something related to my RD account as yours in working and mine isn't..

I logged into RD and went to "My Account" and under "Account Settings" I changed 'download port" to 'secure' and I also set 'ip type' to ipv4 only as it was on auto and had an error next to ipv6 and it works!

I have no idea which settings worked but my guess is the ipv4 one as it must of been trying to give me an ipv6 address which don't work for me 🤷🏻‍♂️

Doesn't quite explain why I could view files but not download them so maybe it was the download port option that fixed it so I'm not sure but hopefully this thread might help anyone else with this issue..

Thank you for the help so glad this is working now 🙏🏻

cy33hc commented 4 months ago

I will leave this opened so people with same issue can find solution :)

steve51184 commented 4 months ago

Also just wanna point out that I still can't install from .rar files only .pkg if I select install on a .rar it crashes still and .pkg installs file..?

cy33hc commented 4 months ago

@steve51184 Is the rar file you are trying to install, password protected? The library that I'm using doesn't support password protected RAR files. I've tested multiple unprotected RAR file and it's working. It only support password protected ZIP files