Jump to content

Console Error

Closed 1.0.5 1.0.5

dustyhansen
dustyhansen

Posted

I noticed the bot was no longer syncing and saw this in the console a few times and it looked like it crashed.

Failed to connect to SFTP server: can't start new thread
Error during sync: can't start new thread
Waiting for 120 seconds before the next sync
Starting periodic sync
Loading configuration files from directory: config
Loading configuration file: config/dev.yml
Loading configuration file: config/staging.yml
Loaded 2 configurations
Unknown exception: can't start new thread
Traceback (most recent call last):
  File "/home/container/.local/lib/python3.10/site-packages/paramiko/transport.py", line 2151, in run
    self.packetizer.start_handshake(self.handshake_timeout)
  File "/home/container/.local/lib/python3.10/site-packages/paramiko/packet.py", line 259, in start_handshake
    self.__timer.start()
  File "/usr/local/lib/python3.10/threading.py", line 935, in start
    _start_new_thread(self._bootstrap, ())
RuntimeError: can't start new thread

 

SiCkNeSs

Posted

3 hours ago, dustyhansen said:

I noticed the bot was no longer syncing and saw this in the console a few times and it looked like it crashed.

Failed to connect to SFTP server: can't start new thread
Error during sync: can't start new thread
Waiting for 120 seconds before the next sync
Starting periodic sync
Loading configuration files from directory: config
Loading configuration file: config/dev.yml
Loading configuration file: config/staging.yml
Loaded 2 configurations
Unknown exception: can't start new thread
Traceback (most recent call last):
  File "/home/container/.local/lib/python3.10/site-packages/paramiko/transport.py", line 2151, in run
    self.packetizer.start_handshake(self.handshake_timeout)
  File "/home/container/.local/lib/python3.10/site-packages/paramiko/packet.py", line 259, in start_handshake
    self.__timer.start()
  File "/usr/local/lib/python3.10/threading.py", line 935, in start
    _start_new_thread(self._bootstrap, ())
RuntimeError: can't start new thread

 

Yeah this is an issue with paramiko (the library that handles the file transfers) not always properly closing connections. I recommend setting the syncing server to restart daily if younare having this issue.

 

Still trying to see if i can implement a fix for it. But its an underlaying issue with paramiko itself

  • Like 1
SiCkNeSs

Posted

Changed Status from Pending to Closed

Changed Fixed In to 1.0.5

1.7m

Downloads

Total number of downloads.

7.9k

Customers

Total customers served.

119.5k

Files Sold

Total number of files sold.

2.4m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.