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

Encountering "Internal Serverless Error" in commands #12583

Closed
austencollins opened this issue Jun 10, 2024 · 3 comments
Closed

Encountering "Internal Serverless Error" in commands #12583

austencollins opened this issue Jun 10, 2024 · 3 comments
Labels

Comments

@austencollins
Copy link
Member

This new issue was posted as a comment in an unrelated and separate issue.

I tried upgrading & now get "Internal Serverless Error" when running most commands. Also posted a stackoverflow question: https://stackoverflow.com/questions/78599211/serverless-framework-internal-serverless-error

Originally posted by @hubatish in #12542 (comment)

@hubatish based on details in the StackOverflow post, it looks auth related. In your root folder, there is a .serverlessrc file with your auth details. Perhaps something in there became corrupted. I suggest deleting that file and running the CLI again, with the latest version (run serverless update) to get the latest version. If you could post more info in here, that would be helpful.

@austencollins austencollins changed the title "Internal Serverless Error" when running most commands Encountering "Internal Serverless Error" in commands Jun 10, 2024
@austencollins
Copy link
Member Author

austencollins commented Jun 12, 2024

Going to close until the OP responds or someone else reports. We have applied a few fixes in recent versions, which may have addressed this.

@muzaffar622
Copy link

there still error with 4.1.2 version, after downgrade to 3.39.0 error is gone.

@hubatish
Copy link

Thanks for the response and apologies for my slow response; my serverless work is primarily a weekend project. I tried deleting the .serverless file, running serverless update, rerunning serverless start / serverless deploy.
Running serverless update gave this response:
Serverless Framework has been updated to version 4.1.4

However serverless start & serverless deploy gave the same error as previously:

✖ Internal Serverless Error
Error: Internal Serverless Error
    at UsersClient.makeRequest (file:///root/.serverless/releases/4.1.4/package/dist/sf-core.js:177:421868)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async UsersClient._get (file:///root/.serverless/releases/4.1.4/package/dist/sf-core.js:177:420954)
    at async Authentication.refreshUserIdTokenAndSave (file:///root/.serverless/releases/4.1.4/package/dist/sf-core.js:1060:29658)
    at async Authentication.getAuthenticatedData (file:///root/.serverless/releases/4.1.4/package/dist/sf-core.js:1060:12644)  
    at async Authentication.resolverAuthenticate (file:///root/.serverless/releases/4.1.4/package/dist/sf-core.js:1060:31012)  
    at async _Meta.authenticateAndResolve (file:///root/.serverless/releases/4.1.4/package/dist/sf-core.js:1068:10639)
    at async route (file:///root/.serverless/releases/4.1.4/package/dist/sf-core.js:1068:14642)
    at async Object.run2 [as run] (file:///root/.serverless/releases/4.1.4/package/dist/sf-core.js:1068:15090)
    at async run3 (file:///root/.serverless/releases/4.1.4/package/dist/sf-core.js:1068:16324)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants