Hi!

I'm trying to deploy my first scrapy project using scrapyd on a Ubuntu 
16.04. There are dependency problems so I read the best way is by using pip 
install scrapyd and pip install scrapyd-client. It's what I did. Also I had 
the same issue as here 
<http://log.widnyana.web.id/2016/01/scrapy-module-scrapyd-webservice-doesnt-define-any-object-named-daemonstatus.txt>
 so 
I get the latest code from the github repo.

When I run scrapyd on local I can go to http://127.0.0.1:6800/ and see 
everything worked. When I do the same thing on my ubuntu server I get "This 
site can’t be reached -IP- took too long to respond." I don't have any 
firewall enable nor .htaccess. 

When I do scrapyd-deploy tre -p m_scrapy I have:
Packing version 1487245766
Deploying to project "m_scrapy" in http://IP:6800/addversion.json
Deploy failed: <urlopen error [Errno 60] Operation timed out>

Also I have this weird thing:
scrapy deploy -l

Scrapy 1.1.2 - project: m_scrapy
Unknown command: deploy
Use "scrapy" to see available commands


netstat -plunt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State   
    PID/Program name
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN 
     22483/mysqld
tcp        0      0 0.0.0.0:6800            0.0.0.0:*               LISTEN 
     28855/python
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN 
     1774/sshd
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN 
     1893/master
tcp6       0      0 :::80                   :::*                    LISTEN 
     23443/apache2
tcp6       0      0 :::22                   :::*                    LISTEN 
     1774/sshd
tcp6       0      0 :::25                   :::*                    LISTEN 
     1893/master

Scrapy.cfg

[settings]
default = m_scrapy.settings

[deploy:local]
url = http://localhost:6800/
project = m_scrapy

[deploy:tre]
url = http://IP:6800/
project = m_scrapy

What did I miss? 

Thanks!



-- 
You received this message because you are subscribed to the Google Groups 
"scrapy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to scrapy-users+unsubscr...@googlegroups.com.
To post to this group, send email to scrapy-users@googlegroups.com.
Visit this group at https://groups.google.com/group/scrapy-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to