Gonic crashes when Maloja is set as listenbrainz scrobble server
meowmeowofthemeows opened this issue · 13 comments
gonic version: v0.16.4
if from docker, docker tag: sentriz/gonic
if from source, git tag/branch: N/A
When running Gonic in a podman container if I connect Maloja as a listenbrainz server Gonic completely crashes:
[signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0x8c8d39]
goroutine 138 [running]:
go.senan.xyz/gonic/listenbrainz.(*Client).Scrobble(_, {0x1, {0xdec029d, 0xedda3578f, 0x0}, {0xc000420050, 0x5}, {0xc000420080, 0x5}, {0x0, ...}, ...}, ...)
/src/listenbrainz/listenbrainz.go:79 +0x539
go.senan.xyz/gonic/server/ctrlsubsonic.(*Controller).ServeScrobble.func1(0x1)
/src/server/ctrlsubsonic/handlers_common.go:116 +0x145
created by go.senan.xyz/gonic/server/ctrlsubsonic.(*Controller).ServeScrobble in goroutine 94
/src/server/ctrlsubsonic/handlers_common.go:114 +0xb2e```
it looks like you have provided a malformed URL . gonic shouldn't crash obviously - I'll fix that.
but what does the URL your entering look like?
I will try a few other ways
When inputting it as http://127.0.0.1:42010/ It doesnt crash, but it also doesnt show any of my playing songs or played songs. There is also never any logs about scrobbles for maloja, only for the client im listening on: Supersonic
is scrobbling enabled in supersonic?
can you show the full gonic logs
can you show the full gonic logs
Ai Ai, Captain
[shield@random-oem-board-1 ~]$ podman run --name=gonic --net podman -p 4747:80 -v /strg/audio/music/:/music:ro -v /var/gonic/data:/data -v /var/gonic/podcasts:/podcasts -v /var/gonic/playlists:/playlists -v /var/gonic/cache:/cache -e GONIC_MULTI_VALUE_ALBUM_ARTIST="delim ;" -e GONIC_MULTI_VALUE_ARTIST="delim ;" -e GONIC_MULTI_VALUE_GENRE="delim ;" sentriz/gonic
2024/04/06 18:45:23 starting gonic v0.16.4
2024/04/06 18:45:23 provided config
2024/04/06 18:45:23 cache-path /cache
2024/04/06 18:45:23 config-path
2024/04/06 18:45:23 db-path /data/gonic.db
2024/04/06 18:45:23 exclude-pattern
2024/04/06 18:45:23 expvar false
2024/04/06 18:45:23 genre-split
2024/04/06 18:45:23 http-log true
2024/04/06 18:45:23 jukebox-enabled false
2024/04/06 18:45:23 jukebox-mpv-extra-args
2024/04/06 18:45:23 listen-addr :80
2024/04/06 18:45:23 multi-value-album-artist delim(;)
2024/04/06 18:45:23 multi-value-artist delim(;)
2024/04/06 18:45:23 multi-value-genre delim(;)
2024/04/06 18:45:23 music-path /music
2024/04/06 18:45:23 playlists-path /playlists
2024/04/06 18:45:23 podcast-path /podcasts
2024/04/06 18:45:23 podcast-purge-age 0
2024/04/06 18:45:23 pprof false
2024/04/06 18:45:23 proxy-prefix /
2024/04/06 18:45:23 scan-at-start-enabled false
2024/04/06 18:45:23 scan-interval 0
2024/04/06 18:45:23 scan-watcher-enabled false
2024/04/06 18:45:23 tls-cert
2024/04/06 18:45:23 tls-key
2024/04/06 18:45:23 version false
2024/04/06 18:45:23 starting job "podcast refresh"
2024/04/06 18:45:23 starting job "session clean"
2024/04/06 18:45:23 starting job "http"
2024/04/06 18:45:23 starting job "podcast download"
2024/04/06 18:45:23 subsonic error code 10: please provide an `id` parameter
2024/04/06 18:45:23 response 200 GET /getCoverArt?c=supersonic&f=xml&id=&s=ALh5OBaWxA&size=300&t=496096163258ec2df22f600e98b4b924&u=admin&v=1.15.0
2024/04/06 18:45:23 subsonic error code 10: please provide an `id` parameter
2024/04/06 18:45:23 response 200 GET /getCoverArt?c=supersonic&f=xml&id=&s=ALh5OBaWxA&size=300&t=496096163258ec2df22f600e98b4b924&u=admin&v=1.15.0
2024/04/06 18:45:32 serving raw file, no user transcode preferences found for user "admin" and client "supersonic"
2024/04/06 18:45:32 response 206 GET /stream?c=supersonic&f=xml&id=tr-115&s=ALh5OBaWxA&t=496096163258ec2df22f600e98b4b924&u=admin&v=1.15.0
also I wonder how 127.0.0.1 would work, unless gonic and maloja are on the same docker/podman network
also I wonder how 127.0.0.1 would work, unless gonic and maloja are on the same docker/podman network
yes they are
I don't see any logs there for supersonic sending scrobbles
I don't see any logs there for supersonic sending scrobbles
I disabled them thinking it was effecting something, let me turn them back on. Uhhh I just enabled supersonics scrobbling and the logs started freaking out. Sorry for posting a mountain:
[shield@random-oem-board-1 ~]$ podman run --name=gonic --net podman -p 4747:80 -v /strg/audio/music/:/music:ro -v /var/gonic/data:/data -v /var/gonic/podcasts:/podcasts -v /var/gonic/playlists:/playlists -v /var/gonic/cache:/cache -e GONIC_MULTI_VALUE_ALBUM_ARTIST="delim ;" -e GONIC_MULTI_VALUE_ARTIST="delim ;" -e GONIC_MULTI_VALUE_GENRE="delim ;" sentriz/gonic
2024/04/06 18:48:55 starting gonic v0.16.4
2024/04/06 18:48:55 provided config
2024/04/06 18:48:55 cache-path /cache
2024/04/06 18:48:55 config-path
2024/04/06 18:48:55 db-path /data/gonic.db
2024/04/06 18:48:55 exclude-pattern
2024/04/06 18:48:55 expvar false
2024/04/06 18:48:55 genre-split
2024/04/06 18:48:55 http-log true
2024/04/06 18:48:55 jukebox-enabled false
2024/04/06 18:48:55 jukebox-mpv-extra-args
2024/04/06 18:48:55 listen-addr :80
2024/04/06 18:48:55 multi-value-album-artist delim(;)
2024/04/06 18:48:55 multi-value-artist delim(;)
2024/04/06 18:48:55 multi-value-genre delim(;)
2024/04/06 18:48:55 music-path /music
2024/04/06 18:48:55 playlists-path /playlists
2024/04/06 18:48:55 podcast-path /podcasts
2024/04/06 18:48:55 podcast-purge-age 0
2024/04/06 18:48:55 pprof false
2024/04/06 18:48:55 proxy-prefix /
2024/04/06 18:48:55 scan-at-start-enabled false
2024/04/06 18:48:55 scan-interval 0
2024/04/06 18:48:55 scan-watcher-enabled false
2024/04/06 18:48:55 tls-cert
2024/04/06 18:48:55 tls-key
2024/04/06 18:48:55 version false
2024/04/06 18:48:55 starting job "http"
2024/04/06 18:48:55 starting job "podcast download"
2024/04/06 18:48:55 starting job "podcast refresh"
2024/04/06 18:48:55 starting job "session clean"
2024/04/06 18:48:57 serving raw file, no user transcode preferences found for user "admin" and client "supersonic"
2024/04/06 18:48:57 subsonic error code 10: please provide an `id` parameter
2024/04/06 18:48:57 response 200 GET /getCoverArt?c=supersonic&f=xml&id=&s=ALh5OBaWxA&size=300&t=496096163258ec2df22f600e98b4b924&u=admin&v=1.15.0
2024/04/06 18:48:57 subsonic error code 10: please provide an `id` parameter
2024/04/06 18:48:57 response 200 GET /getCoverArt?c=supersonic&f=xml&id=&s=ALh5OBaWxA&size=300&t=496096163258ec2df22f600e98b4b924&u=admin&v=1.15.0
2024/04/06 18:48:57 received bad listenbrainz response:
HTTP/1.1 404 Not Found
Content-Length: 3784
Content-Type: text/html; charset=UTF-8
Date: Sat, 06 Apr 2024 18:48:57 GMT
Server: waitress
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="referrer" content="same-origin" />
<title>Maloja - Error</title>
<meta name="description" content='Maloja is a self-hosted music scrobble server.' />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<meta name="color-scheme" content="dark" />
<meta name="darkreader" content="wat" />
<link rel="stylesheet" href="/maloja.css" />
<link rel="stylesheet" href="/static/css/themes/maloja.css" />
<script src="/search.js"></script>
<script src="/neopolitan.js"></script>
<script src="/upload.js"></script>
<script src="/notifications.js"></script>
<script src="/edit.js"></script>
<script>
const defaultpicks = {
topartists: 'year',
toptracks: 'year',
topalbums: 'year',
pulse: 'year',
pulseperformancecombined: 'year',
featured: 'artist'
}
</script>
<link rel="preload" href="/static/ttf/Ubuntu-Regular.ttf" as="font" type="font/woff2" crossorigin />
</head>
<body class="">
<table class="top_info">
<tr>
<td class="image">
<div style="background-image:url('/favicon.png')"></div>
</td>
<td class="text">
<h1>404 Not Found</h1><br/>
Not found: '/1/submit-listens'
</td>
</tr>
</table>
Kazuma, Aqua, Darkness and Megumin have been dispatched to deal with this situation.<br/><br/>
<div id="footer">
<div id="left-side">
<a href="/about">About</a>
</div>
<div id="notch">
<a href="/"><img style="display:block;" src="/favicon.png" /></a>
</div>
<div id="right-side">
<span><input id="searchinput" placeholder="Search for an artist or track..." oninput="search(this)" onblur="clearresults()" /></span>
</div>
<div id="resultwrap" class="hide">
<div class="searchresults">
<span>Artists</span>
<table class="searchresults_artists" id="searchresults_artists">
</table>
<br/><br/>
<span>Tracks</span>
<table class="searchresults_tracks searchresults_extrainfo" id="searchresults_tracks">
</table>
<br/><br/>
<span>Albums</span>
<table class="searchresults_albums searchresults_extrainfo" id="searchresults_albums">
</table>
</div>
</div>
</div>
<div id="icon_bar">
<a class='hidelink' href="/admin_overview">
<div title="Server Administration" id="settingsicon" class="clickable_icon" style="margin-left:25px;">
<svg enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px">
<g>
<path d="M0,0h24v24H0V0z" fill="none"/>
<path d="M19.14,12.94c0.04-0.3,0.06-0.61,0.06-0.94c0-0.32-0.02-0.64-0.07-0.94l2.03-1.58c0.18-0.14,0.23-0.41,0.12-0.61 l-1.92-3.32c-0.12-0.22-0.37-0.29-0.59-0.22l-2.39,0.96c-0.5-0.38-1.03-0.7-1.62-0.94L14.4,2.81c-0.04-0.24-0.24-0.41-0.48-0.41 h-3.84c-0.24,0-0.43,0.17-0.47,0.41L9.25,5.35C8.66,5.59,8.12,5.92,7.63,6.29L5.24,5.33c-0.22-0.08-0.47,0-0.59,0.22L2.74,8.87 C2.62,9.08,2.66,9.34,2.86,9.48l2.03,1.58C4.84,11.36,4.8,11.69,4.8,12s0.02,0.64,0.07,0.94l-2.03,1.58 c-0.18,0.14-0.23,0.41-0.12,0.61l1.92,3.32c0.12,0.22,0.37,0.29,0.59,0.22l2.39-0.96c0.5,0.38,1.03,0.7,1.62,0.94l0.36,2.54 c0.05,0.24,0.24,0.41,0.48,0.41h3.84c0.24,0,0.44-0.17,0.47-0.41l0.36-2.54c0.59-0.24,1.13-0.56,1.62-0.94l2.39,0.96 c0.22,0.08,0.47,0,0.59-0.22l1.92-3.32c0.12-0.22,0.07-0.47-0.12-0.61L19.14,12.94z M12,15.6c-1.98,0-3.6-1.62-3.6-3.6 s1.62-3.6,3.6-3.6s3.6,1.62,3.6,3.6S13.98,15.6,12,15.6z"/>
</g>
</svg>
</div>
</a> </div>
<div id="notification_area">
</div>
<!-- Load script as late as possible so DOM renders first -->
<script src="/lazyload17-8-2.min.js"></script>
<script>
var lazyLoadInstance = new LazyLoad({});
</script>
</body>
</html>
2024/04/06 18:48:57 subsonic error code 0: error when submitting: >= 400: 404: listenbrainz error
2024/04/06 18:48:57 response 200 GET /scrobble?c=supersonic&f=xml&id=tr-120&s=ALh5OBaWxA&submission=false&t=496096163258ec2df22f600e98b4b924&time=1712429337959&u=admin&v=1.15.0
2024/04/06 18:49:00 response 206 GET /stream?c=supersonic&f=xml&id=tr-120&s=ALh5OBaWxA&t=496096163258ec2df22f600e98b4b924&u=admin&v=1.15.0
2024/04/06 18:49:00 serving raw file, no user transcode preferences found for user "admin" and client "supersonic"
2024/04/06 18:49:00 subsonic error code 10: please provide an `id` parameter
2024/04/06 18:49:00 response 200 GET /getCoverArt?c=supersonic&f=xml&id=&s=ALh5OBaWxA&size=300&t=496096163258ec2df22f600e98b4b924&u=admin&v=1.15.0
2024/04/06 18:49:00 subsonic error code 10: please provide an `id` parameter
2024/04/06 18:49:00 response 200 GET /getCoverArt?c=supersonic&f=xml&id=&s=ALh5OBaWxA&size=300&t=496096163258ec2df22f600e98b4b924&u=admin&v=1.15.0
2024/04/06 18:49:00 received bad listenbrainz response:
HTTP/1.1 404 Not Found
Content-Length: 3784
Content-Type: text/html; charset=UTF-8
Date: Sat, 06 Apr 2024 18:49:00 GMT
Server: waitress
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="referrer" content="same-origin" />
<title>Maloja - Error</title>
<meta name="description" content='Maloja is a self-hosted music scrobble server.' />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<meta name="color-scheme" content="dark" />
<meta name="darkreader" content="wat" />
<link rel="stylesheet" href="/maloja.css" />
<link rel="stylesheet" href="/static/css/themes/maloja.css" />
<script src="/search.js"></script>
<script src="/neopolitan.js"></script>
<script src="/upload.js"></script>
<script src="/notifications.js"></script>
<script src="/edit.js"></script>
<script>
const defaultpicks = {
topartists: 'year',
toptracks: 'year',
topalbums: 'year',
pulse: 'year',
pulseperformancecombined: 'year',
featured: 'artist'
}
</script>
<link rel="preload" href="/static/ttf/Ubuntu-Regular.ttf" as="font" type="font/woff2" crossorigin />
</head>
<body class="">
<table class="top_info">
<tr>
<td class="image">
<div style="background-image:url('/favicon.png')"></div>
</td>
<td class="text">
<h1>404 Not Found</h1><br/>
Not found: '/1/submit-listens'
</td>
</tr>
</table>
Kazuma, Aqua, Darkness and Megumin have been dispatched to deal with this situation.<br/><br/>
<div id="footer">
<div id="left-side">
<a href="/about">About</a>
</div>
<div id="notch">
<a href="/"><img style="display:block;" src="/favicon.png" /></a>
</div>
<div id="right-side">
<span><input id="searchinput" placeholder="Search for an artist or track..." oninput="search(this)" onblur="clearresults()" /></span>
</div>
<div id="resultwrap" class="hide">
<div class="searchresults">
<span>Artists</span>
<table class="searchresults_artists" id="searchresults_artists">
</table>
<br/><br/>
<span>Tracks</span>
<table class="searchresults_tracks searchresults_extrainfo" id="searchresults_tracks">
</table>
<br/><br/>
<span>Albums</span>
<table class="searchresults_albums searchresults_extrainfo" id="searchresults_albums">
</table>
</div>
</div>
</div>
<div id="icon_bar">
<a class='hidelink' href="/admin_overview">
<div title="Server Administration" id="settingsicon" class="clickable_icon" style="margin-left:25px;">
<svg enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px">
<g>
<path d="M0,0h24v24H0V0z" fill="none"/>
<path d="M19.14,12.94c0.04-0.3,0.06-0.61,0.06-0.94c0-0.32-0.02-0.64-0.07-0.94l2.03-1.58c0.18-0.14,0.23-0.41,0.12-0.61 l-1.92-3.32c-0.12-0.22-0.37-0.29-0.59-0.22l-2.39,0.96c-0.5-0.38-1.03-0.7-1.62-0.94L14.4,2.81c-0.04-0.24-0.24-0.41-0.48-0.41 h-3.84c-0.24,0-0.43,0.17-0.47,0.41L9.25,5.35C8.66,5.59,8.12,5.92,7.63,6.29L5.24,5.33c-0.22-0.08-0.47,0-0.59,0.22L2.74,8.87 C2.62,9.08,2.66,9.34,2.86,9.48l2.03,1.58C4.84,11.36,4.8,11.69,4.8,12s0.02,0.64,0.07,0.94l-2.03,1.58 c-0.18,0.14-0.23,0.41-0.12,0.61l1.92,3.32c0.12,0.22,0.37,0.29,0.59,0.22l2.39-0.96c0.5,0.38,1.03,0.7,1.62,0.94l0.36,2.54 c0.05,0.24,0.24,0.41,0.48,0.41h3.84c0.24,0,0.44-0.17,0.47-0.41l0.36-2.54c0.59-0.24,1.13-0.56,1.62-0.94l2.39,0.96 c0.22,0.08,0.47,0,0.59-0.22l1.92-3.32c0.12-0.22,0.07-0.47-0.12-0.61L19.14,12.94z M12,15.6c-1.98,0-3.6-1.62-3.6-3.6 s1.62-3.6,3.6-3.6s3.6,1.62,3.6,3.6S13.98,15.6,12,15.6z"/>
</g>
</svg>
</div>
</a> </div>
<div id="notification_area">
</div>
<!-- Load script as late as possible so DOM renders first -->
<script src="/lazyload17-8-2.min.js"></script>
<script>
var lazyLoadInstance = new LazyLoad({});
</script>
</body>
</html>
2024/04/06 18:49:00 subsonic error code 0: error when submitting: >= 400: 404: listenbrainz error
2024/04/06 18:49:00 response 200 GET /scrobble?c=supersonic&f=xml&id=tr-121&s=ALh5OBaWxA&submission=false&t=496096163258ec2df22f600e98b4b924&time=1712429340134&u=admin&v=1.15.0
2024/04/06 18:49:05 response 200 GET /getAlbum?c=supersonic&f=xml&id=al-17&s=ALh5OBaWxA&t=496096163258ec2df22f600e98b4b924&u=admin&v=1.15.0
2024/04/06 18:49:05 response 206 GET /stream?c=supersonic&f=xml&id=tr-121&s=ALh5OBaWxA&t=496096163258ec2df22f600e98b4b924&u=admin&v=1.15.0
2024/04/06 18:49:05 serving raw file, no user transcode preferences found for user "admin" and client "supersonic"
2024/04/06 18:49:05 subsonic error code 10: please provide an `id` parameter
2024/04/06 18:49:05 response 200 GET /getCoverArt?c=supersonic&f=xml&id=&s=ALh5OBaWxA&size=300&t=496096163258ec2df22f600e98b4b924&u=admin&v=1.15.0
2024/04/06 18:49:05 received bad listenbrainz response:
HTTP/1.1 404 Not Found
Content-Length: 3784
Content-Type: text/html; charset=UTF-8
Date: Sat, 06 Apr 2024 18:49:05 GMT
Server: waitress
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="referrer" content="same-origin" />
<title>Maloja - Error</title>
<meta name="description" content='Maloja is a self-hosted music scrobble server.' />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<meta name="color-scheme" content="dark" />
<meta name="darkreader" content="wat" />
<link rel="stylesheet" href="/maloja.css" />
<link rel="stylesheet" href="/static/css/themes/maloja.css" />
<script src="/search.js"></script>
<script src="/neopolitan.js"></script>
<script src="/upload.js"></script>
<script src="/notifications.js"></script>
<script src="/edit.js"></script>
<script>
const defaultpicks = {
topartists: 'year',
toptracks: 'year',
topalbums: 'year',
pulse: 'year',
pulseperformancecombined: 'year',
featured: 'artist'
}
</script>
<link rel="preload" href="/static/ttf/Ubuntu-Regular.ttf" as="font" type="font/woff2" crossorigin />
</head>
<body class="">
<table class="top_info">
<tr>
<td class="image">
<div style="background-image:url('/favicon.png')"></div>
</td>
<td class="text">
<h1>404 Not Found</h1><br/>
Not found: '/1/submit-listens'
</td>
</tr>
</table>
Kazuma, Aqua, Darkness and Megumin have been dispatched to deal with this situation.<br/><br/>
<div id="footer">
<div id="left-side">
<a href="/about">About</a>
</div>
<div id="notch">
<a href="/"><img style="display:block;" src="/favicon.png" /></a>
</div>
<div id="right-side">
<span><input id="searchinput" placeholder="Search for an artist or track..." oninput="search(this)" onblur="clearresults()" /></span>
</div>
<div id="resultwrap" class="hide">
<div class="searchresults">
<span>Artists</span>
<table class="searchresults_artists" id="searchresults_artists">
</table>
<br/><br/>
<span>Tracks</span>
<table class="searchresults_tracks searchresults_extrainfo" id="searchresults_tracks">
</table>
<br/><br/>
<span>Albums</span>
<table class="searchresults_albums searchresults_extrainfo" id="searchresults_albums">
</table>
</div>
</div>
</div>
<div id="icon_bar">
<a class='hidelink' href="/admin_overview">
<div title="Server Administration" id="settingsicon" class="clickable_icon" style="margin-left:25px;">
<svg enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px">
<g>
<path d="M0,0h24v24H0V0z" fill="none"/>
<path d="M19.14,12.94c0.04-0.3,0.06-0.61,0.06-0.94c0-0.32-0.02-0.64-0.07-0.94l2.03-1.58c0.18-0.14,0.23-0.41,0.12-0.61 l-1.92-3.32c-0.12-0.22-0.37-0.29-0.59-0.22l-2.39,0.96c-0.5-0.38-1.03-0.7-1.62-0.94L14.4,2.81c-0.04-0.24-0.24-0.41-0.48-0.41 h-3.84c-0.24,0-0.43,0.17-0.47,0.41L9.25,5.35C8.66,5.59,8.12,5.92,7.63,6.29L5.24,5.33c-0.22-0.08-0.47,0-0.59,0.22L2.74,8.87 C2.62,9.08,2.66,9.34,2.86,9.48l2.03,1.58C4.84,11.36,4.8,11.69,4.8,12s0.02,0.64,0.07,0.94l-2.03,1.58 c-0.18,0.14-0.23,0.41-0.12,0.61l1.92,3.32c0.12,0.22,0.37,0.29,0.59,0.22l2.39-0.96c0.5,0.38,1.03,0.7,1.62,0.94l0.36,2.54 c0.05,0.24,0.24,0.41,0.48,0.41h3.84c0.24,0,0.44-0.17,0.47-0.41l0.36-2.54c0.59-0.24,1.13-0.56,1.62-0.94l2.39,0.96 c0.22,0.08,0.47,0,0.59-0.22l1.92-3.32c0.12-0.22,0.07-0.47-0.12-0.61L19.14,12.94z M12,15.6c-1.98,0-3.6-1.62-3.6-3.6 s1.62-3.6,3.6-3.6s3.6,1.62,3.6,3.6S13.98,15.6,12,15.6z"/>
</g>
</svg>
</div>
</a> </div>
<div id="notification_area">
</div>
<!-- Load script as late as possible so DOM renders first -->
<script src="/lazyload17-8-2.min.js"></script>
<script>
var lazyLoadInstance = new LazyLoad({});
</script>
</body>
</html>
2024/04/06 18:49:05 subsonic error code 0: error when submitting: >= 400: 404: listenbrainz error
2024/04/06 18:49:05 response 200 GET /scrobble?c=supersonic&f=xml&id=tr-110&s=ALh5OBaWxA&submission=false&t=496096163258ec2df22f600e98b4b924&time=1712429345784&u=admin&v=1.15.0
2024/04/06 18:49:05 subsonic error code 10: please provide an `id` parameter
2024/04/06 18:49:05 response 200 GET /getCoverArt?c=supersonic&f=xml&id=&s=ALh5OBaWxA&size=300&t=496096163258ec2df22f600e98b4b924&u=admin&v=1.15.0
2024/04/06 18:49:08 response 200 GET /getAlbum?c=supersonic&f=xml&id=al-18&s=ALh5OBaWxA&t=496096163258ec2df22f600e98b4b924&u=admin&v=1.15.0
2024/04/06 18:49:08 response 206 GET /stream?c=supersonic&f=xml&id=tr-110&s=ALh5OBaWxA&t=496096163258ec2df22f600e98b4b924&u=admin&v=1.15.0
2024/04/06 18:49:08 serving raw file, no user transcode preferences found for user "admin" and client "supersonic"
2024/04/06 18:49:09 subsonic error code 10: please provide an `id` parameter
2024/04/06 18:49:09 response 200 GET /getCoverArt?c=supersonic&f=xml&id=&s=ALh5OBaWxA&size=300&t=496096163258ec2df22f600e98b4b924&u=admin&v=1.15.0
2024/04/06 18:49:09 received bad listenbrainz response:
HTTP/1.1 404 Not Found
Content-Length: 3784
Content-Type: text/html; charset=UTF-8
Date: Sat, 06 Apr 2024 18:49:09 GMT
Server: waitress
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="referrer" content="same-origin" />
<title>Maloja - Error</title>
<meta name="description" content='Maloja is a self-hosted music scrobble server.' />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<meta name="color-scheme" content="dark" />
<meta name="darkreader" content="wat" />
<link rel="stylesheet" href="/maloja.css" />
<link rel="stylesheet" href="/static/css/themes/maloja.css" />
<script src="/search.js"></script>
<script src="/neopolitan.js"></script>
<script src="/upload.js"></script>
<script src="/notifications.js"></script>
<script src="/edit.js"></script>
<script>
const defaultpicks = {
topartists: 'year',
toptracks: 'year',
topalbums: 'year',
pulse: 'year',
pulseperformancecombined: 'year',
featured: 'artist'
}
</script>
<link rel="preload" href="/static/ttf/Ubuntu-Regular.ttf" as="font" type="font/woff2" crossorigin />
</head>
<body class="">
<table class="top_info">
<tr>
<td class="image">
<div style="background-image:url('/favicon.png')"></div>
</td>
<td class="text">
<h1>404 Not Found</h1><br/>
Not found: '/1/submit-listens'
</td>
</tr>
</table>
Kazuma, Aqua, Darkness and Megumin have been dispatched to deal with this situation.<br/><br/>
<div id="footer">
<div id="left-side">
<a href="/about">About</a>
</div>
<div id="notch">
<a href="/"><img style="display:block;" src="/favicon.png" /></a>
</div>
<div id="right-side">
<span><input id="searchinput" placeholder="Search for an artist or track..." oninput="search(this)" onblur="clearresults()" /></span>
</div>
<div id="resultwrap" class="hide">
<div class="searchresults">
<span>Artists</span>
<table class="searchresults_artists" id="searchresults_artists">
</table>
<br/><br/>
<span>Tracks</span>
<table class="searchresults_tracks searchresults_extrainfo" id="searchresults_tracks">
</table>
<br/><br/>
<span>Albums</span>
<table class="searchresults_albums searchresults_extrainfo" id="searchresults_albums">
</table>
</div>
</div>
</div>
<div id="icon_bar">
<a class='hidelink' href="/admin_overview">
<div title="Server Administration" id="settingsicon" class="clickable_icon" style="margin-left:25px;">
<svg enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px">
<g>
<path d="M0,0h24v24H0V0z" fill="none"/>
<path d="M19.14,12.94c0.04-0.3,0.06-0.61,0.06-0.94c0-0.32-0.02-0.64-0.07-0.94l2.03-1.58c0.18-0.14,0.23-0.41,0.12-0.61 l-1.92-3.32c-0.12-0.22-0.37-0.29-0.59-0.22l-2.39,0.96c-0.5-0.38-1.03-0.7-1.62-0.94L14.4,2.81c-0.04-0.24-0.24-0.41-0.48-0.41 h-3.84c-0.24,0-0.43,0.17-0.47,0.41L9.25,5.35C8.66,5.59,8.12,5.92,7.63,6.29L5.24,5.33c-0.22-0.08-0.47,0-0.59,0.22L2.74,8.87 C2.62,9.08,2.66,9.34,2.86,9.48l2.03,1.58C4.84,11.36,4.8,11.69,4.8,12s0.02,0.64,0.07,0.94l-2.03,1.58 c-0.18,0.14-0.23,0.41-0.12,0.61l1.92,3.32c0.12,0.22,0.37,0.29,0.59,0.22l2.39-0.96c0.5,0.38,1.03,0.7,1.62,0.94l0.36,2.54 c0.05,0.24,0.24,0.41,0.48,0.41h3.84c0.24,0,0.44-0.17,0.47-0.41l0.36-2.54c0.59-0.24,1.13-0.56,1.62-0.94l2.39,0.96 c0.22,0.08,0.47,0,0.59-0.22l1.92-3.32c0.12-0.22,0.07-0.47-0.12-0.61L19.14,12.94z M12,15.6c-1.98,0-3.6-1.62-3.6-3.6 s1.62-3.6,3.6-3.6s3.6,1.62,3.6,3.6S13.98,15.6,12,15.6z"/>
</g>
</svg>
</div>
</a> </div>
<div id="notification_area">
</div>
<!-- Load script as late as possible so DOM renders first -->
<script src="/lazyload17-8-2.min.js"></script>
<script>
var lazyLoadInstance = new LazyLoad({});
</script>
</body>
</html>
2024/04/06 18:49:09 subsonic error code 0: error when submitting: >= 400: 404: listenbrainz error
2024/04/06 18:49:09 response 200 GET /scrobble?c=supersonic&f=xml&id=tr-126&s=ALh5OBaWxA&submission=false&t=496096163258ec2df22f600e98b4b924&time=1712429349019&u=admin&v=1.15.0
2024/04/06 18:49:09 subsonic error code 10: please provide an `id` parameter
2024/04/06 18:49:09 response 200 GET /getCoverArt?c=supersonic&f=xml&id=&s=ALh5OBaWxA&size=300&t=496096163258ec2df22f600e98b4b924&u=admin&v=1.15.0
2024/04/06 18:49:19 response 206 GET /stream?c=supersonic&f=xml&id=tr-126&s=ALh5OBaWxA&t=496096163258ec2df22f600e98b4b924&u=admin&v=1.15.0
2024/04/06 18:49:19 serving raw file, no user transcode preferences found for user "admin" and client "supersonic"
2024/04/06 18:49:19 subsonic error code 10: please provide an `id` parameter
2024/04/06 18:49:19 response 200 GET /getCoverArt?c=supersonic&f=xml&id=&s=ALh5OBaWxA&size=300&t=496096163258ec2df22f600e98b4b924&u=admin&v=1.15.0
2024/04/06 18:49:19 subsonic error code 10: please provide an `id` parameter
2024/04/06 18:49:19 received bad listenbrainz response:
HTTP/1.1 404 Not Found
Content-Length: 3784
Content-Type: text/html; charset=UTF-8
Date: Sat, 06 Apr 2024 18:49:19 GMT
Server: waitress
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="referrer" content="same-origin" />
<title>Maloja - Error</title>
<meta name="description" content='Maloja is a self-hosted music scrobble server.' />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<meta name="color-scheme" content="dark" />
<meta name="darkreader" content="wat" />
<link rel="stylesheet" href="/maloja.css" />
<link rel="stylesheet" href="/static/css/themes/maloja.css" />
<script src="/search.js"></script>
<script src="/neopolitan.js"></script>
<script src="/upload.js"></script>
<script src="/notifications.js"></script>
<script src="/edit.js"></script>
<script>
const defaultpicks = {
topartists: 'year',
toptracks: 'year',
topalbums: 'year',
pulse: 'year',
pulseperformancecombined: 'year',
featured: 'artist'
}
</script>
<link rel="preload" href="/static/ttf/Ubuntu-Regular.ttf" as="font" type="font/woff2" crossorigin />
</head>
<body class="">
<table class="top_info">
<tr>
<td class="image">
<div style="background-image:url('/favicon.png')"></div>
</td>
<td class="text">
<h1>404 Not Found</h1><br/>
Not found: '/1/submit-listens'
</td>
</tr>
</table>
Kazuma, Aqua, Darkness and Megumin have been dispatched to deal with this situation.<br/><br/>
<div id="footer">
<div id="left-side">
<a href="/about">About</a>
</div>
<div id="notch">
<a href="/"><img style="display:block;" src="/favicon.png" /></a>
</div>
<div id="right-side">
<span><input id="searchinput" placeholder="Search for an artist or track..." oninput="search(this)" onblur="clearresults()" /></span>
</div>
<div id="resultwrap" class="hide">
<div class="searchresults">
<span>Artists</span>
<table class="searchresults_artists" id="searchresults_artists">
</table>
<br/><br/>
<span>Tracks</span>
<table class="searchresults_tracks searchresults_extrainfo" id="searchresults_tracks">
</table>
<br/><br/>
<span>Albums</span>
<table class="searchresults_albums searchresults_extrainfo" id="searchresults_albums">
</table>
</div>
</div>
</div>
<div id="icon_bar">
<a class='hidelink' href="/admin_overview">
<div title="Server Administration" id="settingsicon" class="clickable_icon" style="margin-left:25px;">
<svg enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px">
<g>
<path d="M0,0h24v24H0V0z" fill="none"/>
<path d="M19.14,12.94c0.04-0.3,0.06-0.61,0.06-0.94c0-0.32-0.02-0.64-0.07-0.94l2.03-1.58c0.18-0.14,0.23-0.41,0.12-0.61 l-1.92-3.32c-0.12-0.22-0.37-0.29-0.59-0.22l-2.39,0.96c-0.5-0.38-1.03-0.7-1.62-0.94L14.4,2.81c-0.04-0.24-0.24-0.41-0.48-0.41 h-3.84c-0.24,0-0.43,0.17-0.47,0.41L9.25,5.35C8.66,5.59,8.12,5.92,7.63,6.29L5.24,5.33c-0.22-0.08-0.47,0-0.59,0.22L2.74,8.87 C2.62,9.08,2.66,9.34,2.86,9.48l2.03,1.58C4.84,11.36,4.8,11.69,4.8,12s0.02,0.64,0.07,0.94l-2.03,1.58 c-0.18,0.14-0.23,0.41-0.12,0.61l1.92,3.32c0.12,0.22,0.37,0.29,0.59,0.22l2.39-0.96c0.5,0.38,1.03,0.7,1.62,0.94l0.36,2.54 c0.05,0.24,0.24,0.41,0.48,0.41h3.84c0.24,0,0.44-0.17,0.47-0.41l0.36-2.54c0.59-0.24,1.13-0.56,1.62-0.94l2.39,0.96 c0.22,0.08,0.47,0,0.59-0.22l1.92-3.32c0.12-0.22,0.07-0.47-0.12-0.61L19.14,12.94z M12,15.6c-1.98,0-3.6-1.62-3.6-3.6 s1.62-3.6,3.6-3.6s3.6,1.62,3.6,3.6S13.98,15.6,12,15.6z"/>
</g>
</svg>
</div>
</a> </div>
<div id="notification_area">
</div>
<!-- Load script as late as possible so DOM renders first -->
<script src="/lazyload17-8-2.min.js"></script>
<script>
var lazyLoadInstance = new LazyLoad({});
</script>
</body>
</html>
2024/04/06 18:49:19 response 200 GET /getCoverArt?c=supersonic&f=xml&id=&s=ALh5OBaWxA&size=300&t=496096163258ec2df22f600e98b4b924&u=admin&v=1.15.0
2024/04/06 18:49:19 subsonic error code 0: error when submitting: >= 400: 404: listenbrainz error
2024/04/06 18:49:19 response 200 GET /scrobble?c=supersonic&f=xml&id=tr-127&s=ALh5OBaWxA&submission=false&t=496096163258ec2df22f600e98b4b924&time=1712429359875&u=admin&v=1.15.0
2024/04/06 18:49:20 response 206 GET /stream?c=supersonic&f=xml&id=tr-127&s=ALh5OBaWxA&t=496096163258ec2df22f600e98b4b924&u=admin&v=1.15.0
2024/04/06 18:49:20 serving raw file, no user transcode preferences found for user "admin" and client "supersonic"
2024/04/06 18:49:20 subsonic error code 10: please provide an `id` parameter
2024/04/06 18:49:20 response 200 GET /getCoverArt?c=supersonic&f=xml&id=&s=ALh5OBaWxA&size=300&t=496096163258ec2df22f600e98b4b924&u=admin&v=1.15.0
2024/04/06 18:49:20 subsonic error code 10: please provide an `id` parameter
2024/04/06 18:49:20 response 200 GET /getCoverArt?c=supersonic&f=xml&id=&s=ALh5OBaWxA&size=300&t=496096163258ec2df22f600e98b4b924&u=admin&v=1.15.0
2024/04/06 18:49:20 received bad listenbrainz response:
HTTP/1.1 404 Not Found
Content-Length: 3784
Content-Type: text/html; charset=UTF-8
Date: Sat, 06 Apr 2024 18:49:20 GMT
Server: waitress
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="referrer" content="same-origin" />
<title>Maloja - Error</title>
<meta name="description" content='Maloja is a self-hosted music scrobble server.' />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<meta name="color-scheme" content="dark" />
<meta name="darkreader" content="wat" />
<link rel="stylesheet" href="/maloja.css" />
<link rel="stylesheet" href="/static/css/themes/maloja.css" />
<script src="/search.js"></script>
<script src="/neopolitan.js"></script>
<script src="/upload.js"></script>
<script src="/notifications.js"></script>
<script src="/edit.js"></script>
<script>
const defaultpicks = {
topartists: 'year',
toptracks: 'year',
topalbums: 'year',
pulse: 'year',
pulseperformancecombined: 'year',
featured: 'artist'
}
</script>
<link rel="preload" href="/static/ttf/Ubuntu-Regular.ttf" as="font" type="font/woff2" crossorigin />
</head>
<body class="">
<table class="top_info">
<tr>
<td class="image">
<div style="background-image:url('/favicon.png')"></div>
</td>
<td class="text">
<h1>404 Not Found</h1><br/>
Not found: '/1/submit-listens'
</td>
</tr>
</table>
Kazuma, Aqua, Darkness and Megumin have been dispatched to deal with this situation.<br/><br/>
<div id="footer">
<div id="left-side">
<a href="/about">About</a>
</div>
<div id="notch">
<a href="/"><img style="display:block;" src="/favicon.png" /></a>
</div>
<div id="right-side">
<span><input id="searchinput" placeholder="Search for an artist or track..." oninput="search(this)" onblur="clearresults()" /></span>
</div>
<div id="resultwrap" class="hide">
<div class="searchresults">
<span>Artists</span>
<table class="searchresults_artists" id="searchresults_artists">
</table>
<br/><br/>
<span>Tracks</span>
<table class="searchresults_tracks searchresults_extrainfo" id="searchresults_tracks">
</table>
<br/><br/>
<span>Albums</span>
<table class="searchresults_albums searchresults_extrainfo" id="searchresults_albums">
</table>
</div>
</div>
</div>
<div id="icon_bar">
<a class='hidelink' href="/admin_overview">
<div title="Server Administration" id="settingsicon" class="clickable_icon" style="margin-left:25px;">
<svg enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px">
<g>
<path d="M0,0h24v24H0V0z" fill="none"/>
<path d="M19.14,12.94c0.04-0.3,0.06-0.61,0.06-0.94c0-0.32-0.02-0.64-0.07-0.94l2.03-1.58c0.18-0.14,0.23-0.41,0.12-0.61 l-1.92-3.32c-0.12-0.22-0.37-0.29-0.59-0.22l-2.39,0.96c-0.5-0.38-1.03-0.7-1.62-0.94L14.4,2.81c-0.04-0.24-0.24-0.41-0.48-0.41 h-3.84c-0.24,0-0.43,0.17-0.47,0.41L9.25,5.35C8.66,5.59,8.12,5.92,7.63,6.29L5.24,5.33c-0.22-0.08-0.47,0-0.59,0.22L2.74,8.87 C2.62,9.08,2.66,9.34,2.86,9.48l2.03,1.58C4.84,11.36,4.8,11.69,4.8,12s0.02,0.64,0.07,0.94l-2.03,1.58 c-0.18,0.14-0.23,0.41-0.12,0.61l1.92,3.32c0.12,0.22,0.37,0.29,0.59,0.22l2.39-0.96c0.5,0.38,1.03,0.7,1.62,0.94l0.36,2.54 c0.05,0.24,0.24,0.41,0.48,0.41h3.84c0.24,0,0.44-0.17,0.47-0.41l0.36-2.54c0.59-0.24,1.13-0.56,1.62-0.94l2.39,0.96 c0.22,0.08,0.47,0,0.59-0.22l1.92-3.32c0.12-0.22,0.07-0.47-0.12-0.61L19.14,12.94z M12,15.6c-1.98,0-3.6-1.62-3.6-3.6 s1.62-3.6,3.6-3.6s3.6,1.62,3.6,3.6S13.98,15.6,12,15.6z"/>
</g>
</svg>
</div>
</a> </div>
<div id="notification_area">
</div>
<!-- Load script as late as possible so DOM renders first -->
<script src="/lazyload17-8-2.min.js"></script>
<script>
var lazyLoadInstance = new LazyLoad({});
</script>
</body>
</html>
2024/04/06 18:49:20 subsonic error code 0: error when submitting: >= 400: 404: listenbrainz error
2024/04/06 18:49:20 response 200 GET /scrobble?c=supersonic&f=xml&id=tr-128&s=ALh5OBaWxA&submission=false&t=496096163258ec2df22f600e98b4b924&time=1712429360325&u=admin&v=1.15.0
It may be my networking in podman
look like gonic is contacting maloja but 404ing. seems like a question for the maloja devs
Yeah I even redid all the podman networking and triple checked to make sure, the api is being weird. Thanks for the help though!