Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting errors in the deployement , using koyeb for deployment. #1

Open
nandukv-nrr opened this issue Apr 27, 2024 · 0 comments
Open

Comments

@nandukv-nrr
Copy link

In the diployment getting error, how can i fix it?
Instance created. Preparing to start...
Instance is starting. Propagating network configuration...
Network configuration propagated
Application exited with code 1. This usually indicates an application failure. Check that the command used to launch your application is correct.
/app/.heroku/python/lib/python3.10/site-packages/imdb/utils.py:990: SyntaxWarning: "is" with a literal. Did you mean "=="?
if beginTag is "":
Traceback (most recent call last):
File "/workspace/bot.py", line 25, in
from database.ia_filterdb import Media
File "/workspace/database/ia_filterdb.py", line 11, in
from utils import get_settings, save_group_settings
File "/workspace/utils.py", line 18, in
from database.users_chats_db import db
File "/workspace/database/users_chats_db.py", line 221, in
db = Database(DATABASE_URI, DATABASE_NAME)
File "/workspace/database/users_chats_db.py", line 10, in init
self._client = motor.motor_asyncio.AsyncIOMotorClient(uri)
File "/app/.heroku/python/lib/python3.10/site-packages/motor/core.py", line 159, in init
delegate = self.delegate_class(*args, **kwargs)
File "/app/.heroku/python/lib/python3.10/site-packages/pymongo/mongo_client.py", line 670, in init
res = uri_parser.parse_uri(
File "/app/.heroku/python/lib/python3.10/site-packages/pymongo/uri_parser.py", line 523, in parse_uri
dns_resolver = _SrvResolver(fqdn, connect_timeout=connect_timeout)
File "/app/.heroku/python/lib/python3.10/site-packages/pymongo/srv_resolver.py", line 69, in init
raise ConfigurationError(_INVALID_HOST_MSG % (fqdn,))
pymongo.errors.ConfigurationError: Invalid URI host: vuzz4418 is not a valid hostname for 'mongodb+srv://'. Did you mean to use 'mongodb://'?
/app/.heroku/python/lib/python3.10/site-packages/imdb/utils.py:990: SyntaxWarning: "is" with a literal. Did you mean "=="?
if beginTag is "":
Traceback (most recent call last):
File "/workspace/bot.py", line 25, in
from database.ia_filterdb import Media
File "/workspace/database/ia_filterdb.py", line 11, in
from utils import get_settings, save_group_settings
File "/workspace/utils.py", line 18, in
from database.users_chats_db import db
File "/workspace/database/users_chats_db.py", line 221, in
db = Database(DATABASE_URI, DATABASE_NAME)
File "/workspace/database/users_chats_db.py", line 10, in init
self._client = motor.motor_asyncio.AsyncIOMotorClient(uri)
File "/app/.heroku/python/lib/python3.10/site-packages/motor/core.py", line 159, in init
delegate = self.delegate_class(*args, **kwargs)
File "/app/.heroku/python/lib/python3.10/site-packages/pymongo/mongo_client.py", line 670, in init
res = uri_parser.parse_uri(
File "/app/.heroku/python/lib/python3.10/site-packages/pymongo/uri_parser.py", line 523, in parse_uri
dns_resolver = _SrvResolver(fqdn, connect_timeout=connect_timeout)
File "/app/.heroku/python/lib/python3.10/site-packages/pymongo/srv_resolver.py", line 69, in init
raise ConfigurationError(_INVALID_HOST_MSG % (fqdn,))
pymongo.errors.ConfigurationError: Invalid URI host: vuzz4418 is not a valid hostname for 'mongodb+srv://'. Did you mean to use 'mongodb://'?
Application exited with code 1. This usually indicates an application failure. Check that the command used to launch your application is correct.
Instance stopped
Instance created. Preparing to start...
Instance is starting. Propagating network configuration...
Network configuration propagated
/app/.heroku/python/lib/python3.10/site-packages/imdb/utils.py:990: SyntaxWarning: "is" with a literal. Did you mean "=="?
if beginTag is "":
Traceback (most recent call last):
File "/workspace/bot.py", line 25, in
from database.ia_filterdb import Media
File "/workspace/database/ia_filterdb.py", line 11, in
from utils import get_settings, save_group_settings
File "/workspace/utils.py", line 18, in
from database.users_chats_db import db
File "/workspace/database/users_chats_db.py", line 221, in
db = Database(DATABASE_URI, DATABASE_NAME)
delegate = self.delegate_class(*args, **kwargs)
File "/app/.heroku/python/lib/python3.10/site-packages/pymongo/mongo_client.py", line 670, in init
res = uri_parser.parse_uri(
File "/app/.heroku/python/lib/python3.10/site-packages/pymongo/uri_parser.py", line 523, in parse_uri
dns_resolver = _SrvResolver(fqdn, connect_timeout=connect_timeout)
File "/app/.heroku/python/lib/python3.10/site-packages/pymongo/srv_resolver.py", line 69, in init
raise ConfigurationError(_INVALID_HOST_MSG % (fqdn,))
pymongo.errors.ConfigurationError: Invalid URI host: vuzz4418 is not a valid hostname for 'mongodb+srv://'. Did you mean to use 'mongodb://'?
Application exited with code 1. This usually indicates an application failure. Check that the command used to launch your application is correct.
/app/.heroku/python/lib/python3.10/site-packages/imdb/utils.py:990: SyntaxWarning: "is" with a literal. Did you mean "=="?
if beginTag is "":
Traceback (most recent call last):
File "/workspace/bot.py", line 25, in
from database.ia_filterdb import Media
File "/workspace/database/ia_filterdb.py", line 11, in
from utils import get_settings, save_group_settings
File "/workspace/utils.py", line 18, in
from database.users_chats_db import db
File "/workspace/database/users_chats_db.py", line 221, in
db = Database(DATABASE_URI, DATABASE_NAME)
File "/workspace/database/users_chats_db.py", line 10, in init
self._client = motor.motor_asyncio.AsyncIOMotorClient(uri)
File "/app/.heroku/python/lib/python3.10/site-packages/motor/core.py", line 159, in init
delegate = self.delegate_class(*args, **kwargs)
File "/app/.heroku/python/lib/python3.10/site-packages/pymongo/mongo_client.py", line 670, in init
res = uri_parser.parse_uri(
File "/app/.heroku/python/lib/python3.10/site-packages/pymongo/uri_parser.py", line 523, in parse_uri
dns_resolver = _SrvResolver(fqdn, connect_timeout=connect_timeout)
File "/app/.heroku/python/lib/python3.10/site-packages/pymongo/srv_resolver.py", line 69, in init
raise ConfigurationError(_INVALID_HOST_MSG % (fqdn,))
pymongo.errors.ConfigurationError: Invalid URI host: vuzz4418 is not a valid hostname for 'mongodb+srv://'. Did you mean to use 'mongodb://'?
Application exited with code 1. This usually indicates an application failure. Check that the command used to launch your application is correct.
Instance stopped

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant