Comments (4)
I suspect your installed version of phantomjs is not executing successfully. On the server console, try running phantomjs. Try: phantomjs --version
Also, you can execute what this package executes. In order to do so, you'd need to find the phantom_script.js file.
PHANTOM_SCRIPT=$(find /opt/YOUR_WEB_APP/app/ -name phantom_script.js)
echo ${PHANTOM_SCRIPT}
phantomjs --load-images=no --ssl-protocol=TLSv1 --ignore-ssl-errors=true --web-security=false ${PHANTOM_SCRIPT} http://localhost
You can also adjust URL and such. We use nginx proxy, so I tested by hitting the Meteor port, like http://localhost:8888. I also tested my public live URL, which returned the same content.
Best tests would be against the native Meteor URL, to eliminate proxy issues.
Also, if you get no response, make sure phantomjs exit code is 0
phantomjs ...
echo $?
# Should be 0. Any other number is an error.
from jazeee-meteor-spiderable.
I'm using mupx, which configures phantom inside of a Docker.
In the mean time, I have falled back to ongoworks:spiderable
from jazeee-meteor-spiderable.
This has been resolved, but I'm not sure what happened.
So, it turns out that I did some tweaking of the firewall that morning and locked access for the production server to the world. Once I fixed firewall, things started to work again.
Weird?
from jazeee-meteor-spiderable.
It is possible that PhantomJS was attempting to hit your public IP address. Still, I would have expected all spiderable systems to have failed...
In any case, glad it is resolved.
from jazeee-meteor-spiderable.
Related Issues (20)
- Rendering works on undefined routes, but not on defined HOT 2
- Template-level subscriptions HOT 5
- question? HOT 6
- Spiderable.ignoredRoutes is only available in server code HOT 4
- Multitenant and subdomains : Use request header hostname instead of Meteor.absoluteUrl() HOT 4
- PhantomJS failed HOT 10
- Error executing PhantomJS on Heroku HOT 7
- Meteor 1.4 + React: 204 No content HOT 14
- Spiderable + 301 Redirect HOT 2
- Possible problems with Meteor.isReadyForSpiderable HOT 7
- Spiderable and json-ld HOT 7
- Transfer ownership of repository HOT 18
- Crashing on angular-meteor HOT 11
- Allow a custom buffer to be set HOT 1
- question: Get lots of : select: Invalid argument HOT 77
- use chrome or firefox headless instead of phantomjs HOT 1
- Spiderable.ignoredRoutes not working HOT 4
- Showing Iron:Router's message on my homepage HOT 9
- [Suggestion] ES6 Support for Iron:router HOT 1
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 jazeee-meteor-spiderable.