Etched

Etched

2M Downloads

Jukebox do not play

rsp4jack opened this issue · 19 comments

commented

It only display Now Playing, no error and no log.
Here is a generated crash log:
Pastebin

commented

Can you provide the latest.log, and if on Forge the debug.log files?

commented
commented

These logs seem to show a crash from another mod. Could you test this with just etched installed and see it the problem occurs?

If it does, provide the latest.log and debug.log from the session.

commented

net.minecraft.crash.ReportedException: Manually triggered debug crash
The crash is manually triggered.
And I test it with only etched installed, and it works!

commented

This problem is not caused by Calcium, CCL, magnesium, roadrunner or sulfuric.

commented

Can you share the URL you're using? Would like to replicate the issue

commented

Yes.
Ignore the 404 error. That is an error URL and I really know it, so I inputted a valid URL after that. And it downloaded, but does not play.

commented

I just use a nginx server in my PC and set root to my music folder (use alias in nginx config).

commented

I can see music is truly downloaded in etched-sounds.

commented

The issue seems to be the URL is invalid, it's returning an HTML page. Double check the URL is actually directing to a download for a music file. Could you share the URL you used?

[1112月2021 15:35:21.623] [Downloader 5/ERROR] [me.jaackson.etched.common.menu.EtchingMenu/]: <html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx/1.19.6</center>
</body>
</html>
commented

I use localhost address. and it is before I test it. When I input a valid URL, it does not log anything.

commented

and i see the music is downloaded. so, the problem is in playing.

commented

The URL you're using is returning a 404 page. Valid URLs will not log anything because they're valid, but they need to be accessible by the clients.

Is your server hosted on the same machine as the client?

commented

Without any URL to test, we can't replicate the issue. Try uploading the file somewhere else instead of localhost.

commented

That seems to work fine, what happens when you use that URL?

commented

URL has no problem. The problem is It can't play any sound, but show "Now Playing" and no log or errors.

commented

I'm unable to replicate the issue using that URL. The music plays fine and displays everything correctly. If you can find which mod is causing Etched to be unable to play, I can take a look and fix it.

commented

do not know why, but the problem fix.