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

[Bug]: OPML import containing own feed == Server crash #2752

Closed
AeliusSaionji opened this issue Mar 15, 2024 · 6 comments
Closed

[Bug]: OPML import containing own feed == Server crash #2752

AeliusSaionji opened this issue Mar 15, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@AeliusSaionji
Copy link

Describe the issue

Mar 15 19:28:34 reServer audiobookshelf[1665003]: [2024-03-15 23:28:34.527] FATAL: [Server] Uncaught exception origin: uncaughtException, error: Error [ERR_INTERNAL_ASSERTION]: This is caused by either a bug in Node.js or incorrect usage of Node.js internals.
Mar 15 19:28:34 reServer audiobookshelf[1665003]: Please open an issue with this stack trace at https://github.com/nodejs/node/issues
Mar 15 19:28:34 reServer audiobookshelf[1665003]:
Mar 15 19:28:34 reServer audiobookshelf[1665003]:     at assert (node:internal/assert:14:11)
Mar 15 19:28:34 reServer audiobookshelf[1665003]:     at internalConnect (node:net:1037:3)
Mar 15 19:28:34 reServer audiobookshelf[1665003]:     at defaultTriggerAsyncIdScope (node:internal/async_hooks:464:18)
Mar 15 19:28:34 reServer audiobookshelf[1665003]:     at GetAddrInfoReqWrap.emitLookup [as callback] (node:net:1481:9)
Mar 15 19:28:34 reServer audiobookshelf[1665003]:     at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:130:8) {
Mar 15 19:28:34 reServer audiobookshelf[1665003]:   code: 'ERR_INTERNAL_ASSERTION'
Mar 15 19:28:34 reServer audiobookshelf[1665003]: } (Server.js:160)
Mar 15 19:28:34 reServer audiobookshelf[1665003]: node:internal/assert:14
Mar 15 19:28:34 reServer audiobookshelf[1665003]:     throw new ERR_INTERNAL_ASSERTION(message);
Mar 15 19:28:34 reServer audiobookshelf[1665003]:     ^
Mar 15 19:28:34 reServer audiobookshelf[1665003]:
Mar 15 19:28:34 reServer audiobookshelf[1665003]: Error [ERR_INTERNAL_ASSERTION]: This is caused by either a bug in Node.js or incorrect usage of Node.js internals.
Mar 15 19:28:34 reServer audiobookshelf[1665003]: Please open an issue with this stack trace at https://github.com/nodejs/node/issues
Mar 15 19:28:34 reServer audiobookshelf[1665003]:
Mar 15 19:28:34 reServer audiobookshelf[1665003]:     at assert (node:internal/assert:14:11)
Mar 15 19:28:34 reServer audiobookshelf[1665003]:     at internalConnect (node:net:1037:3)
Mar 15 19:28:34 reServer audiobookshelf[1665003]:     at defaultTriggerAsyncIdScope (node:internal/async_hooks:464:18)
Mar 15 19:28:34 reServer audiobookshelf[1665003]:     at GetAddrInfoReqWrap.emitLookup [as callback] (node:net:1481:9)
Mar 15 19:28:34 reServer audiobookshelf[1665003]:     at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:130:8) {
Mar 15 19:28:34 reServer audiobookshelf[1665003]:   code: 'ERR_INTERNAL_ASSERTION'
Mar 15 19:28:34 reServer audiobookshelf[1665003]: }
Mar 15 19:28:34 reServer audiobookshelf[1665003]:
Mar 15 19:28:34 reServer audiobookshelf[1665003]: Node.js v20.11.1

Steps to reproduce the issue

I can't publicly share the OPML, but it's an export from antennapod and it looks fine to me.

Audiobookshelf version

v2.8.0

How are you running audiobookshelf?

Docker

@AeliusSaionji AeliusSaionji added the bug Something isn't working label Mar 15, 2024
@AeliusSaionji AeliusSaionji changed the title [Bug]: OPML import == Server crash [Bug]: OPML import containing own feed == Server crash Mar 15, 2024
@AeliusSaionji
Copy link
Author

I found the issue. Ironically, the problem is caused by the opml containing rss feeds hosted by my audiobookshelf.

@advplyr advplyr added the unable to reproduce Issue is not yet reproducible label Mar 16, 2024
@advplyr
Copy link
Owner

advplyr commented Mar 16, 2024

What do you mean hosted by your audiobookshelf? You are trying to import an OPML with feeds that are hosted on the same server you are importing?

@advplyr
Copy link
Owner

advplyr commented Mar 16, 2024

In searching that error I did find a recent node thread discussing a fix coming soon but I don't know if the error is the same since it's not giving us any information. nodejs/node#47644

@advplyr advplyr added the waiting Waiting for OP label Mar 16, 2024
@ahunigel
Copy link

Got the same error with v2.8.1 on docker container

<html><body>
<!--StartFragment-->
date | stream | content
-- | -- | --
2024/03/26 05:00:05 | stderr | Node.js v20.11.1
2024/03/26 05:00:05 | stderr |  
2024/03/26 05:00:05 | stderr | }
2024/03/26 05:00:05 | stderr | code: 'ERR_INTERNAL_ASSERTION'
2024/03/26 05:00:05 | stderr | at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:130:8) {
2024/03/26 05:00:05 | stderr | at GetAddrInfoReqWrap.emitLookup [as callback] (node:net:1481:9)
2024/03/26 05:00:05 | stderr | at defaultTriggerAsyncIdScope (node:internal/async_hooks:464:18)
2024/03/26 05:00:05 | stderr | at internalConnect (node:net:1037:3)
2024/03/26 05:00:05 | stderr | at assert (node:internal/assert:14:11)
2024/03/26 05:00:05 | stderr |  
2024/03/26 05:00:05 | stderr | Please open an issue with this stack trace at https://github.com/nodejs/node/issues
2024/03/26 05:00:05 | stderr | Error [ERR_INTERNAL_ASSERTION]: This is caused by either a bug in Node.js or incorrect usage of Node.js internals.
2024/03/26 05:00:05 | stderr |  
2024/03/26 05:00:05 | stderr | ^
2024/03/26 05:00:05 | stderr | throw new ERR_INTERNAL_ASSERTION(message);
2024/03/26 05:00:05 | stderr | node:internal/assert:14
2024/03/26 05:00:05 | stderr | } (Server.js:158)
2024/03/26 05:00:05 | stderr | code: 'ERR_INTERNAL_ASSERTION'
2024/03/26 05:00:05 | stderr | at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:130:8) {
2024/03/26 05:00:05 | stderr | at GetAddrInfoReqWrap.emitLookup [as callback] (node:net:1481:9)
2024/03/26 05:00:05 | stderr | at defaultTriggerAsyncIdScope (node:internal/async_hooks:464:18)
2024/03/26 05:00:05 | stderr | at internalConnect (node:net:1037:3)
2024/03/26 05:00:05 | stderr | at assert (node:internal/assert:14:11)
2024/03/26 05:00:05 | stderr |  
2024/03/26 05:00:05 | stderr | Please open an issue with this stack trace at https://github.com/nodejs/node/issues
2024/03/26 05:00:05 | stderr | [2024-03-25 21:00:05.723] FATAL: [Server] Uncaught exception origin: uncaughtException, error: Error [ERR_INTERNAL_ASSERTION]: This is caused by either a bug in Node.js or incorrect usage of Node.js internals.

<!--EndFragment-->
</body>
</html>

As a workaround, can I fall back to 2.7.x?

@ahunigel
Copy link

ahunigel commented Apr 8, 2024

Got the same error with v2.8.1 on docker container


<html><body>

<!--StartFragment-->

date | stream | content

-- | -- | --

2024/03/26 05:00:05 | stderr | Node.js v20.11.1

2024/03/26 05:00:05 | stderr |  

2024/03/26 05:00:05 | stderr | }

2024/03/26 05:00:05 | stderr | code: 'ERR_INTERNAL_ASSERTION'

2024/03/26 05:00:05 | stderr | at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:130:8) {

2024/03/26 05:00:05 | stderr | at GetAddrInfoReqWrap.emitLookup [as callback] (node:net:1481:9)

2024/03/26 05:00:05 | stderr | at defaultTriggerAsyncIdScope (node:internal/async_hooks:464:18)

2024/03/26 05:00:05 | stderr | at internalConnect (node:net:1037:3)

2024/03/26 05:00:05 | stderr | at assert (node:internal/assert:14:11)

2024/03/26 05:00:05 | stderr |  

2024/03/26 05:00:05 | stderr | Please open an issue with this stack trace at https://github.com/nodejs/node/issues

2024/03/26 05:00:05 | stderr | Error [ERR_INTERNAL_ASSERTION]: This is caused by either a bug in Node.js or incorrect usage of Node.js internals.

2024/03/26 05:00:05 | stderr |  

2024/03/26 05:00:05 | stderr | ^

2024/03/26 05:00:05 | stderr | throw new ERR_INTERNAL_ASSERTION(message);

2024/03/26 05:00:05 | stderr | node:internal/assert:14

2024/03/26 05:00:05 | stderr | } (Server.js:158)

2024/03/26 05:00:05 | stderr | code: 'ERR_INTERNAL_ASSERTION'

2024/03/26 05:00:05 | stderr | at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:130:8) {

2024/03/26 05:00:05 | stderr | at GetAddrInfoReqWrap.emitLookup [as callback] (node:net:1481:9)

2024/03/26 05:00:05 | stderr | at defaultTriggerAsyncIdScope (node:internal/async_hooks:464:18)

2024/03/26 05:00:05 | stderr | at internalConnect (node:net:1037:3)

2024/03/26 05:00:05 | stderr | at assert (node:internal/assert:14:11)

2024/03/26 05:00:05 | stderr |  

2024/03/26 05:00:05 | stderr | Please open an issue with this stack trace at https://github.com/nodejs/node/issues

2024/03/26 05:00:05 | stderr | [2024-03-25 21:00:05.723] FATAL: [Server] Uncaught exception origin: uncaughtException, error: Error [ERR_INTERNAL_ASSERTION]: This is caused by either a bug in Node.js or incorrect usage of Node.js internals.



<!--EndFragment-->

</body>

</html>

As a workaround, can I fall back to 2.7.x?

after roll back to 2.7.2, this issue didn't happen again.

@advplyr
Copy link
Owner

advplyr commented May 20, 2024

Is this still an issue on v2.9.0?

@advplyr advplyr closed this as completed Jun 3, 2024
@advplyr advplyr removed waiting Waiting for OP unable to reproduce Issue is not yet reproducible labels Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants