SwellRT / swellrt

SwellRT main project. Server, JavaScript and Java clients
http://swellrt.org/
Apache License 2.0
234 stars 34 forks source link

SwellRT does not work with phantomjs #156

Closed atd closed 8 years ago

atd commented 8 years ago

This is the output of the console:

image

Steps to reproduce

var page = require('webpage').create();

page.onResourceError = function(resourceError) {
      console.error(resourceError.url + ': ' + resourceError.errorString);
};

page.open('http://swellrt.org', function(status) {
    console.log("Status: " + status);
});
pablojan commented 8 years ago

mmm it's strange. I can't reproduce from my laptop. I followed the steps and it seems ok. I edited some text in a separated window of swellrt.org and I saw atmosphere's callback messages in the phamtomjs console.

Could you check your network env?

captura de pantalla de 2016-05-19 09 50 51

atd commented 8 years ago

I tested it both in local and the prerender's docker

What version of phantomjs are you using?

phantomjs -v

pablojan commented 8 years ago

Latest from the website

captura de pantalla de 2016-05-19 10 33 02

atd commented 8 years ago

Ok, it seems to be related with phantomjs 1.9.8, which was the one I had and the one is distributed in https://github.com/cerisier/docker-prerender

Feel free to close the bug if you don't have interest in investigating it further

pablojan commented 8 years ago

Ok, I close the issue. Consider to reopen it if you find more issues after upgrading phantomjs. Thanks