Author Topic: [SOLVED] Wrong HTTP referer ?  (Read 7057 times)

satyris

  • Zen Monk
  • **
  • Posts: 94
  • Karma: +0/-0
    • View Profile
[SOLVED] Wrong HTTP referer ?
« on: June 23, 2010, 02:14:53 pm »
Since today, iam not able to edit users&groups, egroupware Default applications and so on.
ebox 1.4-2

The error message is:
Quote
Wrong HTTP referer detected, operation cancelled for security reasons

An internal error related to a template has occurred. This is a bug, relevant information can be found in the logs.

My mistake or was something changed?
« Last Edit: July 01, 2010, 10:31:03 pm by Oceanwatcher »

satyris

  • Zen Monk
  • **
  • Posts: 94
  • Karma: +0/-0
    • View Profile
Re: Wrong HTTP referer ?
« Reply #1 on: June 25, 2010, 01:57:38 pm »
No, one else?

Here is the Ticketnumber from trac:

http://trac.ebox-platform.com/ticket/1971

J. A. Calvo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1986
  • Karma: +67/-3
    • View Profile
    • http://blogs.zentyal.org/jacalvo
Re: Wrong HTTP referer ?
« Reply #2 on: June 25, 2010, 07:48:36 pm »
This problem is under investigation by the eBox developers, any update will be noticed on the ticket.
Zentyal Server Lead Developer

exekias

  • Zentyal Staff
  • Zen Warrior
  • *****
  • Posts: 196
  • Karma: +21/-0
    • View Profile
    • The Big Bug Theory
Re: Wrong HTTP referer ?
« Reply #3 on: June 26, 2010, 05:28:59 pm »
Hi satyris,

Could you paste the output of the following command?

dpkg -l | grep "ebox-"

I think you are working with an old version of eBox

satyris

  • Zen Monk
  • **
  • Posts: 94
  • Karma: +0/-0
    • View Profile
Re: Wrong HTTP referer ?
« Reply #4 on: June 28, 2010, 08:42:04 am »
Hello cperez,
here is the output.

Linux (MACHINENAME) 2.6.24-28-server #1 SMP Thu May 27 00:58:42 UTC 2010 i686
                         *** eBox WARNING ***

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.

Please note that this is an eBox machine. This means that if you change
some configuration files, eBox  and some other parts of the system
could fail. Make sure you know what you're doing before continuing.

Thank you for using eBox Platform! http://ebox-platform.com/
Last login: Fri Jun 25 13:40:05 2010 from xxx.xxx.xxx
MACHINENAME:~$ dpkg -l | grep "ebox-"
ii  ebox-ca                               1.4.3-0ubuntu1~ppa1~hardy1         eBox - Certification Authority
ii  ebox-ebackup                          1.4.5-0ubuntu1~ppa1~hardy1         eBox - Backup
ii  ebox-egroupware                       1.4.1-0ubuntu1~ppa1~hardy1         eBox - Groupware
ii  ebox-firewall                         1.4.5-0ubuntu1~ppa1~hardy1         eBox - Firewall
ii  ebox-mail                             1.4.4-0ubuntu1~ppa1~hardy1         eBox - Mail Service
ii  ebox-monitor                          1.4.2-0ubuntu1~ppa1~hardy1         eBox - Monitor
ii  ebox-network                          1.4.6-0ubuntu1~ppa1~hardy1         eBox - Network Configuration
ii  ebox-ntp                              1.4-0ubuntu1~ppa1~hardy1           eBox - NTP Service
ii  ebox-objects                          1.4-0ubuntu1~ppa1~hardy1           eBox - Network Objects
ii  ebox-openvpn                          1.4.2-0ubuntu1~ppa1~hardy1         eBox - VPN Service
ii  ebox-remoteservices                   1.4.8-1ubuntu1~ppa1~hardy2         eBox - Control Center Client
ii  ebox-samba                            1.4.5-0ubuntu1~ppa1~hardy1         eBox - File Sharing
ii  ebox-services                         1.4-0ubuntu1~ppa1~hardy1           eBox - Network Services
ii  ebox-software                         1.4.2-0ubuntu1~ppa1~hardy1         eBox - Software Management
ii  ebox-usersandgroups                   1.4.6-0ubuntu1~ppa1~hardy1         eBox - Users and Groups
ii  ebox-webmail                          1.4.1-0ubuntu1~ppa1~hardy1         eBox - Web Mail Service
ii  ebox-webserver                        1.4.1-0ubuntu1~ppa1~hardy1         eBox - Web Server

exekias

  • Zentyal Staff
  • Zen Warrior
  • *****
  • Posts: 196
  • Karma: +21/-0
    • View Profile
    • The Big Bug Theory
Re: Wrong HTTP referer ?
« Reply #5 on: June 28, 2010, 01:07:50 pm »
Hi satyris,

The package list seems ok, maybe the problem is in libebox or ebox packages, can you paste this commands too?

Code: [Select]
dpkg -l | grep "ebox"

Anyway, I think that your problem should be solved by upgrading:

Code: [Select]
sudo apt-get update
sudo apt-get upgrade

satyris

  • Zen Monk
  • **
  • Posts: 94
  • Karma: +0/-0
    • View Profile
Re: Wrong HTTP referer ?
« Reply #6 on: June 28, 2010, 04:40:42 pm »
dpkg -l | grep "ebox"
ii  ebox                                  1.4.8-0ubuntu1~ppa1~hardy1         eBox - Base Framework
ii  ebox-ca                               1.4.3-0ubuntu1~ppa1~hardy1         eBox - Certification Authority
ii  ebox-ebackup                          1.4.5-0ubuntu1~ppa1~hardy1         eBox - Backup
ii  ebox-egroupware                       1.4.1-0ubuntu1~ppa1~hardy1         eBox - Groupware
ii  ebox-firewall                         1.4.5-0ubuntu1~ppa1~hardy1         eBox - Firewall
ii  ebox-mail                             1.4.4-0ubuntu1~ppa1~hardy1         eBox - Mail Service
ii  ebox-monitor                          1.4.2-0ubuntu1~ppa1~hardy1         eBox - Monitor
ii  ebox-network                          1.4.6-0ubuntu1~ppa1~hardy1         eBox - Network Configuration
ii  ebox-ntp                              1.4-0ubuntu1~ppa1~hardy1           eBox - NTP Service
ii  ebox-objects                          1.4-0ubuntu1~ppa1~hardy1           eBox - Network Objects
ii  ebox-openvpn                          1.4.2-0ubuntu1~ppa1~hardy1         eBox - VPN Service
ii  ebox-remoteservices                   1.4.8-1ubuntu1~ppa1~hardy2         eBox - Control Center Client
ii  ebox-samba                            1.4.5-0ubuntu1~ppa1~hardy1         eBox - File Sharing
ii  ebox-services                         1.4-0ubuntu1~ppa1~hardy1           eBox - Network Services
ii  ebox-software                         1.4.2-0ubuntu1~ppa1~hardy1         eBox - Software Management
ii  ebox-usersandgroups                   1.4.6-0ubuntu1~ppa1~hardy1         eBox - Users and Groups
ii  ebox-webmail                          1.4.1-0ubuntu1~ppa1~hardy1         eBox - Web Mail Service
ii  ebox-webserver                        1.4.1-0ubuntu1~ppa1~hardy1         eBox - Web Server
ii  egroupware                            1.6.002+dfsg-1ubuntu1hardy1ebox2   web-based groupware suite - metapackage
ii  egroupware-addressbook                1.6.002+dfsg-1ubuntu1hardy1ebox2   web-based groupware suite - addressbook mana
ii  egroupware-bookmarks                  1.6.002+dfsg-1ubuntu1hardy1ebox2   web-based groupware suite - bookmark managem
ii  egroupware-calendar                   1.6.002+dfsg-1ubuntu1hardy1ebox2   web-based groupware suite - calendar managem
ii  egroupware-core                       1.6.002+dfsg-1ubuntu1hardy1ebox2   web-based groupware suite - core modules
ii  egroupware-developer-tools            1.6.002+dfsg-1ubuntu1hardy1ebox2   web-based groupware suite - developer tools
ii  egroupware-emailadmin                 1.6.002+dfsg-1ubuntu1hardy1ebox2   web-based groupware suite - e-mail user admi
ii  egroupware-etemplate                  1.6.002+dfsg-1ubuntu1hardy1ebox2   web-based groupware suite - widget-based tem
ii  egroupware-felamimail                 1.6.002+dfsg-1ubuntu1hardy1ebox2   web-based groupware suite - e-mail applicati
ii  egroupware-filemanager                1.6.002+dfsg-1ubuntu1hardy1ebox2   web-based groupware suite - file manager app
ii  egroupware-infolog                    1.6.002+dfsg-1ubuntu1hardy1ebox2   web-based groupware suite - infolog applicat
ii  egroupware-manual                     1.6.002+dfsg-1ubuntu1hardy1ebox2   web-based groupware suite - manual
ii  egroupware-news-admin                 1.6.002+dfsg-1ubuntu1hardy1ebox2   web-based groupware suite - news administrat
ii  egroupware-notifications              1.6.002+dfsg-1ubuntu1hardy1ebox2   web-based groupware suite - notifications
ii  egroupware-phpbrain                   1.6.002+dfsg-1ubuntu1hardy1ebox2   web-based groupware suite - phpbrain applica
ii  egroupware-phpsysinfo                 1.6.002+dfsg-1ubuntu1hardy1ebox2   web-based groupware suite - phpSysInfo appli
ii  egroupware-polls                      1.6.002+dfsg-1ubuntu1hardy1ebox2   web-based groupware suite - polling applicat
ii  egroupware-projectmanager             1.6.002+dfsg-1ubuntu1hardy1ebox2   web-based groupware suite - project manageme
ii  egroupware-registration               1.6.002+dfsg-1ubuntu1hardy1ebox2   web-based groupware suite - registration app
ii  egroupware-resources                  1.6.002+dfsg-1ubuntu1hardy1ebox2   web-based groupware suite - resource manager
ii  egroupware-sambaadmin                 1.6.002+dfsg-1ubuntu1hardy1ebox2   web-based groupware suite - Samba administra
ii  egroupware-sitemgr                    1.6.002+dfsg-1ubuntu1hardy1ebox2   web-based groupware suite - site manager app
ii  egroupware-timesheet                  1.6.002+dfsg-1ubuntu1hardy1ebox2   web-based groupware suite - timesheet applic
ii  egroupware-tracker                    1.6.002+dfsg-1ubuntu1hardy1ebox2   web-based groupware suite - tracker applicat
ii  egroupware-wiki                       1.6.002+dfsg-1ubuntu1hardy1ebox2   web-based groupware suite - wiki application
ii  esofttool                             0.5.4                              ebox software tool
ii  libebox                               1.4.5-0ubuntu1~ppa1~hardy2         eBox - Common Library
ii  liborbit2                             1:2.14.12-0.1ebox1                 libraries for ORBit2 - a CORBA ORB
ii  libwbclient0                          2:3.4.6~dfsg-1ebox1~hardy4         Samba winbind client library
ii  linux-image-2.6.24-27-ebox            2.6.24-27.69+ebox1                 Linux kernel image for version 2.6.24 on eBo
ii  php-mdb2                              2.5.0b2-1ubuntu1ebox1              PHP PEAR module to provide a common API for
ii  roundcube                             0.3.1-2ubuntu0~ebox2~hardy1        skinnable AJAX based webmail solution for IM
ii  roundcube-core                        0.3.1-2ubuntu0~ebox2~hardy1        skinnable AJAX based webmail solution for IM
ii  roundcube-pgsql                       0.3.1-2ubuntu0~ebox2~hardy1        metapackage providing PostgreSQL dependencie
ii  samba                                 2:3.4.6~dfsg-1ebox1~hardy4         SMB/CIFS file, print, and login server for U
ii  samba-common                          2:3.4.6~dfsg-1ebox1~hardy4         common files used by both the Samba server a
ii  samba-common-bin                      2:3.4.6~dfsg-1ebox1~hardy4         common files used by both the Samba server a
ii  samba-vscan                           0.3.6cbeta5ebox4-1                 Samba virus scanning VFS module

(apt-get update, upgrade, dist-upgrade):
No upgrading was possible!
Code: [Select]
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.

exekias

  • Zentyal Staff
  • Zen Warrior
  • *****
  • Posts: 196
  • Karma: +21/-0
    • View Profile
    • The Big Bug Theory
Re: Wrong HTTP referer ?
« Reply #7 on: June 28, 2010, 04:50:51 pm »
Uhm right, everything seems ok

I tried that features and worked for me, can you please explain us your exact actions?

satyris

  • Zen Monk
  • **
  • Posts: 94
  • Karma: +0/-0
    • View Profile
Re: Wrong HTTP referer ?
« Reply #8 on: June 29, 2010, 08:28:46 am »
The last changes i made, were eGroupware (calendar and addressbook) testing with Kontact frontend and after that samba configuration (shares and users).

The errormessage is shown on different actions, even at the shutdownmenu.

Is there an easy way to save my changes and then restart again, with a new installation of ebox or maybe ebox 2.0?

satyris

  • Zen Monk
  • **
  • Posts: 94
  • Karma: +0/-0
    • View Profile
Re: Wrong HTTP referer ? SUCCESS
« Reply #9 on: July 01, 2010, 07:32:04 pm »
Iam sorry, but it seems that it was a problem with my local Browser/Firefox/NoScript (don't know why that, but...)
Tried it with Konqueror and got no error then.
Another PC with Firefox has no error too. Weird!

Please, put it as SOLVED

Update:
It was a Firefox issue:

about:config
network.http.sendRefererHeader value 0 --> Standard/default is 2
changed it and bingo.

« Last Edit: July 01, 2010, 08:10:41 pm by satyris »

Svein Wisnaes

  • Zen Samurai
  • ****
  • Posts: 325
  • Karma: +5/-0
  • A Norwegian living in Brazil
    • View Profile
    • Oceanwatcher Media | Svein Wisnaes
Re: [SOLVED] Wrong HTTP referer ?
« Reply #10 on: July 01, 2010, 10:34:26 pm »
I added [SOLVED] to the subject of your original post per your request.

In the future, you can do the same by just going to the first post in your topic and click on Modify and the just add [SOLVED] at the beginning.
Regards,

Oceanwatcher
Do NOT use PM for support. This is a community forum and support is not on a one-on-one basis.
READ BEFORE POSTING - How to make a good post - click here