Skip to content

How to handle socket timeout exception  #62

@nkmittal

Description

@nkmittal

When sending push message to APNS I need to handle socket timeout exception so that in case there is any issue while connecting to APNS (because of network or because of rate limiting by APNS or other reasons) I can gracefully handle it.
I frequently face this issue while sending push messages to FCM APIs and the Java lib raises following exception there which I handle:
java.util.concurrent.TimeoutException

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions