Hello, guys! I am trying to host small bot for personal usage. I am using pyrogram for this. It works perfectly when I run it in my IDE, but when I try to run it in bash I keep receiving:
INFO:pyrogram.session.auth:Start creating a new auth key on DC2
INFO:pyrogram.connection.connection:Connecting...
WARNING:pyrogram.connection.connection:Unable to connect due to network issues: [Errno 111] Connect call failed ('149.154.167.51', 443)
INFO:pyrogram.connection.connection:Connecting...
WARNING:pyrogram.connection.connection:Unable to connect due to network issues: [Errno 111] Connect call failed ('149.154.167.51', 443)
INFO:pyrogram.connection.connection:Connecting...
WARNING:pyrogram.connection.connection:Unable to connect due to network issues: [Errno 111] Connect call failed ('149.154.167.51', 443)
WARNING:pyrogram.connection.connection:Connection failed! Trying again...
INFO:pyrogram.session.auth:Retrying due to ConnectionError:
INFO:pyrogram.connection.connection:Disconnected
How to fix this connection problem? Thank you in advance!