JohnMcLear / ep_draw

Etherpad plugin for Etherdraw
Other
15 stars 22 forks source link

502 Bad Gateway nginx/1.2.6 (Ubuntu) #15

Closed Florian444 closed 10 years ago

Florian444 commented 10 years ago

I installed etherpad on my centos 6.3, works well.

I installed ep_draw plugin, but I get this showing on my pad: 502 Bad Gateway nginx/1.2.6 (Ubuntu)

I guess I need to install the correct package, but I don't know which one. Or should I tweak the server setting ?

I can log in (ssh) but I don't have root privilege on the server. etherpad version: c9b80c6 (HEAD, origin/develop, origin/HEAD, develop) * centos version: 6.3

JohnMcLear commented 10 years ago

The draw service is currently down, you can host your own by cloning https://github.com/JohnMcLear/draw

Florian444 commented 10 years ago

ok, thanks. I should have read issue https://github.com/JohnMcLear/ep_draw/issues/8 I installed ep_draw server and got it running correctly on port 9002.

I understand from the todo list that using another server is not supported in the settings, so I edited etherpad-lite/node_modules/ep_draw/static/js/draw.js src='http://draw.etherpad.org/d/"... into src='http://http://0.0.0.0/d/"+... or src='http://http://0.0.0.0:9002/d/"+...

I took care to start the etherpad-lite server before the ep_draw server as seen here https://github.com/JohnMcLear/ep_draw/issues/2#issuecomment-15321235 .

But I still get 502 Bad Gateway nginx/1.2.6 (Ubuntu)

Florian444 commented 10 years ago

ho! it seems that the issue has been adressed and fixed with the pull request https://github.com/JohnMcLear/ep_draw/pull/14