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

Issue with connecting to DB #2

Open
ceased-ebc opened this issue Jul 24, 2017 · 8 comments
Open

Issue with connecting to DB #2

ceased-ebc opened this issue Jul 24, 2017 · 8 comments

Comments

@ceased-ebc
Copy link

File "/usr/lib/python2.7/site-packages/pony/orm/dbapiprovider.py", line 53, in wrap_dbapi_exceptions
except dbapi_module.OperationalError as e: raise OperationalError(e)
pony.orm.dbapiprovider.OperationalError: (1045, u"Access denied for user 'xxxx' at 'ip_address' (using password: YES)")

Please advise as can not work out where this is coming from

@ceased-ebc
Copy link
Author

basically its saying that access not allow for xxx user from xxxx ip address .. it shows same error for local host too

even the command line connection is working correctly for both localhost and RDS .. it is the script that is failing

@ceased-ebc
Copy link
Author

@dirtyfilthy would you mind checking? / advising?

@rkshinde
Copy link

We are also getting below error if the init scripts moved under torscraper folder and run the cron script /home/scraper/torscraper/scripts/harvest.sh manually.

File "/home/scraper/torscraper/spiders/tor_scrapy.py", line 7, in
from tor_db import *
ImportError: No module named tor_db

@ceased-ebc
Copy link
Author

:( @dirtyfilthy please advise

@ceased-ebc
Copy link
Author

Erm... hello?

@harlyh
Copy link

harlyh commented Aug 13, 2017

What do you mean by no module?
[https://github.com/dirtyfilthy/freshonions-torscraper/tree/master/lib/tor_db]

@L3houx
Copy link

L3houx commented Feb 22, 2018

@rkshinde it's because you're not in your virtual env.

@NA-Proiv, what database are you using? Can I see your database config in (torscrap../etc/databse)?

@L3houx
Copy link

L3houx commented Feb 23, 2018

This is an updated readme file. It can help you : https://github.com/GoSecure/freshonions-torscraper/blob/update-readme/README.md

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

5 participants
@ceased-ebc @rkshinde @harlyh @L3houx and others