Lbry windows app refusing to launch after some time or several launches #353

Closed
opened 2017-07-16 13:26:23 +02:00 by olokos · 19 comments
olokos commented 2017-07-16 13:26:23 +02:00 (Migrated from github.com)

The Issue

Windows application refuses to launch after several cycles of opening and closing it.
https://gyazo.com/c94ed91b40ab0831c14c7e199720dea0

Steps to reproduce

  1. Install lbry
  2. Register/login/try to use it
  3. Close and reopen the application a few times
  4. Eventually, reboot your computer a few times

Expected behaviour

Tell us what should happen
Lbry application should connect, catch up to blockchain and work as intended

Actual behaviour

Tell us what happens instead
It errors out every single launch preventing me from using it

System Configuration

  • LBRY App version: 0.13.0.1168
  • LBRY Installation ID: No idea where to find this as I can't launch the application whatsoever anymore
  • Operating system: Windows 10 Pro x64

Anything Else

I've been told on slack that the fix would be to uninstall and reinstall the application, I've done that several times but the issue always returns.

Screenshots

https://gyazo.com/c94ed91b40ab0831c14c7e199720dea0

## The Issue Windows application refuses to launch after several cycles of opening and closing it. https://gyazo.com/c94ed91b40ab0831c14c7e199720dea0 ### Steps to reproduce 1. Install lbry 2. Register/login/try to use it 3. Close and reopen the application a few times 4. Eventually, reboot your computer a few times ### Expected behaviour Tell us what should happen Lbry application should connect, catch up to blockchain and work as intended ### Actual behaviour Tell us what happens instead It errors out every single launch preventing me from using it ## System Configuration - LBRY App version: 0.13.0.1168 - LBRY Installation ID: No idea where to find this as I can't launch the application whatsoever anymore - Operating system: Windows 10 Pro x64 ## Anything Else I've been told on slack that the fix would be to uninstall and reinstall the application, I've done that several times but the issue always returns. ## Screenshots https://gyazo.com/c94ed91b40ab0831c14c7e199720dea0
tzarebczan commented 2017-07-17 13:15:29 +02:00 (Migrated from github.com)

Before launching, can you check if LBRY.exe or lbrynet-daemon.exe are running in the task manager? We are aware of some issues which cause the process to hang, and if you re-run LBRY in this state, you typically get the error you are seeing. Sometimes it can take a couple seconds to shut down completely also, so be patient before relaunching.

A reboot normally fixes the issue for you?

Before launching, can you check if LBRY.exe or lbrynet-daemon.exe are running in the task manager? We are aware of some issues which cause the process to hang, and if you re-run LBRY in this state, you typically get the error you are seeing. Sometimes it can take a couple seconds to shut down completely also, so be patient before relaunching. A reboot normally fixes the issue for you?
kauffj commented 2017-07-17 21:18:49 +02:00 (Migrated from github.com)

@tzarebczan please re-open if you can work with @olokos to determine reproducible steps and/or root cause.

@tzarebczan please re-open if you can work with @olokos to determine reproducible steps and/or root cause.
tzarebczan commented 2017-07-17 21:32:51 +02:00 (Migrated from github.com)

Will do. @olokos please let me know if this is happening if LBRY is already running in the background.

Will do. @olokos please let me know if this is happening if LBRY is already running in the background.
olokos commented 2017-07-18 17:21:22 +02:00 (Migrated from github.com)

They're not actually, I double checked it. Reboot doesn't seem to change a thing, I've been having issues with LBRY since the beginning.

https://gyazo.com/7a4cc223130e54b3c1fbc8007d36f741
Here's the issue I'm getting now and my PC was freshly rebooted yesterday and I haven't launched LBRY.

After this error I'm getting stuck in connecting loop and restarting just causes error I screenshotted over and over again.

@tzarebczan reopen the issue please, I might not be able to reply everyday, but I definitely will.

They're not actually, I double checked it. Reboot doesn't seem to change a thing, I've been having issues with LBRY since the beginning. https://gyazo.com/7a4cc223130e54b3c1fbc8007d36f741 Here's the issue I'm getting now and my PC was freshly rebooted yesterday and I haven't launched LBRY. After this error I'm getting stuck in connecting loop and restarting just causes error I screenshotted over and over again. @tzarebczan reopen the issue please, I might not be able to reply everyday, but I definitely will.
tzarebczan commented 2017-07-18 17:32:12 +02:00 (Migrated from github.com)

That one we've definitely seen before but cannot reproduce consistently. This means the lbry-daemon file has disappeared from the program files directory. We aren't sure what is removing it yet, possibly some Anti-virus software or windows itself. I've noticed its happened to me when my PC shut down unexpectedly. A reinstall fixes the problem.

Right now, we still don't have enough here to go and debug... A developer wouldn't be able to fix it without reproducing consistently.

Can you try reinstalling now and follow the steps I laid out earlier in terms of checking if any lbry* processes are running? We are aware of some issues that cause the daemon to hang, which we are still investigating.

That one we've definitely seen before but cannot reproduce consistently. This means the lbry-daemon file has disappeared from the program files directory. We aren't sure what is removing it yet, possibly some Anti-virus software or windows itself. I've noticed its happened to me when my PC shut down unexpectedly. A reinstall fixes the problem. Right now, we still don't have enough here to go and debug... A developer wouldn't be able to fix it without reproducing consistently. Can you try reinstalling now and follow the steps I laid out earlier in terms of checking if any lbry* processes are running? We are aware of some issues that cause the daemon to hang, which we are still investigating.
olokos commented 2017-07-18 22:18:23 +02:00 (Migrated from github.com)

Well, I just uninstalled LBRY, installed it back again and it seems to autostart right after I install it, it takes quite a while after start now just saying Connecting. Seems to be stuck there. I'm a developer myself so if you need me to perform some advanced steps - let me know and I'll most likely do that.

After what I just described I had 2x LBRY.exe and 2x lbry-deamon.exe processes running. Killing LBRY.exe still left lbry-deamon.exe running

Well, I just uninstalled LBRY, installed it back again and it seems to autostart right after I install it, it takes quite a while after start now just saying Connecting. Seems to be stuck there. I'm a developer myself so if you need me to perform some advanced steps - let me know and I'll most likely do that. After what I just described I had 2x LBRY.exe and 2x lbry-deamon.exe processes running. Killing LBRY.exe still left lbry-deamon.exe running
tzarebczan commented 2017-07-19 10:18:39 +02:00 (Migrated from github.com)

Having 2x LBRY.exe and daemon processes is normal. Can you send us the log files (https://lbry.io/faq/how-to-find-lbry-log-file) so we can further help troubleshoot? I've been using LBRY on Windows 10 for a couple months now and have not seen this issue, nor has it been reported by anyone else. I'm thinking it has something to do with your local setup - possible port/firewall or permissions related. Thanks for helping us troubleshoot!

Having 2x LBRY.exe and daemon processes is normal. Can you send us the log files (https://lbry.io/faq/how-to-find-lbry-log-file) so we can further help troubleshoot? I've been using LBRY on Windows 10 for a couple months now and have not seen this issue, nor has it been reported by anyone else. I'm thinking it has something to do with your local setup - possible port/firewall or permissions related. Thanks for helping us troubleshoot!
olokos commented 2017-07-19 17:47:40 +02:00 (Migrated from github.com)

https://pastebin.com/4eY9TCmV

There's not too many issues with my firewall and ports that I'm aware of. I am running some servers on my PC from time to time, so they're mostly opened when required, but if you see a problem here then let me know and I'll switch to DMZ on router and open up my firewall entirely

BTW. The issue still exists and it remains closed, not sure if that's on purpose.

https://pastebin.com/4eY9TCmV There's not too many issues with my firewall and ports that I'm aware of. I am running some servers on my PC from time to time, so they're mostly opened when required, but if you see a problem here then let me know and I'll switch to DMZ on router and open up my firewall entirely BTW. The issue still exists and it remains closed, not sure if that's on purpose.
tzarebczan commented 2017-07-21 18:55:24 +02:00 (Migrated from github.com)

It remains closed because it's not something a developer can look into without someone being able to reproduce it effectively on our end.

From your last log, we are able to get some additional info:
lbrynet.core.utils:101: Failed to connect to lbry.io:80. Maybe the internet connection is not working

Looks like your PC/internet is not getting a connection to lbry.io - maybe something blocking it on your end? I haven't seen this message or complaint before. When this happens, can you try going to lbry.io on your browser?

It remains closed because it's not something a developer can look into without someone being able to reproduce it effectively on our end. From your last log, we are able to get some additional info: lbrynet.core.utils:101: Failed to connect to lbry.io:80. Maybe the internet connection is not working Looks like your PC/internet is not getting a connection to lbry.io - maybe something blocking it on your end? I haven't seen this message or complaint before. When this happens, can you try going to lbry.io on your browser?
olokos commented 2017-07-23 05:02:30 +02:00 (Migrated from github.com)

It's a major issue preventing to use LBRY entirely and most users just couldn't care less if the application that they try to use doesn't even start and just forget about it forever, they don't even bother to report it.

It's a windows application so there's tons of variables and different things which don't neccesairly have to be reproducible by everybody, especially with so small developer base, but will prevent 20% people from using it, which can stop LBRY growth in the long run. It might just be an issue connected with Bitdefender antivirus for example and it will prevent each Bitdefender user from using it. It's just an example to explain this scenario better.

I've never had any issues with lbry.io. Pinging it is also working perfectly.

I've tried disabling both Bitdefender's and Windows Firewall, it worked, after turning it back on, force closing LBRY it still keeps working, so it's either Windows or Bitdefender firewall.

At first glance solution would be quite simple, create a new windows firewall rule opening LBRY ports.

It's a major issue preventing to use LBRY entirely and most users just couldn't care less if the application that they try to use doesn't even start and just forget about it forever, they don't even bother to report it. It's a windows application so there's tons of variables and different things which don't neccesairly have to be reproducible by everybody, especially with so small developer base, but will prevent 20% people from using it, which can stop LBRY growth in the long run. It might just be an issue connected with Bitdefender antivirus for example and it will prevent each Bitdefender user from using it. It's just an example to explain this scenario better. I've never had any issues with lbry.io. Pinging it is also working perfectly. I've tried disabling both Bitdefender's and Windows Firewall, it worked, after turning it back on, force closing LBRY it still keeps working, so it's either Windows or Bitdefender firewall. At first glance solution would be quite simple, create a new windows firewall rule opening LBRY ports.
tzarebczan commented 2017-07-23 05:45:35 +02:00 (Migrated from github.com)

Upon installation, lbry does ask for firewall permissions. So it was probably related to Bitdefender.

I'll make sure this is part of the troubleshooting guide. Thanks! Come over to slack.lbry.io and I'll tip you for your efforts and testing!

Upon installation, lbry does ask for firewall permissions. So it was probably related to Bitdefender. I'll make sure this is part of the troubleshooting guide. Thanks! Come over to slack.lbry.io and I'll tip you for your efforts and testing!
olokos commented 2017-07-23 05:50:11 +02:00 (Migrated from github.com)

Didn't ask me at all for that or at least not explicitly. Pay close attention to both windows firewall and bitdefender.

Didn't ask me at all for that or at least not explicitly. Pay close attention to both windows firewall and bitdefender.
olokos commented 2017-07-23 05:52:36 +02:00 (Migrated from github.com)

I'm olokos on slack, I've made messages to #help #tech and #general

I'm olokos on slack, I've made messages to #help #tech and #general
tzarebczan commented 2017-07-24 16:52:06 +02:00 (Migrated from github.com)

Thanks! I think we sorted the startup issues!

Thanks! I think we sorted the startup issues!
olokos commented 2017-07-25 03:41:16 +02:00 (Migrated from github.com)

You're welcome. I'm looking forward to next update. :)

You're welcome. I'm looking forward to next update. :)
tzarebczan commented 2017-09-11 15:52:42 +02:00 (Migrated from github.com)

This still occurs from time to time when LBRY processes do not shut down properly and LBRY is launched again.

This still occurs from time to time when LBRY processes do not shut down properly and LBRY is launched again.
kauffj commented 2017-09-12 15:37:36 +02:00 (Migrated from github.com)

@tzarebczan when you say "this occurs" - do you mean the daemon disappearing? I am not 100% clear on the issue. Can you re-open this as a summary of what we know if there's something that needs to be fixed here, even if we don't understand it fully?

@tzarebczan when you say "this occurs" - do you mean the daemon disappearing? I am not 100% clear on the issue. Can you re-open this as a summary of what we know if there's something that needs to be fixed here, even if we don't understand it fully?
kauffj commented 2017-09-12 15:38:20 +02:00 (Migrated from github.com)

Nm, I see you did re-open this. Can you edit the original issue to be a summary of the problem and what's known?

Nm, I see you did re-open this. Can you edit the original issue to be a summary of the problem and what's known?
tzarebczan commented 2017-09-12 17:13:14 +02:00 (Migrated from github.com)

Will do, I'll create a new issue for it and link this one.

Will do, I'll create a new issue for it and link this one.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-desktop#353
No description provided.