Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error has occurred when searching, then is fine, then not again #1728

Open
NTBTI opened this issue Oct 30, 2024 · 4 comments
Open

An error has occurred when searching, then is fine, then not again #1728

NTBTI opened this issue Oct 30, 2024 · 4 comments
Labels
bug This issue identifies a bug in Nuclear.

Comments

@NTBTI
Copy link

NTBTI commented Oct 30, 2024

Platform:
OS X ARM64

Nuclear version:
0.6.39

Description of the issue:
After playing for a while (exact amount of time varies) every track simply displays "An error has occurred when searching". Even tracks that previously played fine now get this.
Screenshot 2024-10-30 at 2 54 01 PM
Screenshot 2024-10-30 at 2 55 46 PM

After restarting Nuclear the problem with the exact same track(s) disappear and they play fine
Screenshot 2024-10-30 at 2 56 21 PM

But the problem re-appears sometimes several times per day.

This seems related to #1641 but I don't get the exact same error message so feel free to link the two if it looks to be the same.

Didn't open developer tools, but happy to do so next time the problem shows up if that's helpful

Also thanks so much for the great player!

@NTBTI NTBTI added the bug This issue identifies a bug in Nuclear. label Oct 30, 2024
@M-AliFida
Copy link

I am having the same issue on the same OS, Version 0.6.40.

I've never been able to play a song.

@nukeop
Copy link
Owner

nukeop commented Jan 3, 2025

I'm going to paste what I said in another thread:

Can you try the following:

  • Check if the song you selected plays on Youtube
  • Disable any VPNs you might be using
  • Check if you're not geoblocked

Also you can open the developer tools, check the network tab, and see why it's failing.

@smu6rnm
Copy link

smu6rnm commented Jan 4, 2025

OS X ARM64 / Nuclear 0.6.40
playlist

Screenshot 2025-01-04 at 2 43 49 PM

@pomelo
Copy link

pomelo commented Jan 5, 2025

Same problems here on M1 pro MBP.

  • Check if the song you selected plays on Youtube
    • Don't have Youtube from my drop list, so tried to search on Spority.
  • Disable any VPNs you might be using
    • No VPN connected
  • Check if you're not geoblocked
    • No

In developer tools, there are loads of repeatedly errors.

GET file:///Applications/nuclear.app/Contents/Resources/app.asar/dist/null net::ERR_FILE_NOT_FOUND
axios.cjs:2579 Refused to set unsafe header "User-Agent"
setRequestHeader @ axios.cjs:2579
forEach @ axios.cjs:272
dispatchXhrRequest @ axios.cjs:2578
xhr @ axios.cjs:2455
dispatchRequest @ axios.cjs:3104
_request @ axios.cjs:3386
request @ axios.cjs:3253
Axios.<computed> @ axios.cjs:3412
wrap @ axios.cjs:6
(anonymous) @ search.js:44
(anonymous) @ search.js:8
push.../../node_modules/youtube-ext/dist/search.js.__awaiter @ search.js:4
search @ search.js:22
trackSearchByString @ Youtube.ts:153
trackSearch @ Youtube.ts:147
search @ YoutubePlugin.ts:19
resolveTrackStreams @ queue.ts:74
getTrackStreams @ queue.ts:248
(anonymous) @ queue.ts:183
(anonymous) @ index.js:16
(anonymous) @ index.js:23
(anonymous) @ hooks.ts:261
Ii @ react-dom.production.min.js:211
Vj @ react-dom.production.min.js:257
exports.unstable_runWithPriority @ scheduler.production.min.js:19
cg @ react-dom.production.min.js:122
Dj @ react-dom.production.min.js:257
yj @ react-dom.production.min.js:239
(anonymous) @ react-dom.production.min.js:123
exports.unstable_runWithPriority @ scheduler.production.min.js:19
cg @ react-dom.production.min.js:122
fg @ react-dom.production.min.js:123
gg @ react-dom.production.min.js:122
Ga @ react-dom.production.min.js:287
gd @ react-dom.production.min.js:68
Show 5 more frames
index.js:118 youtube track get by id
error @ index.js:118
getStreamForId @ Youtube.ts:191
processTicksAndRejections @ internal/process/task_queues.js:93
async function (async)
getStreamForId @ Youtube.ts:170
getStreamForId @ YoutubePlugin.ts:28
resolveSourceUrlForTheFirstStream @ queue.ts:259
(anonymous) @ queue.ts:209
async function (async)
(anonymous) @ queue.ts:183
(anonymous) @ index.js:16
(anonymous) @ index.js:23
(anonymous) @ hooks.ts:261
Ii @ react-dom.production.min.js:211
Vj @ react-dom.production.min.js:257
exports.unstable_runWithPriority @ scheduler.production.min.js:19
cg @ react-dom.production.min.js:122
Dj @ react-dom.production.min.js:257
yj @ react-dom.production.min.js:239
(anonymous) @ react-dom.production.min.js:123
exports.unstable_runWithPriority @ scheduler.production.min.js:19
cg @ react-dom.production.min.js:122
fg @ react-dom.production.min.js:123
gg @ react-dom.production.min.js:122
Ga @ react-dom.production.min.js:287
gd @ react-dom.production.min.js:68
index.js:118 Error: EROFS: read-only file system, open '1736042924609-base.js'
    at Object.openSync (fs.js:476)
    at Object.func [as openSync] (electron/js2c/asar_bundle.js:5)
    at writeFileSync (fs.js:1467)
    at Object.exports.saveDebugFile (utils.js:333)
    at extractNTransform (sig.js:212)
    at Object.exports.extractFunctions (sig.js:229)
    at sig.js:19
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93)
error @ index.js:118
getStreamForId @ Youtube.ts:192
processTicksAndRejections @ internal/process/task_queues.js:93
async function (async)
getStreamForId @ Youtube.ts:170
getStreamForId @ YoutubePlugin.ts:28
resolveSourceUrlForTheFirstStream @ queue.ts:259
(anonymous) @ queue.ts:209
async function (async)
(anonymous) @ queue.ts:183
(anonymous) @ index.js:16
(anonymous) @ index.js:23
(anonymous) @ hooks.ts:261
Ii @ react-dom.production.min.js:211
Vj @ react-dom.production.min.js:257
exports.unstable_runWithPriority @ scheduler.production.min.js:19
cg @ react-dom.production.min.js:122
Dj @ react-dom.production.min.js:257
yj @ react-dom.production.min.js:239
(anonymous) @ react-dom.production.min.js:123
exports.unstable_runWithPriority @ scheduler.production.min.js:19
cg @ react-dom.production.min.js:122
fg @ react-dom.production.min.js:123
gg @ react-dom.production.min.js:122
Ga @ react-dom.production.min.js:287
gd @ react-dom.production.min.js:68
index.js:118 An error has occurred when searching for streams with Youtube for "Taylor Swift - Cruel Summer."
error @ index.js:118
(anonymous) @ queue.ts:228
processTicksAndRejections @ internal/process/task_queues.js:93
async function (async)
(anonymous) @ queue.ts:183
(anonymous) @ index.js:16
(anonymous) @ index.js:23
(anonymous) @ hooks.ts:261
Ii @ react-dom.production.min.js:211
Vj @ react-dom.production.min.js:257
exports.unstable_runWithPriority @ scheduler.production.min.js:19
cg @ react-dom.production.min.js:122
Dj @ react-dom.production.min.js:257
yj @ react-dom.production.min.js:239
(anonymous) @ react-dom.production.min.js:123
exports.unstable_runWithPriority @ scheduler.production.min.js:19
cg @ react-dom.production.min.js:122
fg @ react-dom.production.min.js:123
gg @ react-dom.production.min.js:122
Ga @ react-dom.production.min.js:287
gd @ react-dom.production.min.js:68
index.js:118 Error: Can not find youtube track with ic8j13piAhQ
    at Object.getStreamForId (Youtube.ts:193)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93)
    at async resolveSourceUrlForTheFirstStream (queue.ts:259)
    at async file:/Applications/nuclear.app/Contents/Resources/app.asar/dist/main.69833b220cf0a5c72150.js:7099

However, if open the app via cli, /Applications/nuclear.app/Contents/MacOS/nuclear, the searching error seems to be gone but some of the musics won't play as well. A few errors in the console:

axios.cjs:2579 Refused to set unsafe header "User-Agent"
setRequestHeader @ axios.cjs:2579
utils.js:246 WARNING: @distube/ytdl-core is out of date! Update with "npm install @distube/ytdl-core@latest".
(anonymous) @ utils.js:246
sig.js:210 WARNING: Could not parse n transform function.Please report this issue with the "1736041560013-base.js" file on https://github.com/distubejs/ytdl-core/issues.
extractNTransform @ sig.js:210
sponsor.ajay.app/api/skipSegments?videoID=A2VpR8HahKc&categories=[%22sponsor%22,%22intro%22,%22outro%22,%22interaction%22,%22selfpromo%22,%22music_offtopic%22]:1 Failed to load resource: the server responded with a status of 404 ()
axios.cjs:2579 Refused to set unsafe header "User-Agent"
setRequestHeader @ axios.cjs:2579
sponsor.ajay.app/api/skipSegments?videoID=Lgs9QUtWc3M&categories=[%22sponsor%22,%22intro%22,%22outro%22,%22interaction%22,%22selfpromo%22,%22music_offtopic%22]:1 Failed to load resource: the server responded with a status of 404 ()
api.spotify.com/v1/search?type=artist&q=oboe&decorate_restrictions=false&include_external=audio&limit=10:1 Failed to load resource: the server responded with a status of 401 ()
axios.cjs:2579 Refused to set unsafe header "User-Agent"
setRequestHeader @ axios.cjs:2579
forEach @ axios.cjs:272
dispatchXhrRequest @ axios.cjs:2578
xhr @ axios.cjs:2455
dispatchRequest @ axios.cjs:3104
_request @ axios.cjs:3386
request @ axios.cjs:3253
Axios.<computed> @ axios.cjs:3412
wrap @ axios.cjs:6
(anonymous) @ search.js:44
(anonymous) @ search.js:8
push.../../node_modules/youtube-ext/dist/search.js.__awaiter @ search.js:4
search @ search.js:22
trackSearchByString @ Youtube.ts:153
trackSearch @ Youtube.ts:147
search @ YoutubePlugin.ts:19
resolveTrackStreams @ queue.ts:74
getTrackStreams @ queue.ts:248
(anonymous) @ queue.ts:183
(anonymous) @ index.js:16
(anonymous) @ index.js:23
(anonymous) @ hooks.ts:261
Ii @ react-dom.production.min.js:211
Vj @ react-dom.production.min.js:257
exports.unstable_runWithPriority @ scheduler.production.min.js:19
cg @ react-dom.production.min.js:122
Dj @ react-dom.production.min.js:257
yj @ react-dom.production.min.js:239
(anonymous) @ react-dom.production.min.js:123
exports.unstable_runWithPriority @ scheduler.production.min.js:19
cg @ react-dom.production.min.js:122
fg @ react-dom.production.min.js:123
gg @ react-dom.production.min.js:122
Ga @ react-dom.production.min.js:287
gd @ react-dom.production.min.js:68
Show 5 more frames
StreamMappings.ts:38 POST https://nuclear-verification-service.fly.dev/stream-mappings/top-stream 404
getTopStream @ StreamMappings.ts:38
(anonymous) @ queue.ts:188
async function (async)
(anonymous) @ queue.ts:183
(anonymous) @ index.js:16
(anonymous) @ index.js:23
(anonymous) @ hooks.ts:261
Ii @ react-dom.production.min.js:211
Vj @ react-dom.production.min.js:257
exports.unstable_runWithPriority @ scheduler.production.min.js:19
cg @ react-dom.production.min.js:122
Dj @ react-dom.production.min.js:257
yj @ react-dom.production.min.js:239
(anonymous) @ react-dom.production.min.js:123
exports.unstable_runWithPriority @ scheduler.production.min.js:19
cg @ react-dom.production.min.js:122
fg @ react-dom.production.min.js:123
gg @ react-dom.production.min.js:122
Ga @ react-dom.production.min.js:287
gd @ react-dom.production.min.js:68
SponsorBlock.ts:19 GET https://sponsor.ajay.app/api/skipSegments?videoID=tZZ7xGAVgjg&categories=[%22sponsor%22,%22intro%22,%22outro%22,%22interaction%22,%22selfpromo%22,%22music_offtopic%22] 404
(anonymous) @ SponsorBlock.ts:19
getSegments @ SponsorBlock.ts:17
getStreamForId @ Youtube.ts:172
processTicksAndRejections @ internal/process/task_queues.js:93
async function (async)
getStreamForId @ Youtube.ts:170
getStreamForId @ YoutubePlugin.ts:28
resolveSourceUrlForTheFirstStream @ queue.ts:259
(anonymous) @ queue.ts:209
async function (async)
(anonymous) @ queue.ts:183
(anonymous) @ index.js:16
(anonymous) @ index.js:23
(anonymous) @ hooks.ts:261
Ii @ react-dom.production.min.js:211
Vj @ react-dom.production.min.js:257
exports.unstable_runWithPriority @ scheduler.production.min.js:19
cg @ react-dom.production.min.js:122
Dj @ react-dom.production.min.js:257
yj @ react-dom.production.min.js:239
(anonymous) @ react-dom.production.min.js:123
exports.unstable_runWithPriority @ scheduler.production.min.js:19
cg @ react-dom.production.min.js:122
fg @ react-dom.production.min.js:123
gg @ react-dom.production.min.js:122
Ga @ react-dom.production.min.js:287
gd @ react-dom.production.min.js:68
videoplayback:1 GET https://rr1---sn-ug0nu2vfxg-53as.googlevideo.com/videoplayback?expire=1736063752&ei=qOZ5Z66dNNH93LUPpJrHyQo&ip=150.107.175.222&id=o-ALSR8y1Kf6cVWROp8jZ52zQSInxY7XIRaAI9r2Hfhi0D&itag=251&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1736042152%2C&mh=mK&mm=31%2C29&mn=sn-ug0nu2vfxg-53as%2Csn-ntqe6n7r&ms=au%2Crdu&mv=m&mvi=1&pl=23&rms=au%2Cau&initcwndbps=3787500&bui=AfMhrI8SWy6V2pSap4_fE7JDyq_vFnX1xtqpQIMsGCcY3oGE2w8i2EIt0mNFoiF7kiVABo-j2oLpTp8L&spc=x-caUGFcNaBkhs6o74k6G8TIFOQZPJzyKulEse_YojDYm7zlsyQXeVrlVj08&vprv=1&svpuc=1&mime=audio%2Fwebm&rqh=1&gir=yes&clen=10669987&dur=566.881&lmt=1564320421669042&mt=1736041725&fvip=2&keepalive=yes&fexp=51326932%2C51335594%2C51371294&c=IOS&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRQIhAPQniATCZHlKq9KSZYd7CkqX97wze5syvKUUBlabprnjAiBxR7unao2lCvBT29qD5ixnrYorA1WdrdDUtI8VKdS7YQ%3D%3D&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=AGluJ3MwRgIhALVOpg0aHIK0R0DEaIVMUDM_KUbkLR7uOdCM0r2qzqVHAiEAtzskdLRvmODBFOHvLbzX7KwE6puA39QrsyX82uefBgo%3D 403 (Forbidden)
index.js:118 The audio playback can not be loaded, either because the server or network failed or because the format is not supported.
error @ index.js:118
handleError @ index.js:179
Sound.handleError @ react-hifi.es5.js:474
ba @ react-dom.production.min.js:14
ja @ react-dom.production.min.js:14
ka @ react-dom.production.min.js:14
oa @ react-dom.production.min.js:15
lc @ react-dom.production.min.js:52
jc @ react-dom.production.min.js:51
mc @ react-dom.production.min.js:52
sc @ react-dom.production.min.js:56
Ia @ react-dom.production.min.js:287
Ma @ react-dom.production.min.js:19
Rc @ react-dom.production.min.js:70
id @ react-dom.production.min.js:69
error (async)
vc @ react-dom.production.min.js:68
F @ react-dom.production.min.js:68
si @ react-dom.production.min.js:200
Pj @ react-dom.production.min.js:247
Qj @ react-dom.production.min.js:246
Kj @ react-dom.production.min.js:246
yj @ react-dom.production.min.js:239
(anonymous) @ react-dom.production.min.js:123
exports.unstable_runWithPriority @ scheduler.production.min.js:19
cg @ react-dom.production.min.js:122
fg @ react-dom.production.min.js:123
gg @ react-dom.production.min.js:122
Mj @ react-dom.production.min.js:240
notify @ Subscription.js:15
notifyNestedSubs @ Subscription.js:85
handleChangeWrapper @ Subscription.js:90
dispatch @ redux.js:297
(anonymous) @ ipc.ts:145
(anonymous) @ index.js:20
(anonymous) @ index.js:36
dispatch @ redux.js:691
(anonymous) @ queue.ts:218
async function (async)
(anonymous) @ queue.ts:183
(anonymous) @ index.js:16
(anonymous) @ index.js:23
(anonymous) @ hooks.ts:261
Ii @ react-dom.production.min.js:211
Vj @ react-dom.production.min.js:257
exports.unstable_runWithPriority @ scheduler.production.min.js:19
cg @ react-dom.production.min.js:122
Dj @ react-dom.production.min.js:257
yj @ react-dom.production.min.js:239
(anonymous) @ react-dom.production.min.js:123
exports.unstable_runWithPriority @ scheduler.production.min.js:19
cg @ react-dom.production.min.js:122
fg @ react-dom.production.min.js:123
gg @ react-dom.production.min.js:122
Ga @ react-dom.production.min.js:287
gd @ react-dom.production.min.js:68
index.html:1 Uncaught (in promise) DOMException: Failed to load because no supported source was found.
StreamMappings.ts:38 POST https://nuclear-verification-service.fly.dev/stream-mappings/top-stream 404

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue identifies a bug in Nuclear.
Projects
None yet
Development

No branches or pull requests

5 participants