novu
novu copied to clipboard
fix(provider): add better proxy support for brevo mail provider
What change does this PR introduce?
Add better proxy for brevo mail provider as axios may leads to 502 error when having proxy over HTTPS
Why was this change needed?
Using actual provider leads to 502 error (Squid proxy error with zero size reply) as axios have some issues with HTTPS over proxy.
Other information (Screenshots)
Using cross-fetch with proxy-agent to have better proxy management
Deploy request for dev-web-novu pending review.
Visit the deploys page to approve it
Name | Link |
---|---|
Latest commit | cce931da548a5213dd319cfafbb5afcbca46bc16 |
Is it possible to have this fix in the next release? I know it involve a provider that may be already productive, but there is an issue with axios and some proxies over https calls:
https://github.com/axios/axios/issues/5078
I'm on an on premise that involve a proxy for external calls
This PR is being closed due to inactivity. Please reopen if work is intended to be continued.