Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Compfort Update hinter Proxy

  • kzoller
  • kzoller's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 6 months ago #124846 by kzoller
Compfort Update hinter Proxy was created by kzoller
Hallo zusammen

Wir haben eine Limesurvey Installation hinter einem Proxy Server. Nach dem Update von 2.05 auf 2.06 funktionierte das ComfortUpdate nicht mehr. Der Limesruvey Server versuchte immer, den Updateserver direkt und nicht via Proxy Server zu erreichen. Da im Admin Interface bei jedem Seitenaufruf auf verfügbare Update geprüft wird, mussten wir bei jedem Klick ca. 30 Sekunden warten. Dazu habe ich einen Bugreport verfasst.
bugs.limesurvey.org/view.php?id=9817

Der Bug gilt nun als gelöst. Leider hat dies im Verhalten nur wenig geändert. Der Limesurvey Server versucht un zwar über den Proxy zu gehen, vergisst aber anscheinend den "Port", der im Config File angegeben wurde:
'proxy_host_name'=>'161.78.6.6',
'proxy_host_port'=>3128

Die Config Datei liegt dieser Nachricht bei.


Die Auswertung des Netzwerktraffic ergibt nun folgende Anfrage an den Proxy Server:
tcp 0 1 10.57.237.99:46222 161.78.6.6:* SYN_SENT
161.78.6.6 ist unser Proxy Server

Meine Frage an euch ist nun, ob ich eine Einstellung übersehen habe oder ob sonst noch jemand diese Beobachtungen gemacht hat. Ich habe auch versucht, mittels der config Variablen "updatecheckperiod = 0" den Update Vorgang ganz auszuschalten. Ohne Erfolg.

Ich danke euch für eure Unterstützung
Viele Grüsse
Kay
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
8 years 6 months ago #124848 by LouisGac
Replied by LouisGac on topic Compfort Update hinter Proxy
Hi,

yes the last release has a bug for comfortUpdate being behind a proxy. It will be corrected in next release.

For a quick fix, see :
www.limesurvey.org/en/community-services...server-answer#124469

LouisGac wrote: thank you for reporting, it will be fixed in the next release.

If you want to quickly debug it by yourself, just open the file /var/www/educacion/cau_ce/encuestas/application/models/UpdateForm.php
and change the line :

Code:
 $proxy = $this->proxy_host_name.':'.proxy_host_port;

to :
Code:
 $proxy = $this->proxy_host_name.':'.$this->proxy_host_port;

(just added the $this)

The topic has been locked.
  • kzoller
  • kzoller's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 6 months ago #124863 by kzoller
Replied by kzoller on topic Compfort Update hinter Proxy
Dear Louis

Thanks al lot. This is the solution.

Greatings from Switzerland!
Kay
The topic has been locked.
Moderators: Joffm

Lime-years ahead

Online-surveys for every purse and purpose