I encountered the problem of program execution freezing while calling the run method of pyrogram library. This is the first time I've encountered something like this, no errors, no hints about what is needed.
Configuration: ubuntu 18.04.6; Python3.10.13 installed from source; Server rebooted after python installation; Pyrogram library latest version; TgCrypto also installed; Python has internet access (sends requests through queries normally).
On the local machine it works fine, but on the server it doesn't. Help solve the problem, who has encountered similar problems, because I've already run out of ideas. Preferably without rebooting the server, but if it is necessary, then write about it.
Installed different versions of python from 3.10 to 3.11.4. I expected the run method to work fine or give any errors, but the problem remains the same, run hangs, no logs, no login data requested.
Tried updating ubuntu packages, but that didn't help either.