iOS WatchOS6 "Complication server connection invalidated." - apple-watch

I'm getting the WatchOS app crashing on 6.1. The error is listed below. I can not find any info on the error.
Complication server connection invalidated. You may lack the entitlement to look up the mach service, or there may have been an encoding error.
How do I fix this?

Related

Error: queryTxt ESERVFAIL cluster0.b4oyxi0.mongodb.net

I am developing a MERN stack application. My Node web server used to work fine. Recently however, whenever I start my Node server, I get the following error:
[1] Error: queryTxt ESERVFAIL cluster0.b4oyxi0.mongodb.net
[0] [HPM] Error occurred while proxying request localhost:3000/api/users/login to http://localhost:5000/ [ECONNRESET] (https://nodejs.org/api/errors.html#errors_common_system_errors)
[1] [nodemon] app crashed - waiting for file changes before starting...
What does this error mean and how can I fix it?
Not exactly sure what the error means. I encountered a similar error and the non +srv connection string did it for me.
To get one,
head out to your Atlas Dashboard under Database Deployment,
click Connect,
then choose Connect your application.
On the Node.js driver version, lower that to 2.2.12 or later.
This should give the connection string.
It's a DNS server issue. Try changing your DNS server in your network settings to any of these, or any other trusted one you know:
208.67.222.222
1.1.1.1
8.8.8.8
9.9.9.9

Starscream WatchOS connection

Can I connect to a WebSocket server in 2021 using WatchOS and StarScream on a real device?
I found information that it is impossible to connect on a real device, but the information is old
Unfortunately, I can not check on a real device, but it works on a simulator!
You can connect to a websocket server with StarScream on real devices. The issue you mentioned is fixed.
But be aware, your watch should be connected with your paired iPhone which has active internet connection. Otherwise, your socket connection won't connect.

Application keeps crashing because of database

Our application keeps on crashing once per day (at the start of the workday). Because of what it seems connection with database.
[31merror[39m: [SSL-QTEH-TD] E01000-SYSTEM_ERROR: [IBM][CLI Driver]
SQL30081N A communication error has been detected. Communication
protocol being used: "TCP/IP". Communication API being used:
"SOCKETS". Location where the error was detected: "000.00.00.00".
Communication function detecting the error: "recv". Protocol specific
error code(s): "104", "*", "0". SQLSTATE=08001
I'm unable to determine why this is happening.
You have a communication related SQL Error at the start of each working day. This implies that the network connectivity between your application and the database server was broken overnight, most likely for a scheduled downtime.
This could have been one or more of your app, the server your app runs on, any proxy or firewall servers servers between your app and the database server, the database, the server the database runs on.
Most likely it will be the database, allowing it to run reorgs and make backups. Next likely is a firewall, shutting down to allow maintenance. In any case your app needs to be able to detect the disconnect and recover.

iPhone: Connection refused error while connection Apple's Push Notification Service

I have been scratching my head since long now to get rid of following error message.
Warning: stream_socket_client() [function.stream-socket-client]: unable to connect to ssl://gateway.push.apple.com:2195 (Connection refused)
I have tried multiple times generating the correct certificate and made sure that project is signed with the correct bundle identifier.
I have also tried using testing script PHP(https://devforums.apple.com/message/50461) and Python (http://stackoverflow.com/questions/1052645/apple-pns-push-notification-services-sample-code) but both are giving same error message.
Could anyone please help me to know how to get rid of this error message?
Thanks.
Gotcha...Our firewall setup to not allow any other ports not listed in settings. Asked admin people to add it and it doesn't show this error message now....!! I have sent and message but didn't receive since last 5 minutes. I know that APNS messages are not guaranteed. Will wait for some more time. Hopefully it arrives.. :)

How we can check that our IP is blocked by apple from using APNS service

My apns was fine till yesterday. But today onwards am getting this error.
.Warning: stream_socket_client() [function.stream-socket-client]: unable to connect to ssl://gateway.push.apple.com:2195 (Connection timed out)
I didn't change anything. I am using an adhoc distribution profile.I used apns service too many times for testing. So i am confused about whether apple blocked my ip.How we can check that our IP is blocked by apple from using APNS service ?
Which version you are using? If it is 5.2, please test with 5.3
If you are using 5.3, then please make sure whether SSL is on or off (enabled or not).
While I can't help you check your IP addresses (well, aside from trying a new IP, or proxy), here are some things you can try to restore your APNS ability.
I would check your push certificate. It may have expired.
Also, look into Urban Airship. UA is a great service that helps you with using APNS. I have seen them mention Sandbox control specifically to avoid your problem of pushing the limit. (pun intended.)
EDIT:
Based on the last part of your error, (Connection Timeout), it does not look like an IP block. It would say (Connection refused).