You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
trying to connect to dynamodb-local I get an error from aws-sdk
TypeError [ERR_INVALID_PROTOCOL]: Protocol "http:" not supported. Expected "https:".
Replicating the exact same query with the same version of the aws-sdk without serverless-offline it works flawlessly.
Debugging the executeSend command, in the aws-sdk, I see that the call done through serverless contains an agent configuration that contains the protocol set to https: (and this differs from the call that works).
How can I work around the issue?
I'm quite a noob with serverless so I might be missing something obvious :)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
trying to connect to dynamodb-local I get an error from aws-sdk
TypeError [ERR_INVALID_PROTOCOL]: Protocol "http:" not supported. Expected "https:".
Replicating the exact same query with the same version of the aws-sdk without serverless-offline it works flawlessly.
Debugging the executeSend command, in the aws-sdk, I see that the call done through serverless contains an agent configuration that contains the protocol set to https: (and this differs from the call that works).
How can I work around the issue?
I'm quite a noob with serverless so I might be missing something obvious :)
Beta Was this translation helpful? Give feedback.
All reactions