question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AWS SDK error wrapper for Error: Parse Error: Expected HTTP/

See original GitHub issue

I’ve suddenly started receiving this error - any ideas what is triggering it?

    AWS SDK error wrapper for Error: Parse Error: Expected HTTP/

      at asSdkError (node_modules/@aws-sdk/middleware-retry/src/StandardRetryStrategy.ts:124:10)
      at StandardRetryStrategy.retry (node_modules/@aws-sdk/middleware-retry/src/StandardRetryStrategy.ts:94:21)
      at node_modules/@aws-sdk/middleware-logger/src/loggerMiddleware.ts:22:22
          at async Promise.all (index 0)
      at node_modules/jest-dynalite/src/dynamodb/v3.ts:96:5
      at Object.createTables (node_modules/jest-dynalite/src/db.ts:51:5)
      at Object.<anonymous> (node_modules/jest-dynalite/src/clearAfterEach.ts:5:3)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
fresholliecommented, Oct 5, 2021

MacOS sometimes lets you run more than 1 server on the same port

0reactions
cgreeningcommented, Oct 5, 2021

You sir are a lifesaver - something was running on the port and messing things up! All fixed and working again.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Parse Error: Expected HTTP/ · Issue #38 · httptoolkit/mockttp
This error comes directly from Node's HTTP parser, try searching for HPE_INVALID_CONSTANT in here: https://github.com/nodejs/http-parser/blob/ ...
Read more >
Error Handling in Modular AWS SDK for JavaScript (v3)
Hello, does anyone know why js aws sdk v3 doesn't throw Errors or sub-classes of ... to assert if a caught exception is...
Read more >
Node.js v19.3.0 Documentation
doesNotThrow(fn[, error][, message]); assert.equal(actual, expected[, message]) ... HTTP parser; DEP0132: worker.terminate() with callback; DEP0133: http ...
Read more >
python - Parse Error: The server returned a malformed response
What does Error: Parse Error: Expected HTTP/ mean? I checked my app logs but it seems it is not handling any request, even...
Read more >
Handling Errors in the AWS SDK for Go V2
Use the Error interface to handle errors from the AWS SDK for Go V2 or AWS service. The AWS SDK for Go V2...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found