I have a public Jitsi server running - call it meet.example.com. This is up to date unstable.
When doing local dev per the jitsi-meet development guide, I’m attempting to use the WEBPACK_DEV_SERVER_PROXY_TARGET environment variable to point the locahost install at my instance. This does not work, although my local instance works properly against alpha.jitsi.net with no problems.
When I access https://localhost:8080 in my browser (Chrome), I get the following:
Error occured while trying to proxy to: localhost:8080/
In the ‘make dev’ terminal, I have the following:
[HPM] Error occurred while trying to proxy request / from localhost:8080 to https://meet.example.com (ECONNRESET) (https://nodejs.org/api/errors.html#errors_common_system_errors)
And, on the server, in the nginx error logs, I see:
2020/04/12 23:36:56 [error] 7753#7753: *111 recv() failed (104: Connection reset by peer) while proxying and reading from upstream, client: [my IP address], server: 0.0.0.0:443, upstream: "127.0.0.1:4445", bytes from/to client:563/3608, bytes from/to upstream:3608/932
What am I doing wrong? I’m happy to make any config changes required, but it would be nice to be able to develop against my own instance for performance reasons.