-
Notifications
You must be signed in to change notification settings - Fork 984
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Status desktop appears "offline" when online #6284
Comments
I can reproduce this issue. Definitely see that i established connections with peers after application was resumed. But desktop app always shows "offline" message. I think same problem appears on IOs when app moved from background. @yenda @cammellos when do remove "offline" warning? is it when "discovery.summary" returns peers or there is additional logic? there is definitely a bug, either in handling that event or in status-go module. |
I can reliably reproduce this situation.
|
i will take a look it tonight, thanks for the info, very helpful, you are
running latest develop, correct?
…On Wed, Nov 14, 2018, 4:20 PM Dmitry Shulyak ***@***.*** wrote:
I can reliably reproduce this situation.
Steps:
1. run desktop app
2. simulate network conditions. turn off your wifi, disable interface,
or use this tool https://github.com/tylertreat/comcast
3. ensure that all establishrf connections with app disappeared. lsof
-i -P <status pid>
4. see in the logs that discovery.summary is empty:
17:16:14.543 - D - [RCTStatus] - ::onStatusGoEvent call - event: {"type":"discovery.summary","event":[]}
1. enable network, wait for established connections
2. see in log that discovery.summary was restored
17:17:00.262 - D - [jsserver] - [status-im.events:685] - :event-str {"type":"discovery.summary","event":[{"id":"c42f368a23fa98ee546fd247220759062323249ef657d26d357a777443aec04db1b29a3a22ef3e7c548e18493ddaf51a31b0aed6079bd6ebe5ae838fcfaf3a49","name":"Statusd/v0.16.4/linux-amd64/go1.10.2","caps":["shh/6"],"network":{"localAddress":"192.168.0.107:34888","remoteAddress":"206.189.243.162:30504","inbound":false,"trusted":false,"static":true},"protocols":{"shh":"unknown"}},{"id":"f34451823b173dc5f2ac0eec1668fdb13dba9452b174249a7e0272d6dce16fb811a01e623300d1b7a67c240ae052a462bff3f60e4a05e4c4bd23cc27dea57051","name":"Statusd/v0.16.4/linux-amd64/go1.10.2","caps":["shh/6"],"network":{"localAddress":"192.168.0.107:36918","remoteAddress":"47.52.173.66:30305","inbound":false,"trusted":false,"static":true},"protocols":{"shh":"unknown"}}]}
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6284 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA-EsBh_C59JmBxrqebYBJ-FnJbb2Niaks5uvDTFgaJpZM4XZI__>
.
|
@cammellos i am using builds from tuesday and monday. can reproduce on both of them. should i try to reproduce on latest build? |
no, that's ok, just wanted to check was fairly recent, thanks
…On Wed, Nov 14, 2018, 4:27 PM Dmitry Shulyak ***@***.*** wrote:
@cammellos <https://github.com/cammellos> i am using builds from tuesday
and monday. can reproduce on both of them. should i try to reproduce on
latest build?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6284 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA-EsKOPNt-Du0dZMSIU63M17f4P2qieks5uvDZ2gaJpZM4XZI__>
.
|
@cammellos duplicate? #6396 |
seems like, feel free to close one, I will assign both to me, thanks for spotting it |
@dshulyak I can't replicate myself, everything works as expected, would it be possible to get all the logs from just before you go offline till you are back online Also, when it displays |
I am trying to reproduce it again to get logs but i can't. Not sure why. Button to send a message was blocked, but i was receiving new messages. It is probably not related to discovery.summary. Now warning switches to "connecting to peers". and gets removed once i have at least one peer in discovery.summary. |
Found logs from yesterday: https://pastebin.com/jACzPFSW
|
comment: # Status desktop shows as "offline" even when online.
User Story
Desktop on Mac. Had a brief connection problem on my mac and went offline. As expected, the Status app showed "offline". When i came back online (as confirmed by receiving messages through status and using a web browser), the status app still shows "offline." I've been online for 10 minutes now, but the app still shows offline.
Description
comment: # Bug
Type: Bug
Expected behavior
comment: # The "offline" header should disappear when I'm online.
Actual behavior
comment: # The "offline" header remained even when I'm online.
Additional Information
comment: # Mac
Logs
The text was updated successfully, but these errors were encountered: