From b5aec256e17cd5f3e038138a16368057c0aab3f7 Mon Sep 17 00:00:00 2001 From: Eywek Date: Mon, 20 May 2019 10:47:26 +0200 Subject: [PATCH 1/2] meta: update port whitelist --- en/plus/faq.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/plus/faq.md b/en/plus/faq.md index 7945ca3..40715d4 100644 --- a/en/plus/faq.md +++ b/en/plus/faq.md @@ -55,7 +55,7 @@ Re-Run `pm2 link` on your server and refresh your browser.
How to pass through firewall? (IP whitelisting & Ports) -Starting from PM2 3.2, we changed the networking connection by using a direct Websocket connection to our server on the port 443, so you only need OUTBOUND on port 443 TCP open. If you are using an older version, we of course advise to update but the ports that you need to open are 3900 (TCP outbound), 443 (HTTPS outbound) and 43554 (TCP outbound), so verify everything is allowed on your firewall. +Starting from PM2 3.2, we changed the networking connection by using a direct Websocket connection to our server on the port 443, so you only need OUTBOUND on port 443 TCP open. If you are using an older version, we of course advise to update but the port that you need to open is 443 (HTTPS outbound) so verify everything is allowed on your firewall. You also may need to whitelist IPs, please allow those listed here: [https://ips.cloud.pm2.io](https://ips.cloud.pm2.io)
From 0fdac1eb6d73fe5ec6b05fc84b2958835633db46 Mon Sep 17 00:00:00 2001 From: Eywek Date: Mon, 20 May 2019 10:50:37 +0200 Subject: [PATCH 2/2] improv: add doc to trigger deployment report --- en/plus/faq.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/en/plus/faq.md b/en/plus/faq.md index 40715d4..c0433b9 100644 --- a/en/plus/faq.md +++ b/en/plus/faq.md @@ -67,6 +67,15 @@ You also may need to whitelist IPs, please allow those listed here: [https://ips ## Dashboard Issues +
+Can I trigger a deployment report with my CI? + +Yes! You only need to send a POST request to `api.cloud.pm2.io` like this: +``` +curl https://proxy.cloud.pm2.io -H 'X-KM-PUBLIC: ' -H 'X-KM-SECRET: ' -H 'X-KM-SERVER: ' -d '{"channel":"process:event","payload":[{"event":"online","manually":false,"process":{"pm_id":0,"name":"","rev":"","server":""},"at":"2019-05-17T12:59:34.075Z"}]}' +``` +
+
Servers are blinking/flickering? Make sure that each PM2 runtime has a different name when linking to PM2 plus via: