Comments (4)
Thanks for using uniqush!
About the log message, is it the original log message. I mean is it the verbatim logs? Is there any space in the Subscribers="[tdsjh2]"
part?
Here is my quick "fix":
- Whenever uniqush-push received a push request, it will ignore any subscriber whose name is zero length.
- In the log message, uniqush-push will explicitly write how many subscribers are there in one request.
I know the "fixes" above may not solve potential problem. But it may help us to pin down the bug. I just uploaded a new version, and you may download it from the following address:
You may want to download and install this version and see if you still have the same problem. Please let me know if it could fix your problem and I will make changes accordingly.
from uniqush-push.
Thank you for your response. Yes this is the origin content that i copied from the log.
after the fail i repeate the same push request,then it's Successful...
the log:
[Push][Info] 2014/03/21 11:37:37 RequestId=f565a3c5-7fd0-45cb-6ab1-187af957252e From=xxx.xxx.xxx.xxx:38491 Service=g29 Subscribers="[tdsjh1]"
push to device:g29 dps:[]string{"apns:0370c64fc98717ea52c159dd971dd03e7fc0d5c2"}
[Push][Info] 2014/03/21 11:37:37 RequestID=f565a3c5-7fd0-45cb-6ab1-187af957252e Service=g29 Subscriber= PushServiceProvider=apns:1d32b88ac2f296e602d63174b502aa57e9d2fb3e DeliveryPoint=Unknown Failed: EOF
[Push][Info] 2014/03/21 11:38:23 RequestId=39e59b0b-f3cc-4113-5f31-06ea5bae7c81 From=xxx.xxx.xxx.xxx:38585 Service=g29 Subscribers="[tdsjh1]"
push to device:g29 dps:[]string{"apns:0370c64fc98717ea52c159dd971dd03e7fc0d5c2"}
[Push][Info] 2014/03/21 11:38:25 RequestID=39e59b0b-f3cc-4113-5f31-06ea5bae7c81 Service=g29 Subscriber=tdsjh1 PushServiceProvider=apns:1d32b88ac2f296e602d63174b502aa57e9d2fb3e DeliveryPoint=apns:0370c64fc98717ea52c159dd971dd03e7fc0d5c2 MsgId=apns:apns:1d32b88ac2f296e602d63174b502aa57e9d2fb3e-11 Success!
I'll use the new version uniqush to see if it happends again
from uniqush-push.
afte i use the new version uniqush.
All push request were failed.
it report this:
[Push][Info] 2014/03/26 16:11:43 RequestId=53328bbf-k8RIif7u6-a-Dme4CMtmwA== From=xxx.xxx.xxx.xxx:36975 Service=g29 NrSubscribers=1 Subscribers="[aaaa]"
[Push][Error] 2014/03/26 16:11:45 RequestID=53328bbf-k8RIif7u6-a-Dme4CMtmwA== Service=g29 Subscriber= PushServiceProvider=apns:1d32b88ac2f296e602d63174b502aa57e9d2fb3e DeliveryPoint=Unknown Failed: tls: either ServerName or InsecureSkipVerify must be specified in the tls.Config
from uniqush-push.
I see. Let me dig into this next week. It may take some time. In the mean time, please let me know if there's any other discovery.
Thanks for your report! I will post my progress here to keep you updated.
from uniqush-push.
Related Issues (20)
- APNs binary protocol will be disabled in November 2020 - Provide migration steps
- Add a health check for connection pools, redis being connected HOT 3
- Refuse to start up if APNs certificates cause SystemRootsError
- Plans for web push features? HOT 1
- Potential code quality issues found HOT 3
- Fix no-op Signal(os.Kill)
- Idea: Add an opt-in mode to act as a proxy without managing tokens
- Consider migrating GCM/FCM from legacy HTTP API to HTTP v1 API
- Look into token-based instead of certificate-based connections to APNs
- Add Destination pointer to all push.Error implementations, to log
- Disable APNs binary protocol and feedback checker HOT 1
- Look into supporting apns-push-type setting HOT 1
- cant receive message in android app
- Remove psps
- What about an open server-side events/REST protocol for apps on any platform?
- Document how to support new root CAs for APNs servers with uniqush
- Make FCM/APNS timeouts configurable?
- Switch to api.sandbox.push.apple.com
- what tutorials on this are complete, i cant send a push notification via fcm
- Support UnifiedPush on Android devices HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uniqush-push.