Page 1 of 1

MikroBasic Libstock Manager erratic behavior

Posted: 26 May 2018 21:18
by Andrewz
Hello!
Is it possible to disable Libstock Manager functionality in latest MikroBasic Compilers?
Since it was integrated, the speed for opening and closing of a compiler significantly degraded. It seems like program waits for Libstock Manager connection to internet services complete.
If there is no internet connection, compilers refuse to start! It hangs on "Initializing" string. Sometimes it starts within several minutes. If the internet connection is available,
compiler starts relatively fast, but if you close it immediately after start, the program stays active in task manager for approx 20 seconds waiting for Libstock Manager to connect.
That is very annoying if you are switching between several projects fast!
This behavior is tested on several computers running Windows 7 64-bit Professional OS.

Re: MikroBasic Libstock Manager erratic behavior

Posted: 28 May 2018 16:01
by filip
Hi,

I apologize for the inconvenience, I have tried this on my PC (Windows 7 64-bit) with and without internet connection
and I didn't observe any time difference in the compiler's loading, yet alone the refusal to start up.

I will test this on other computers to see if I can reproduce this issue.

Regards,
Filip.

Re: MikroBasic Libstock Manager erratic behavior

Posted: 28 May 2018 16:11
by Andrewz
Hello. I'm using MikroBasic PRO for dsPIC version 7.1.0 - the latest one. When i disable any network activity for MikroBasic in windows firewall it hangs for about 3 minutes with message string "Initializing...". The same is for MikroBasic PRO for PIC version 7.2.0.

Re: MikroBasic Libstock Manager erratic behavior

Posted: 28 May 2018 16:47
by Andrewz
Anyway.. New versions of Mikroe Compilers with Libstock Manager actively uses internet connection during start process. It seems like some process waits for server reply and blocks starting of a programm. It can be seen in Process Explorer. Older version 7.0.1 starts much faster and it doesent matter if there is internet connection or not! Than issue should be addressed immediately!

Re: MikroBasic Libstock Manager erratic behavior

Posted: 29 May 2018 14:53
by filip
Hi,

Please, can you attach the screenshot of this issue or even better some short video ?

Regards,
Filip.

Re: MikroBasic Libstock Manager erratic behavior

Posted: 29 May 2018 15:41
by Andrewz
Shure!

Re: MikroBasic Libstock Manager erratic behavior

Posted: 31 May 2018 10:25
by Andrewz
Hello. Is there any progress on this issue?

Re: MikroBasic Libstock Manager erratic behavior

Posted: 31 May 2018 15:52
by Andrewz
OK. This issue occures:
1. If LAN is connected but there is no access to internet.
2. If LAN is connected but network activity for MikroBasic is disabled by firewall rules.

If LAN is disconnected, compiler starts always normally!

I think that MikroBasic detects that threre is network connection is available but it cant get data because of firewall rules or missign internet connection.
It waits for some minutes for response hanging in "initialization". You should consider to exclude any network activity dependence during program lifecycle.
Any waitings for internet connection should be used only for internet dependent services in MikroBasic but not for rest of a compiler!

Re: MikroBasic Libstock Manager erratic behavior

Posted: 04 Jun 2018 08:46
by filip
Hi,

So, when the LAN cable is connected but the internet access is disabled from the Control Panel, the issue exists ?

I have tried every combination on my PC but couldn't reproduce this.

Regards,
Filip.

Re: MikroBasic Libstock Manager erratic behavior

Posted: 04 Jun 2018 10:40
by Andrewz
Hello. What do you mean "disabled from the Control Panel"? If you disable network connection from Control Panel everything works fine! But if computer connected to LAN and internet cable is unplugged from the router this issue exists. If computer can work within LAN which is not connected to internet this issue occurres. Simply disable any MikroBasic network activity in windows firewall rules and you will see this issue (computer must be connected to LAN).

Re: MikroBasic Libstock Manager erratic behavior

Posted: 04 Jun 2018 10:47
by Andrewz
This issue additionally tested on Windows 8.1 PRO and Windows 10 PRO.

Re: MikroBasic Libstock Manager erratic behavior

Posted: 06 Jun 2018 15:55
by filip
Hi,

I will try this on different PCs and let you know.

Regards,
Filip.

Re: MikroBasic Libstock Manager erratic behavior

Posted: 20 Jun 2018 12:23
by Andrewz
Hello. Is there any progress? Have you reproduced this issue?

Re: MikroBasic Libstock Manager erratic behavior

Posted: 22 Jun 2018 09:09
by filip
Hi,

Unfortunately, even on 10+ PCs in my office I could not reproduce it.

Regards,
Filip.

Re: MikroBasic Libstock Manager erratic behavior

Posted: 21 Aug 2018 11:31
by arco
Even with a good internet connection startup is horribly slow (10...15 seconds)
Please add option to disable this. (I think most don't use it anyway)