Skip to content

Unable to receive push messages after switching network type #6447

@timotk

Description

@timotk

I have:


Bug description

Whenever I switch network type (from WiFi to 3G/LTE or vice versa), Signal is unable to receive any push messages. This includes normal messages and also received confirmation (the double check mark). I am however able to send messages (single check mark) and they are also received. Switching back from mobile network to WiFi also does not solve the problem. After reinstalling Signal the bug still persists.

Important: This phone does not have GCM. It appears the websocket pipe gets broken.

Steps to reproduce

  • Switch from WiFi to 3G/LTE (or vice versa)

Actual result: Switching to mobile network causes Signal to not receive any push messages
Expected result: Signal is able to handle the network switch and is able to receive both messages and received confirmations.

Device info

Device: Samsung Galaxy S4
Android version: 7.1.1
Signal version: 4.1.0

Link to debug log

https://gist.github.com/timotk/bad33a0bff9129358938cd2c4f568ada

I believe this is the relevant part:

03-27 11:16:39.679 31337 31371 W MessageRetrievalService: Application level read timeout...
03-27 11:16:39.682 31337 31371 W MessageRetrievalService: Network requirement: true, active activities: 1, push pending: 0, gcm disabled: true
03-27 11:16:39.684 31337 31371 W MessageRetrievalService: Reading message...

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