Failed to create push channel: 13006 Extended code: 0x800705b4 - flutter

I'm having an issue with Flutter FCM web push notifications. Everything works perfectly fine in Chrome, but in Edge I get the following error:
Uncaught (in promise) Error: AbortError: Registration failed - push service error
at Object.createErrorWithStack (errors.dart:284:10)
at Function._throw (core_patch.dart:288:28)
at Function.throwWithStackTrace (errors.dart:108:5)
at async._AsyncCallbackEntry.new.callback (zone.dart:1413:11)
at Object._microtaskLoop (schedule_microtask.dart:40:11)
at _startMicrotaskLoop (schedule_microtask.dart:49:5)
at async_patch.dart:166:15
The issue appears to be intermittent. Sometimes it works and sometimes it doesn't. Killing Edge tasks/rebooting doesn't seem to help, but resetting network adapter - does help. The edge://push-internals shows following error:
Subscribe failed
Occurred: 3/29/2022, 12:50:38 PM PDT
Status: Failed to create push channel: 13006 Extended code: 0x800705b4
Server key: BDOU99+h67HcA6J...2xGpWwzjfAnG4=
Type: Service worker
origin: http://localhost:50000/
service-worker-registration-id: 2
The application is setup as described in
Flutter Fire Web setup and Usage.
Google search on Failed to create push channel: 13006 Extended code: 0x800705b4 returns no results, but is the key here. Anybody knows what that means?
Non-debug Edge browser log:
Connection status
Type: WinRT WNS client
Server: https://client.wns.windows.com/
State: Disconnected
Disconnected: 3/29/2022, 12:56:34 PM PDT
Disconnect reason: Connection error: 13018
Connection attempts: 0

Related

zoom swift sdk crashes after connecting to a meeting

i am trying run the zoom swiftdemo app referenced in their Github repo
but i keep getting this error whenever i connected to a meeting
ZoomiOSSDKDemo[1944:343363] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0xe10f, name = '.1516928314.rpc'
See /usr/include/servers/bootstrap_defs.h for the error codes.
I can connect to a meeting but it crashes a few second after connecting. What does the error message mean and how can i fix this?

Flutter webrtc Failed to set remote answer sdp

I am trying to connect two peer in flutter webrtc but i am getting below error.I am using firebase as a signalling server.
[ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: Unable to RTCPeerConnection::setRemoteDescription: peerConnectionSetRemoteDescription(): WEBRTC_SET_REMOTE_DESCRIPTION_ERROR: Failed to set remote answer sdp: Called in wrong state: stable
I am using below code in listening to the changes in firebase
if (val['t'] == "ans") {
assert(isInitiator);
_peerCon.setRemoteDescription(
RTCSessionDescription(
val['sdp'],
val['tp'],
),
);
return;
}
One peer connection can only set one remote description.
You are trying to setRemoteDescription on a peer with an already established connection. That's why you getting this error.
Check this thread for more details:
Failed to set remote answer sdp: Called in wrong state: stable

WebView returning blank post FB authorization

From my react native application, I am trying to authenticate against FB. Instead of directly using fbsdk, I was planning to use a wrapper around it.
I tried two wrappers.
https://github.com/xxsnakerxx/react-native-social-auth
https://github.com/magus/react-native-facebook-login
In both cases, I end up with a WebView which won't callback the app.
I have raised two issues
https://github.com/magus/react-native-facebook-login/issues/187
https://github.com/xxsnakerxx/react-native-social-auth/issues/6
XCode logs has below entries which I am not able to decipher
2016-12-09 06:13:29.757 XXXX[61829:8555589] -canOpenURL: failed for URL: "fbauth2:/" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
2016-12-09 06:13:29.759 XXXX[61829:8555589] -canOpenURL: failed for URL: "fbauth2:/" - error: "The operation couldn’t be completed. (OSStatus error -10814.)"
and..
__nw_socket_service_writes_block_invoke sendmsg(fd 9, 31 bytes): socket has been closed
2016-12-09 06:13:36.670958 XXXX[61829:8574160] [] nw_endpoint_flow_protocol_error [15.1 157.240.7.20:443 cancelled socket-flow (null)] Socket protocol sent error: [32] Broken pipe
2016-12-09 06:13:36.671154 XXXX[61829:8574160] [] nw_endpoint_flow_protocol_disconnected [15.1 157.240.7.20:443 cancelled socket-flow (null)] Output protocol disconnected
And the WebView post all the authentication looks like
Eventually successful with react-native-social-auth. Missed a few configurations.

Fatal error: Uncaught CurlException: 7: couldn't connect to host thrown in

Yesterday was fine, but today, suddenly, my web app report an error while accessing Facebook PHP API.
At first, the error was connection time out. So, I added the time in base_facebook.php, changed the variable
CURLOPT_CONNECTTIMEOUT => 10 into
CURLOPT_CONNECTTIMEOUT => 60
Now, my web app reports another error:
Fatal error: Uncaught CurlException: 7: couldn't connect to host thrown in xxx\src\base_facebook.php on line 972
Ah, I run my app on localhost in Windows (XAMPP 1.7.7).
For testing it, I also run the example codes from the newest facebook API in github.
I also have restarted my Apache server, and It still gives the same error.
This is probably a server configuration problem on your side.
Check whether the host has blocked the ports 80 and 443.

Uncaught CurlException: 7: Failed to connect

I have a live facebook application. Starting from last week, I keep getting
PHP Fatal error: Uncaught CurlException: 7: Failed to connect to 2a03:2880:2110:3f03:face:b00c:0:1: Network is unreachable
It is thrown in base-facebook.php file in facebook sdk 3.1.1 (Using the latest version)
What could be the cause?
Thanks in advance.
Maybe,you should check Network settings for IPV6.
at My application , Error continued to occur .
Setting up the network and Programming has not changed.
So , I've change Network settings for IPV6. I've solved it.