0% found this document useful (0 votes)
60 views2 pages

Arohimusic Logs 1646750912943

The log file shows an error occurring when initializing a MongoDB client using a URI. The error indicates that the username and password in the URI are not properly escaped according to RFC 3986, and need to be escaped using urllib.parse.quote_plus() for a valid URI. As a result, the process exited with a non-zero status code and was crashed.

Uploaded by

akjhloki878909
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
60 views2 pages

Arohimusic Logs 1646750912943

The log file shows an error occurring when initializing a MongoDB client using a URI. The error indicates that the username and password in the URI are not properly escaped according to RFC 3986, and need to be escaped using urllib.parse.quote_plus() for a valid URI. As a result, the process exited with a non-zero status code and was crashed.

Uploaded by

akjhloki878909
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

2022-03-08T14:45:54.413923+00:00 app[worker.

1]: File
"/usr/local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 670, in
__init__
2022-03-08T14:45:54.414146+00:00 app[worker.1]: res = uri_parser.parse_uri(
2022-03-08T14:45:54.414153+00:00 app[worker.1]: File
"/usr/local/lib/python3.10/site-packages/pymongo/uri_parser.py", line 494, in
parse_uri
2022-03-08T14:45:54.414323+00:00 app[worker.1]: user, passwd =
parse_userinfo(userinfo)
2022-03-08T14:45:54.414325+00:00 app[worker.1]: File
"/usr/local/lib/python3.10/site-packages/pymongo/uri_parser.py", line 61, in
parse_userinfo
2022-03-08T14:45:54.414386+00:00 app[worker.1]: raise InvalidURI("Username and
password must be escaped according to "
2022-03-08T14:45:54.414400+00:00 app[worker.1]: pymongo.errors.InvalidURI: Username
and password must be escaped according to RFC 3986, use urllib.parse.quote_plus().
2022-03-08T14:45:54.707825+00:00 heroku[worker.1]: Process exited with status 1
2022-03-08T14:45:55.244213+00:00 heroku[worker.1]: State changed from up to crashed
2022-03-08T14:45:55.250833+00:00 heroku[worker.1]: State changed from crashed to
starting
2022-03-08T14:46:17.127799+00:00 heroku[worker.1]: Starting process with command
`/bin/sh -c bash\ start`
2022-03-08T14:46:17.812734+00:00 heroku[worker.1]: State changed from starting to
up
2022-03-08T14:46:19.841102+00:00 heroku[worker.1]: Process exited with status 1
2022-03-08T14:46:19.490181+00:00 app[worker.1]: Traceback (most recent call last):
2022-03-08T14:46:19.490196+00:00 app[worker.1]: File
"/usr/local/lib/python3.10/runpy.py", line 187, in _run_module_as_main
2022-03-08T14:46:19.490298+00:00 app[worker.1]: mod_name, mod_spec, code =
_get_module_details(mod_name, _Error)
2022-03-08T14:46:19.490300+00:00 app[worker.1]: File
"/usr/local/lib/python3.10/runpy.py", line 146, in _get_module_details
2022-03-08T14:46:19.490399+00:00 app[worker.1]: return
_get_module_details(pkg_main_name, error)
2022-03-08T14:46:19.490401+00:00 app[worker.1]: File
"/usr/local/lib/python3.10/runpy.py", line 110, in _get_module_details
2022-03-08T14:46:19.490467+00:00 app[worker.1]: __import__(pkg_name)
2022-03-08T14:46:19.490469+00:00 app[worker.1]: File "/app/Yukki/__init__.py",
line 38, in <module>
2022-03-08T14:46:19.490532+00:00 app[worker.1]: MONGODB_CLI = Bot(mango)
2022-03-08T14:46:19.490534+00:00 app[worker.1]: File
"/usr/local/lib/python3.10/site-packages/motor/core.py", line 159, in __init__
2022-03-08T14:46:19.490613+00:00 app[worker.1]: delegate =
self.__delegate_class__(*args, **kwargs)
2022-03-08T14:46:19.490615+00:00 app[worker.1]: File
"/usr/local/lib/python3.10/site-packages/pymongo/mongo_client.py", line 670, in
__init__
2022-03-08T14:46:19.490855+00:00 app[worker.1]: res = uri_parser.parse_uri(
2022-03-08T14:46:19.490858+00:00 app[worker.1]: File
"/usr/local/lib/python3.10/site-packages/pymongo/uri_parser.py", line 494, in
parse_uri
2022-03-08T14:46:19.491051+00:00 app[worker.1]: user, passwd =
parse_userinfo(userinfo)
2022-03-08T14:46:19.491061+00:00 app[worker.1]: File
"/usr/local/lib/python3.10/site-packages/pymongo/uri_parser.py", line 61, in
parse_userinfo
2022-03-08T14:46:19.491155+00:00 app[worker.1]: raise InvalidURI("Username and
password must be escaped according to "
2022-03-08T14:46:19.491172+00:00 app[worker.1]: pymongo.errors.InvalidURI: Username
and password must be escaped according to RFC 3986, use urllib.parse.quote_plus().
2022-03-08T14:46:19.908117+00:00 heroku[worker.1]: State changed from up to crashed

You might also like