
apns-sharp - issue #40
Error Sending MSG :Unable to write data to the transport connection: An established connection was aborted by software on host machine
What steps will reproduce the problem? 1.Im not sure it is installed on WIN 2008 6b Bit 2.Running the Test sample with latest token and default settings. 3.
What is the expected output? What do you see instead? Expected to see the Push notification in the Iphone , don't see nothing . I get the abobe error in the Console window after "Cleaning UP"
What version of the product are you using? On what operating system? 2008 64 Bit , Latest
Please provide any additional information below.
Thank you for your time. Tamir
Comment #1
Posted on Nov 4, 2010 by Grumpy Horsethis is the same as the last comment in issue 19
Comment #2
Posted on Nov 15, 2010 by Grumpy Horsesolved by recreating the APP ID and the whole process. Thank you
Comment #3
Posted on Nov 15, 2010 by Happy Lion(No comment was entered for this change.)
Comment #4
Posted on Dec 23, 2011 by Happy OxI am getting the same error, :( i've got no solution yet What i did to resolve was 1. Disable firewal 2. request.KeepAlive = false;
but no luck yet
Comment #5
Posted on Jan 14, 2012 by Happy RabbitI have the same problem. I verified that I'm using the correct profile for the App ID. I created the cert using these instructions:
Step 1: openssl x509 -in aps_developer_identity.cer -inform DER -out aps_developer_identity.pem -outform PEM}
Where aps_developer_identity.cer is the file you download from the portal
Step 2: openssl pkcs12 -nocerts -out APSCertificates.pem -in APSCertificates.p12
Where APSCertificates.p12 is a file you export from the Mac Keychain. This is critical, you must import the certificate from the portal into keychain. Find it in My Certificates, open the disclosure triangle and highlight both the certificate and the private key, then right click and export them. Give them a password and save them to a p12 file.
Step 3: openssl pkcs12 -export -in aps_developer_identity.pem -out aps_developer_identity.p12 -inkey APSCertificates.pem
I then copied the device token from xcode while debugging, removed the blank spaces, and pasted it into the device token variable in the test project. Command line shows the following when running it:
Notification Queued! Sleeping 15000 milliseconds before next Notification... Connecting... Connected... Notification Success: {"aps":{"alert":"Testing 1...","badge":1,"sound":"default" }} Notification Queued! Sleeping 15000 milliseconds before next Notification... Error: Unable to write data to the transport connection: An established connecti on was aborted by the software in your host machine. Connecting... Connected... Notification Success: {"aps":{"alert":"Testing 2...","badge":2,"sound":"default" }} Notification Queued! Sleeping 15000 milliseconds before next Notification... Error: Unable to write data to the transport connection: An established connecti on was aborted by the software in your host machine. Connecting... Connected... Notification Success: {"aps":{"alert":"Testing 3...","badge":3,"sound":"default" }} Notification Queued! Sleeping 15000 milliseconds before next Notification... Error: Unable to write data to the transport connection: An established connecti on was aborted by the software in your host machine. Connecting... Connected... Notification Success: {"aps":{"alert":"Testing 4...","badge":4,"sound":"default" }} Notification Queued! Sleeping 15000 milliseconds before next Notification... Error: Unable to write data to the transport connection: An established connecti on was aborted by the software in your host machine. Connecting... Connected... Notification Success: {"aps":{"alert":"Testing 5...","badge":5,"sound":"default" }} Cleaning Up... Done! Press enter to exit...
This was run on two different Windows 7 machines with the firewall turned off, just in case. Any ideas?
Comment #6
Posted on Mar 27, 2012 by Happy PandaHi, i have the same problem, some Notifications have been sent ,but some failed.
error below: 09:32:41 Error: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.
how to improve it ?
Comment #7
Posted on Apr 19, 2012 by Happy GiraffeComment deleted
Comment #8
Posted on Apr 19, 2012 by Happy GiraffeHi, i have the same problem, but for me Notifications have been repeatedly sent to iPhone.
error below: Error: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.
Can anyone help me out ???
Status: Invalid
Labels:
Type-Defect
Priority-Medium