Skip to content

hostHeader.startsWith is not a function #3

@dfloresgonz

Description

@dfloresgonz

I get this error. I cannot access the _http_agent.js I don't have that file.
Is there a way to solve this?

hostHeader.startsWith is not a function
    at calculateServerName (_http_agent.js:240:20)
    at Agent.addRequest (_http_agent.js:155:26)
    at new ClientRequest (_http_client.js:258:16)
    at Object.request (http.js:42:10)
    at forwardRequestToNodeServer (/var/task/node_modules/aws-serverless-express-edge/index.js:129:26)
    at Object.proxy (/var/task/node_modules/aws-serverless-express-edge/index.js:188:9)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions