代理后未收到 Firebase 通知
Firebase notification not received behind proxy
Firebase 不能在代理后面工作吗?
我正在为我学院的学生制作一个 Android 应用程序。
应用通过代理服务器连接到互联网时收不到通知。
但是我一打开移动数据就收到通知
如何解决这个问题?
Firebase 不能在 PROXIES 后面工作。
自 Firebase 推出以来,我们就遇到了这个问题。看这里; https://github.com/firebase/firebase-tools/issues/36 and here; https://groups.google.com/forum/#!topic/firebase-talk/UNO58i1mUYw.
只是 google 'firebase behind proxy'。就个人而言,我仍然希望有一天我们会得到解决。
Elvis 是正确的,但我想指出讨论此问题的 documentation。
If your organization has a firewall that restricts the traffic to or
from the Internet, you need to configure it to allow connectivity with
FCM in order for your Firebase Cloud Messaging client apps to receive
messages. The ports to open are: 5228, 5229, and 5230. FCM typically
only uses 5228, but it sometimes uses 5229 and 5230. FCM doesn't
provide specific IPs, so you should allow your firewall to accept
outgoing connections to all IP addresses contained in the IP blocks
listed in Google's ASN of 15169.
当应用程序使用我的学院互联网时,我遇到了这个问题,然后我安装了 drony,使用 drony 创建的 vpn 路由所有流量,现在 firebase 工作正常。
检查 drony 设置 here
Firebase 不能在代理后面工作吗?
我正在为我学院的学生制作一个 Android 应用程序。 应用通过代理服务器连接到互联网时收不到通知。
但是我一打开移动数据就收到通知
如何解决这个问题?
Firebase 不能在 PROXIES 后面工作。
自 Firebase 推出以来,我们就遇到了这个问题。看这里; https://github.com/firebase/firebase-tools/issues/36 and here; https://groups.google.com/forum/#!topic/firebase-talk/UNO58i1mUYw.
只是 google 'firebase behind proxy'。就个人而言,我仍然希望有一天我们会得到解决。
Elvis 是正确的,但我想指出讨论此问题的 documentation。
If your organization has a firewall that restricts the traffic to or from the Internet, you need to configure it to allow connectivity with FCM in order for your Firebase Cloud Messaging client apps to receive messages. The ports to open are: 5228, 5229, and 5230. FCM typically only uses 5228, but it sometimes uses 5229 and 5230. FCM doesn't provide specific IPs, so you should allow your firewall to accept outgoing connections to all IP addresses contained in the IP blocks listed in Google's ASN of 15169.
当应用程序使用我的学院互联网时,我遇到了这个问题,然后我安装了 drony,使用 drony 创建的 vpn 路由所有流量,现在 firebase 工作正常。
检查 drony 设置 here