[Win] [NB] Bot hangs until I resize the console window

PhantomBot Version: 3.1.2 NB 20200418
OS Version: Win10
Java Version: SE 14.0.1
Stock PhantomBot: Yes

Phantombot, once started in Windows, sometimes hangs completely until I resize or move the console window, then it fires all the commands or tasks that have not been working in one go.

1 Like

Same issue here. Confirmed.

Works for a period (might be one or two days and not every time), then suddenly hangs until ā€˜interactionā€™ with the window.

Might have something to do with this:

[04-22-2020 @ 10:26:37.993 CEST] [ERROR] [updateCache()@TwitchCache.java:299] TwitchCache::updateCache:
[04-22-2020 @ 10:27:15.122 CEST] [ERROR] [updateCache()@TwitchCache.java:299] TwitchCache::updateCache:
[04-22-2020 @ 10:28:23.099 CEST] [ERROR] [updateCache()@TwitchCache.java:299] TwitchCache::updateCache:
[04-23-2020 @ 11:30:55.281 CEST] Lost connection to Twitch WS-IRC. Reconnectingā€¦
[04-23-2020 @ 11:30:56.882 CEST] Lost connection to Twitch WS-IRC. Reconnectingā€¦
[04-23-2020 @ 11:30:56.884 CEST] Delaying next connection attempt to prevent spam, 2 secondsā€¦
[04-23-2020 @ 11:30:58.885 CEST] Lost connection to Twitch WS-IRC. Reconnectingā€¦
[04-23-2020 @ 11:30:58.887 CEST] Delaying next connection attempt to prevent spam, 4 secondsā€¦
[04-23-2020 @ 11:31:02.887 CEST] Lost connection to Twitch WS-IRC. Reconnectingā€¦
[04-23-2020 @ 11:31:02.888 CEST] Delaying next connection attempt to prevent spam, 8 secondsā€¦
[04-23-2020 @ 11:31:21.939 CEST] Lost connection to Twitch WS-IRC. Reconnectingā€¦
[04-23-2020 @ 11:31:21.941 CEST] Delaying next connection attempt to prevent spam, 16 secondsā€¦
[04-23-2020 @ 11:31:48.502 CEST] Lost connection to Twitch WS-IRC. Reconnectingā€¦
[04-23-2020 @ 11:31:48.504 CEST] Delaying next connection attempt to prevent spam, 32 secondsā€¦
[04-23-2020 @ 11:32:31.542 CEST] Lost connection to Twitch WS-IRC. Reconnectingā€¦
[04-23-2020 @ 11:32:31.544 CEST] Delaying next connection attempt to prevent spam, 64 secondsā€¦
[04-23-2020 @ 11:34:12.572 CEST] Lost connection to Twitch WS-IRC. Reconnectingā€¦

Edited: From here, the bot recognize data from IRC, but no response from the bot - And sometimes its completely dead.

NB-20200415
WIN10

1 Like

This is a side effect of the way Windows Command Prompt works. If you accidentally perform interaction with the main window (such as highlighting something), Windows will pause execution until you clear off all of the pause-inducing interactions

Edited: Same issue in older versions, seems to have something to do with reconnection.

Typing ā€˜reconnectā€™ in console and its back online.

Tested latest NB (20200425) on 6 bots and tried to disconnect internet, forcing them to try to reconenct.

After 5 mins of disconnection and back online: 4 of them managed to reconnect, the last 2 was stuck somewhere in the reconnect-process in different stages.

My workaround right now, is to give each bot a console-ā€˜reconnectā€™-command every 20 mins.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.