Closed Wjxfi closed 2 months ago
I can't listen to my library of tracks because of your buggy app, by fixing this terrible bug you will make your app beautiful, colorful, closer to ideal and perfection
I can't listen to my library of tracks because of your buggy app, by fixing this terrible bug you will make your app beautiful, colorful, closer to ideal and perfection
True or false?
I don’t like the way you ask for things. You have to be more respectful!
I'm sorry, maybe I've become more toxic... thanks for letting me look at myself from the outside, it might help me
Ok
Fix it please , sorry I cannot use your app :/
Ok
Hmm i also wanna what are the parameters for which someone should be recommended custom version should he try
Actually isn't a custom version with tor support
Actually isn't a custom version with tor support
Well i think tor support might slowdown the app due to its enhanced onion e layers and rimusic itself is Private and clean enough
Yes, I'll try to check if tor would be slow down RiMusic
This problem is not related to the usage of TOR, it's a general problem with the proxy setting. I tried using a normal https proxy, and I get the same crashes. I'm using the latest Version from F-Droid (0.6.45.1).
Btw: Sorry for the rude tone of the other guy. Your app is great, I have the highest respect for your work, and think you're quite fast with fixing issues. Last week I discovered your app, had an issue with moving songs in the playlist, and not a week later, it's already fixed. Really good work!
This is much interesting, thanks
This problem is not related to the usage of TOR, it's a general problem with the proxy setting. I tried using a normal https proxy, and I get the same crashes. I'm using the latest Version from F-Droid (0.6.45.1).
Btw: Sorry for the rude tone of the other guy. Your app is great, I have the highest respect for your work, and think you're quite fast with fixing issues. Last week I discovered your app, had an issue with moving songs in the playlist, and not a week later, it's already fixed. Really good work!
please, enable debug log in miscellaneous settings and restart app After crash copy crash log from same settings and paste here.
Unfortunately, I don't have that option in the settings. I only have the option to dump a whole system log - which is around 1 million lines. I tried to extract something useful, the best I could find was the line Dex parent of /data/app/~~<random_string>==/it.fast4x.rimusic-<other_random_string>==/base.apk is not writable: Permission denied
.
No, wait. I found a stacktrace:
08-01 23:49:06.679 10282 4788 4788 E AndroidRuntime: Process: it.fast4x.rimusic, PID: 4788
08-01 23:49:06.679 10282 4788 4788 E AndroidRuntime: java.lang.RuntimeException: Unable to create service it.fast4x.rimusic.service.PlayerService: android.os.NetworkOnMainThreadException
08-01 23:49:06.679 10282 4788 4788 E AndroidRuntime: at android.app.ActivityThread.handleCreateService(ActivityThread.java:4925)
08-01 23:49:06.679 10282 4788 4788 E AndroidRuntime: at android.app.ActivityThread.-$$Nest$mhandleCreateService(Unknown Source:0)
08-01 23:49:06.679 10282 4788 4788 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2407)
08-01 23:49:06.679 10282 4788 4788 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:107)
08-01 23:49:06.679 10282 4788 4788 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:232)
08-01 23:49:06.679 10282 4788 4788 E AndroidRuntime: at android.os.Looper.loop(Looper.java:317)
08-01 23:49:06.679 10282 4788 4788 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:8592)
08-01 23:49:06.679 10282 4788 4788 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
08-01 23:49:06.679 10282 4788 4788 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
08-01 23:49:06.679 10282 4788 4788 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)
08-01 23:49:06.679 10282 4788 4788 E AndroidRuntime: Caused by: android.os.NetworkOnMainThreadException
08-01 23:49:06.679 10282 4788 4788 E AndroidRuntime: at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1697)
08-01 23:49:06.679 10282 4788 4788 E AndroidRuntime: at java.net.Inet6AddressImpl.lookupHostByName(Inet6AddressImpl.java:115)
08-01 23:49:06.679 10282 4788 4788 E AndroidRuntime: at java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:103)
08-01 23:49:06.679 10282 4788 4788 E AndroidRuntime: at java.net.InetAddress.getByName(InetAddress.java:1106)
08-01 23:49:06.679 10282 4788 4788 E AndroidRuntime: at java.net.InetSocketAddress.<init>(InetSocketAddress.java:245)
08-01 23:49:06.679 10282 4788 4788 E AndroidRuntime: at it.fast4x.rimusic.service.PlayerService.onCreate(SourceFile:688)
08-01 23:49:06.679 10282 4788 4788 E AndroidRuntime: at android.app.ActivityThread.handleCreateService(ActivityThread.java:4912)
08-01 23:49:06.679 10282 4788 4788 E AndroidRuntime: ... 9 more
Unfortunately, I don't have that option in the settings. I only have the option to dump a whole system log - which is around 1 million lines. I tried to extract something useful, the best I could find was the line
Dex parent of /data/app/~~<random_string>==/it.fast4x.rimusic-<other_random_string>==/base.apk is not writable: Permission denied
.
RiMusic miscellanous settings, not system settings... It work nice with proxy https, in this moment i'm connected to 163.172.33.137:4371 Try from this list https://spys.one/en/https-ssl-proxy/
RiMusic miscellanous settings, not system settings...
I can't retrieve the log, though, as the app doesn't open anymore. I suggest to add a path where the log is saved to, so that it's possible to retrieve the log without opening the app.
Or, (in case this is possible, I don't know anything about android app development) wrap the whole app in a try/catch block, so that it's possible to recover from problems like this. In the catch block, there could be displayed an error message with instructions on how to create an issue, or something like that. Maybe (again, not sure whether this is feasible) also some logic to bring the app back to a usable state.
Try from this list
This does work, indeed. I think I know what the problem is:
localhost
, which is a domain name.Therefore, I think, that the field only allows IP addresses, and not domain names. You probably call a library function, that expects an IP address, and that has no handling for domain names.
So the fix would be, to check whether the given string is an IP address or a domain name. And, in case of a domain name, to resolve it to the corresponding IP address.
Ok, correct, I'll add a url checker. Thanks
Fixed proxy crash when host isn't an ip address. Available from version 0.6.46
Steps to reproduce
1. Settings
2. Other
3. Use proxy
4. Host: localhost
5. Port proxy: 9050
6. get instant crashes with the inability to restore songs
Solution
1. Have full Orbot proxy support for using Tor, every privacy lover will appreciate it
Just fix crashesLog
System: Android 12, Miui 13.0.5
for a private application this is one of the MOST NECESSARY FUNCTIONS among many others