-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
ERR_INTERNAL_ASSERTION
with Strapi CLI
#51354
Comments
ERR_INTERNAL_ASSERTION
with Strapi CLI
There are a lot of similar looking reports at strapi/strapi#18084. It seems a workaround for Strapi users is to downgrade to Node.js 18.x or upgrade to 21.x until the fix is backported to 20.x. |
@ShogunPanda it looks like the failing assert was added in https://github.com/nodejs/node/pull/46587/files#diff-218c57e035f64b18af4db037c96f13014aeb40a1f783d4f52919e2075621da0cR1099 |
We encounter the same issue on every fastify servers we have on our side. The stack trace is exactly the same, happening on node 20.10 (not using Strapi CLI) |
Hopefully it's been fixed by #51045 already (which is on the 21.x release line, and should be in the next 20.x release). |
I did not found it in 20.11 changelog, waiting for 20.12 I guess, thanks for pointing me the potential fix. |
Probably a duplicate of #51285. |
I'm using Node.js v21.2.0, and still encountering this issue. Please suggest what can I do to resolve this issue. Thanks :) |
It should have been fixed in Node 21.6.0. |
@ShogunPanda I'll check now, Thanks for your response !👍 |
node:internal/assert:14 Error [ERR_INTERNAL_ASSERTION]: This is caused by either a bug in Node.js or incorrect usage of Node.js internals.
code: 'ERR_INTERNAL_ASSERTION' This error occurs while uploading images in strapi admin dashboard. |
@avinashmaurya86 This should be fixed in |
@ShogunPanda do you know if this will be backported to 20.x and if so, when 20.12.0 will be released? |
No sir it is well supported in Jode js version 18
…On Sun, 28 Jan, 2024, 12:23 pm Paolo Insogna, ***@***.***> wrote:
@avinashmaurya86 <https://github.com/avinashmaurya86> This should be
fixed in 21.6.0, can you please check?
—
Reply to this email directly, view it on GitHub
<#51354 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AWNTYZ4AW2GSRZBVKLFBANTYQXYVZAVCNFSM6AAAAABBMCTQVKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJTGQ3TONJRGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
No sir it is well supported in Node js version 18
…On Mon, 26 Feb, 2024, 7:25 pm Mauro Pompilio, ***@***.***> wrote:
@ShogunPanda <https://github.com/ShogunPanda> do you know if this will be
backported to 20.x and if so, when 20.12.0 will be released?
—
Reply to this email directly, view it on GitHub
<#51354 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AWNTYZY3TCONPOSEKZVBAGTYVSH5PAVCNFSM6AAAAABBMCTQVKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRUGIYDINBRHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@malditogeek Yes, it will be included in 20.12.0. Not sure about the release date tho. |
No sir I don't have any idea about this.
…On Mon, 26 Feb, 2024, 7:25 pm Mauro Pompilio, ***@***.***> wrote:
@ShogunPanda <https://github.com/ShogunPanda> do you know if this will be
backported to 20.x and if so, when 20.12.0 will be released?
—
Reply to this email directly, view it on GitHub
<#51354 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AWNTYZY3TCONPOSEKZVBAGTYVSH5PAVCNFSM6AAAAABBMCTQVKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRUGIYDINBRHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
But my project of Strapi is perfectly running in Node version 18
…On Mon, 26 Feb, 2024, 7:25 pm Mauro Pompilio, ***@***.***> wrote:
@ShogunPanda <https://github.com/ShogunPanda> do you know if this will be
backported to 20.x and if so, when 20.12.0 will be released?
—
Reply to this email directly, view it on GitHub
<#51354 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AWNTYZY3TCONPOSEKZVBAGTYVSH5PAVCNFSM6AAAAABBMCTQVKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRUGIYDINBRHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@avinashmaurya86 Because network family autoselection is disabled by default in 18. It was turned on by default in 20. |
Thank you for your response sir.
It helps me better than before.
…On Mon, 26 Feb, 2024, 9:55 pm Paolo Insogna, ***@***.***> wrote:
@avinashmaurya86 <https://github.com/avinashmaurya86> Because network
family autoselection is disabled by default in 18. It was turned on by
default in 20.
—
Reply to this email directly, view it on GitHub
<#51354 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AWNTYZ5XF3MGQYOTSRNT4OTYVSZQVAVCNFSM6AAAAABBMCTQVKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRUGU3TEMRTHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
could you please backport it somehow into the 20.10.10? As lambda version affected also |
There is no |
I think the fix has been backported to 20.12.0, we can probably close this now. If you're still experiencing this on Node.js 20.12.0 or later, please open a new issue. |
@ShogunPanda |
I see. |
Version
Node.js v20.10.0
Platform
VSCode PowerShell Terminal
Subsystem
No response
What steps will reproduce the bug?
No response
How often does it reproduce? Is there a required condition?
No response
What is the expected behavior? Why is that the expected behavior?
No response
What do you see instead?
Additional information
I am reaching out to seek assistance regarding an issue I encountered after installing the Strapi CLI within the VSCode terminal and accessing the Strapi admin dashboard via http://localhost:1337/admin.
Issue Overview:
After successful installation of the Strapi CLI, I launched the Strapi admin dashboard on my local server at http://localhost:1337/admin. While navigating through the dashboard, I observed inconsistent behavior. I was able to create an account and occasionally create content titles. However, I faced recurring difficulties when attempting to upload image items. Upon refreshing the browser, the following error message was consistently displayed:
"This site can’t be reached - localhost refused to connect.
Try:
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED"
Moreover, the VSCode terminal generated an error message (as enclosed below) which I believe is associated with the issue:
Error Message in VSCode Terminal:
Request for Assistance:
I have attempted troubleshooting steps, including reinstalling the Strapi CLI and checking for potential firewall or connectivity issues, but the problem persists. I am uncertain whether this issue is related to a bug in Node.js or if it pertains to incorrect usage of Node.js internals.
Could you kindly provide guidance or assistance to rectify this issue? Any insights, suggestions, or steps to further diagnose and resolve this matter would be greatly appreciated.
Thank you for your time and support. Please let me know if any additional information or logs are required to assist in troubleshooting this issue.
The text was updated successfully, but these errors were encountered: