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

Still experiencing issues with docker containers #17

Open
vidboda opened this issue Oct 8, 2019 · 0 comments
Open

Still experiencing issues with docker containers #17

vidboda opened this issue Oct 8, 2019 · 0 comments

Comments

@vidboda
Copy link

vidboda commented Oct 8, 2019

The issue described in VV issue 95 is still happening. I removed the containers (docker-compose down) and rebuilt and ran some tests. I sent about 100 queries to the gene2transcripts operation then the container did not answer anymore. I had a series of errors like this one before stopping the tests:

restvv_1   | [2019-10-08 15:39:34,980] DEBUG 12 [urllib3.connectionpool] connectionpool.py:437 - [a188db7cee64] - http://rest.genenames.org:80 "GET /fetch/symbol/C19orf12 HTTP/1.1" 200 None
restvv_1   | [2019-10-08 15:39:34,995] ERROR 12 [app] app.py:1891 - [a188db7cee64] - Exception on /tools/gene2transcripts/NM_001282931 [GET]
restvv_1   | Traceback (most recent call last):
restvv_1   |   File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1949, in full_dispatch_request
restvv_1   |     rv = self.dispatch_request()
restvv_1   |   File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1935, in dispatch_request
restvv_1   |     return self.view_functions[rule.endpoint](**req.view_args)
restvv_1   |   File "/usr/local/lib/python3.6/site-packages/flask_restful/__init__.py", line 458, in wrapper
restvv_1   |     resp = resource(*args, **kwargs)
restvv_1   |   File "/usr/local/lib/python3.6/site-packages/flask/views.py", line 89, in view
restvv_1   |     return self.dispatch_request(*args, **kwargs)
restvv_1   |   File "/usr/local/lib/python3.6/site-packages/flask_restful/__init__.py", line 573, in dispatch_request
restvv_1   |     resp = meth(*args, **kwargs)
restvv_1   |   File "/app/rest_variantValidator/app.py", line 183, in get
restvv_1   |     g2t = vval.gene2transcripts(gene_symbol)
restvv_1   |   File "/usr/local/lib/python3.6/site-packages/VariantValidator/modules/vvMixinCore.py", line 899, in gene2transcripts
restvv_1   |     tx_description = self.db.get_transcript_description(tx)
restvv_1   |   File "/usr/local/lib/python3.6/site-packages/VariantValidator/modules/vvDBGet.py", line 42, in get_transcript_description
restvv_1   |     return str(self.execute(query)[0])
restvv_1   |   File "/usr/local/lib/python3.6/site-packages/VariantValidator/modules/utils.py", line 18, in wrapper
restvv_1   |     self.cursor = self.conn.cursor(buffered=True)
restvv_1   |   File "/usr/local/lib/python3.6/site-packages/mysql/connector/connection.py", line 908, in cursor
restvv_1   |     raise errors.OperationalError("MySQL Connection not available.")
restvv_1   | mysql.connector.errors.OperationalError: MySQL Connection not available.
restvv_1   | [2019-10-08 15:39:35,001] DEBUG 12 [VariantValidator.modules.vvMixinCore] vvMixinCore.py:838 - [a188db7cee64] - Except passed, No transcript definition for (tx_ac=NM_031448.0)
restvv_1   | [2019-10-08 15:39:35,002] DEBUG 12 [VariantValidator.modules.vvMixinCore] vvMixinCore.py:838 - [a188db7cee64] - Except passed, No transcript definition for (tx_ac=NM_031448.1)
restvv_1   | [2019-10-08 15:39:35,003] DEBUG 12 [VariantValidator.modules.vvMixinCore] vvMixinCore.py:838 - [a188db7cee64] - Except passed, No transcript definition for (tx_ac=NM_031448.2)
restvv_1   | [2019-10-08 15:39:35,004] DEBUG 12 [VariantValidator.modules.vvMixinCore] vvMixinCore.py:838 - [a188db7cee64] - Except passed, No transcript definition for (tx_ac=NM_031448.3)
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