我在公司工作,有一些代理安全策略。
我在firebase中的某个节点上设置了一个更改观察器。见下面的代码
func connectObserver(_ base_url:String) {
fireBaseRefAppSettings = FIRDatabase.database().reference(fromURL: "\(base_url)")
firebaseQueryHandler = fireBaseRefJamesAppSettings!.queryOrderedByKey().observe(.value, with: {
snapshot in
print("in queryOrderedByKey observe block"); // its not printing . I have set breakpoints here also. It looks its not coming inside this block.
// I have checked this without proxy , its working fine.
// My question is, What I have to do to work this behind the proxy
if let jamesapp_settings_raw_data = snapshot.value as? NSDictionary{
print("jamesapp_settings_raw_data \(jamesapp_settings_raw_data)")
}
}
}
我也看到了问题Firebase notification not received behind proxy
如果您有任何相关信息。请做评论和回答
由于
更新1
我对我们的IT管理员说,他打开了端口5228,5229和5230,但它仍然没有进入我上面提到的代码块。 :(