Firstly thanks for the amazing product for managing our scrapy project.
I am trying to run my spider on scrapy cloud which has a pipeline that stores the scraped items to a database which is hosted on Amazon RDS.
I am always getting the following error
(2003, "Can't connect to MySQL server on 'abcproject.foobar.ap-southeast-1.rds.amazonaws.com' (timed out)")
The same project when i run on my machine it works fine.
I want to know what why that connection is not getting through and what I can do in order to run my spiders successfully.
Thanks
Best Answer
n
nestor
said
almost 6 years ago
Checked with our platform team and we can't connect to your RDS. It can't connect from our Scrapy Cloud servers nor anywhere else. So I would suggest you revise your policy settings.
Is mysql port 3306 opened for external connections? It's likely that you've whitelisted only your IP.
r
raheel masood
said
almost 6 years ago
Hi,
No I haven't listed any IP. I have the public policy for my RDS as long as someone have my db user and password
r
raheel masood
said
almost 6 years ago
I wonder who have accepted this as a answer. This is not the white listing or port open problem
nestor
said
almost 6 years ago
I did and you can remove the answered flag if the answer does not solve your issue. I will check with our platform team if there's any issues connecting from our nodes to your server.
1 person likes this
r
raheel masood
said
almost 6 years ago
Okay Thank you so much
nestor
said
almost 6 years ago
Answer
Checked with our platform team and we can't connect to your RDS. It can't connect from our Scrapy Cloud servers nor anywhere else. So I would suggest you revise your policy settings.
r
raheel masood
said
almost 6 years ago
Which RDS your team tried to connect ?
The one in my question or the one in my code ?
Thanks
r
raheel masood
said
almost 6 years ago
Ok Got it ... I found the issue in AWS. Thanks for helping.
nestor
said
almost 6 years ago
The one in your code, but I'm glad you found the issue.
B
Billy John
said
over 5 years ago
So what was the issue and how did you fix it?
r
raheel masood
said
over 5 years ago
The inbound rules were restricted. I then allowed connections from any source to my MySQL instance.
raheel masood
Hi
Firstly thanks for the amazing product for managing our scrapy project.
I am trying to run my spider on scrapy cloud which has a pipeline that stores the scraped items to a database which is hosted on Amazon RDS.
I am always getting the following error
The same project when i run on my machine it works fine.
I want to know what why that connection is not getting through and what I can do in order to run my spiders successfully.
Thanks
Checked with our platform team and we can't connect to your RDS. It can't connect from our Scrapy Cloud servers nor anywhere else. So I would suggest you revise your policy settings.
- Oldest First
- Popular
- Newest First
Sorted by Oldest Firstnestor
Is mysql port 3306 opened for external connections? It's likely that you've whitelisted only your IP.
raheel masood
Hi,
No I haven't listed any IP. I have the public policy for my RDS as long as someone have my db user and password
raheel masood
I wonder who have accepted this as a answer. This is not the white listing or port open problem
nestor
I did and you can remove the answered flag if the answer does not solve your issue. I will check with our platform team if there's any issues connecting from our nodes to your server.
1 person likes this
raheel masood
Okay Thank you so much
nestor
Checked with our platform team and we can't connect to your RDS. It can't connect from our Scrapy Cloud servers nor anywhere else. So I would suggest you revise your policy settings.
raheel masood
Which RDS your team tried to connect ?
The one in my question or the one in my code ?
Thanks
raheel masood
Ok Got it ... I found the issue in AWS. Thanks for helping.
nestor
The one in your code, but I'm glad you found the issue.
Billy John
So what was the issue and how did you fix it?
raheel masood
The inbound rules were restricted. I then allowed connections from any source to my MySQL instance.
-
Unable to select Scrapy project in GitHub
-
ScrapyCloud can't call spider?
-
Unhandled error in Deferred
-
Item API - Filtering
-
newbie to web scraping but need data from zillow
-
ValueError: Invalid control character
-
Cancelling account
-
Best Practices
-
Beautifulsoup with ScrapingHub
-
Delete a project in ScrapingHub
See all 446 topics