Skip to content

Cannot read property 'port' of null #101

@joaomilho

Description

@joaomilho

This happens sometimes when running proxy.close():

/Users/joaomilho/p/klarna-app/services/shopping/node_modules/hoxy/lib/proxy.js:396
            port: addr.port,
                      ^

TypeError: Cannot read property 'port' of null
    at Server.<anonymous> (/Users/joaomilho/p/klarna-app/services/shopping/node_modules/hoxy/lib/proxy.js:396:23)
    at emitTwo (events.js:106:13)
    at Server.emit (events.js:194:7)
    at parserOnIncoming (_http_server.js:563:12)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23)

On mac, node v 7.10.1.

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