Comments (7)
Hey @adipasquale, please check what network interfaces are available in heroku container. By default scrapyrt binds on localhost, which isn't necessary routed outside of container.
from scrapyrt.
@adipasquale try
scrapyrt -i 0.0.0.0 -p $PORT
from scrapyrt.
it works great ! thank you
do you think it'd be interesting to add a "deploy to heroku" section to the readme ? or a wiki page ?
FYI, the other tricky steps were to use a bin/post_compile
script to download and install scrapyrt
from the source and to add cffi==1.5.0
to the requirements.txt (the pip install of scrapy fails otherwise)
from scrapyrt.
@adipasquale , if you could start a Wiki page for this, that would be great! Thanks.
We can see where to put it afterwards (README may need to become docs, IMO)
from scrapyrt.
I would expect the same issue with binding in Docker containers too.
from scrapyrt.
@sibiryakov yes I encountered the same issue working with Docker. Thanks for your answers it solved my problem.
from scrapyrt.
this still fails
from scrapyrt.
Related Issues (20)
- Use another reactor instead of default `EPollReactor` HOT 1
- Use another reactor instead of default `EPollReactor` HOT 4
- scrapyrt becomes unresponsive
- document deployment
- Concurrent scrapyrt requests HOT 1
- SyntaxError: invalid syntax... msg += f' {str(e)}'^ after upgrading to latest Node.js HOT 1
- No easy way to disable logs to file?
- Cancel request and yield item in modify_realtime_request? HOT 1
- Is it alive? HOT 3
- can scrapyrt be used to schedule scrapes? HOT 1
- Saving scraped items in a feed HOT 1
- scrapyrt does not work with scrapy-2.10.0 HOT 6
- Any requests for things to be included in a new release?
- Scarpyrt error when runing with callback HOT 1
- Breaks with Scrapy 2.11 HOT 4
- crawspider in scrapyrt HOT 2
- ScrapyRT Port Unreachable in Kubernetes Docker Container Pod HOT 1
- How to host my scrapy project which uses scrapyRT ? HOT 1
- How to change default ip from localhost to 0.0.0.0
- Unable to override settings file HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scrapyrt.