Skip to content

Is Push Sharp Dead? #880

Open
Open
@kg6zgj

Description

@kg6zgj

What version of PushSharp are you using?

4.0.10

Describe your issue:

Unable to write data to the transport connection
basically once an apple notification gets queued that has a bad token the broker becomes unable to send any tokens.

I see PushSharp has not been updated for 2 years... is this a dead library?

What are the steps required to reproduce this issue?

Please provide any Exception Stack Traces

2018-07-18 14:47:44.PM [INFO] APNS-Client[1]: Sending Batch ID=338, Count=1
2018-07-18 14:47:44.PM [INFO] APNS-Client[1]: Can Write? True
2018-07-18 14:47:45.PM [INFO] APNS-CLIENT[1]: Retrying Batch: Batch ID=338, Error=System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
at System.Net.Sockets.Socket.BeginSend(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, AsyncCallback callback, Object state)
at System.Net.Sockets.NetworkStream.BeginWrite(Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.BeginWrite(Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state)
at System.Net.Security._SslStream.StartWriting(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security._SslStream.ProcessWrite(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security._SslStream.BeginWrite(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback asyncCallback, Object asyncState)
at System.Net.Security.SslStream.BeginWrite(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback asyncCallback, Object asyncState)
at System.IO.Stream.<>c.b__53_0(Stream stream, ReadWriteParameters args, AsyncCallback callback, Object state)
at System.Threading.Tasks.TaskFactory1.FromAsyncTrim[TInstance,TArgs](TInstance thisRef, TArgs args, Func5 beginMethod, Func`3 endMethod)
at System.IO.Stream.BeginEndWriteAsync(Byte[] buffer, Int32 offset, Int32 count)
at System.IO.Stream.WriteAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken)
at System.IO.Stream.WriteAsync(Byte[] buffer, Int32 offset, Int32 count)
at PushSharp.Apple.ApnsConnection.d__21.MoveNext()
2018-07-18 14:47:45.PM [INFO] APNS-Client[1]: Disconnecting (Batch ID=338)
2018-07-18 14:47:45.PM [INFO] APNS-Client[1]: Disconnected (Batch ID=338)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions