Project

General

Profile

Actions

Bug / Feature #4753

closed

Etherpad down

Added by Apophis almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Apophis
Category:
-
Target version:
-
Start date:
07 March 2013
Due date:
10 March 2013
% Done:

100%

Estimated time:
Request Type:
Bug Report

Description

  • Error 500 auf allen Pads im Redmine

Beispiel:
https://projects.piratenpartei.ch/pad/show/3

Actions #1

Updated by admin almost 13 years ago

  • Due date set to 10 March 2013

Automatically enforce due date for Urgent Priority to 3 days in the future

Actions #2

Updated by admin almost 13 years ago

  • Assignee set to oschad

Assign unassigined ticket to project leader

Actions #3

Updated by oschad almost 13 years ago

Hi Thomas,

danke für den Report.

Etherpad selbst läuft auf Port 9001, stan. Ich sehe aber keine Verbindung eingehend, wenn man /pad fragt. Heisst für mich, dass das Redmine-Frontend schrott ist. Wer kann sich das angucken? Ich guck auch nochmal drauf, bin aber nicht sicher, ob ich schnell was finde.

Schöne Grüsse
Oli

Actions #4

Updated by oschad almost 13 years ago

Aus dem production.log von Redmine:

Processing PadController#show (for 127.0.0.1 at 2013-03-07 10:47:13) [GET]
  Parameters: {"action"=>"show", "id"=>"3", "controller"=>"pad"}

JSON::ParserError (757: unexpected token at '<html>
<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx/1.2.6</center>
</body>
</html>
'):
  json (1.7.6) lib/json/common.rb:155:in `parse'
  json (1.7.6) lib/json/common.rb:155:in `parse'
  /var/lib/gems/1.8/gems/etherpad-lite-0.0.4/lib/etherpad-lite/client.rb:197:in `handleResult'
  /var/lib/gems/1.8/gems/etherpad-lite-0.0.4/lib/etherpad-lite/client.rb:45:in `call'
  /var/lib/gems/1.8/gems/etherpad-lite-0.0.4/lib/etherpad-lite/client.rb:58:in `createGroupIfNotExistsFor'
  /var/lib/gems/1.8/gems/etherpad-lite-0.0.4/lib/etherpad-lite/models/group.rb:18:in `create'
  /var/lib/gems/1.8/gems/etherpad-lite-0.0.4/lib/etherpad-lite/models/instance.rb:60:in `create_group'
  /var/lib/gems/1.8/gems/etherpad-lite-0.0.4/lib/etherpad-lite/models/instance.rb:45:in `group'
  vendor/plugins/redmine_etherpad/app/controllers/pad_controller.rb:84:in `load_pad'
  vendor/plugins/redmine_etherpad/app/controllers/pad_controller.rb:34:in `show'
  /usr/lib/ruby/1.8/rack/adapter/rails.rb:74:in `call'
  /usr/lib/ruby/1.8/thin/connection.rb:76:in `pre_process'
  /usr/lib/ruby/1.8/thin/connection.rb:74:in `catch'
  /usr/lib/ruby/1.8/thin/connection.rb:74:in `pre_process'
  /usr/lib/ruby/1.8/thin/connection.rb:57:in `process'
  /usr/lib/ruby/1.8/thin/connection.rb:42:in `receive_data'
  /usr/lib/ruby/1.8/eventmachine.rb:257:in `run_machine'
  /usr/lib/ruby/1.8/eventmachine.rb:257:in `run'
  /usr/lib/ruby/1.8/thin/backends/base.rb:57:in `start'

Wurde ein neuer Redirect eingerichtet?

Actions #5

Updated by oschad almost 13 years ago

Die neuen Rewrites im Nginx sind schuld.

Actions #6

Updated by oschad almost 13 years ago

Wo ist denn die Adressierung von Redmine nach Etherpad gebaut? Ohne Ziel kann ich schlecht den Redirect auswählen, den ich bearbeiten müsste.

Actions #7

Updated by oschad almost 13 years ago

Ich hab mir mal erlaubt das production.log von Redmine zu rotieren. Es war ja erst 5 GB gross und seit 2011 in Betrieb. ;-)

Actions #8

Updated by oschad almost 13 years ago

Und für /var/log/etherpad-lite gleich mal Logrotate.d eingerichtet

Actions #9

Updated by corvus almost 13 years ago

  • Status changed from New to Needs Work

Die Settings sind unter https://projects.piratenpartei.ch/settings/plugin/redmine_etherpad.

Ich hab da mal auf https umgestellt aber irgendwie hat das nicht die gewünschte Wirkung.

Actions #10

Updated by oschad almost 13 years ago

Na immerhin haben wir es schon zu einem Zertifikatsfehler geschafft. ;-)

Ist es denn sinnvoll, dass Redmine mit dem Piratenpad auf Localhost mit SSL redet?

OpenSSL::SSL::SSLError (SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
):
  /usr/lib/ruby/1.8/net/http.rb:586:in `connect'
  /usr/lib/ruby/1.8/net/http.rb:586:in `connect'
  /usr/lib/ruby/1.8/net/http.rb:553:in `do_start'
  /usr/lib/ruby/1.8/net/http.rb:542:in `start'
  /usr/lib/ruby/1.8/net/http.rb:1035:in `request'
  /var/lib/gems/1.8/gems/etherpad-lite-0.0.4/lib/etherpad-lite/client.rb:44:in `call'
  /var/lib/gems/1.8/gems/etherpad-lite-0.0.4/lib/etherpad-lite/client.rb:58:in `createGroupIfNotExistsFor'
  /var/lib/gems/1.8/gems/etherpad-lite-0.0.4/lib/etherpad-lite/models/group.rb:18:in `create'
  /var/lib/gems/1.8/gems/etherpad-lite-0.0.4/lib/etherpad-lite/models/instance.rb:60:in `create_group'
  /var/lib/gems/1.8/gems/etherpad-lite-0.0.4/lib/etherpad-lite/models/instance.rb:45:in `group'
  vendor/plugins/redmine_etherpad/app/controllers/pad_controller.rb:84:in `load_pad'
  vendor/plugins/redmine_etherpad/app/controllers/pad_controller.rb:34:in `show'
  /usr/lib/ruby/1.8/rack/adapter/rails.rb:74:in `call'
  /usr/lib/ruby/1.8/thin/connection.rb:76:in `pre_process'
  /usr/lib/ruby/1.8/thin/connection.rb:74:in `catch'
  /usr/lib/ruby/1.8/thin/connection.rb:74:in `pre_process'
  /usr/lib/ruby/1.8/thin/connection.rb:57:in `process'
  /usr/lib/ruby/1.8/thin/connection.rb:42:in `receive_data'
  /usr/lib/ruby/1.8/eventmachine.rb:257:in `run_machine'
  /usr/lib/ruby/1.8/eventmachine.rb:257:in `run'
  /usr/lib/ruby/1.8/thin/backends/base.rb:57:in `start'
  /usr/lib/ruby/1.8/thin/server.rb:156:in `start'
Actions #11

Updated by Apophis almost 13 years ago

Hat nicht Simon grad die Zertifikate ausgewechselt bei Redmine?

Actions #12

Updated by corvus almost 13 years ago

Apophis wrote:

Hat nicht Simon grad die Zertifikate ausgewechselt bei Redmine?

Nö das war ich. Ich denke das problem ist nicht das Zertifikat sondern der Cipher-Algorithmus. Gewisse libraries haben Probleme wenn dieser zu stark ist, das hatten wir bei CAS bereits.

Actions #13

Updated by corvus almost 13 years ago

Mist, die Cipher waren es auch nicht.

Actions #14

Updated by corvus almost 13 years ago

  • Status changed from Needs Work to Done

Ich hab das SSL enforcement rausgenommen.

Pads gehen wieder.

Actions #15

Updated by admin almost 13 years ago

  • Assignee changed from oschad to Apophis

Automaticaclly enforce assigned-to to the author of the ticket

Actions #16

Updated by Apophis almost 13 years ago

  • Status changed from Done to Closed
  • Assignee changed from Apophis to oschad
  • % Done changed from 0 to 100

Also doch SSL ;) danke

Actions #17

Updated by corvus almost 13 years ago

  • Assignee changed from oschad to Apophis

Ich vermute das liegt an der EtherPadLite-API library oder an meiner Implementation das die nicht mit SSL klar kommen oder aber das GlobalSign CA Cert findet sich nicht in der liste der Root CAs.

Actions #18

Updated by oschad almost 13 years ago

Geiler Einsatz. :-) Ich denke, dass die CA nicht bekannt ist, ja.

Actions

Also available in: Atom PDF