Error: Requested origin https://httpbin.org does not match server https://httpbin.org:8765
at ClientHttp2Session.<anonymous> (/home/chandler/projects/seckill/http2-wrapper/source/agent.js:535:22)
at Object.onceWrapper (events.js:422:26)
at ClientHttp2Session.emit (events.js:315:20)
at Http2Session.onSettings (internal/http2/core.js:536:11) {stack: 'Error: Requested origin https://httpbin.org d…on.onSettings (internal/http2/core.js:536:11)', message: 'Requested origin https://httpbin.org does not match server https://httpbin.org:8765'}
Run the example code h2-over-h1.js
Result:
Error: Requested origin https://httpbin.org does not match server https://httpbin.org:8765
the port 8765 is Charles Proxy port