Author Topic: SOGo logins successfully and goes back to the login screen  (Read 7831 times)

AleSanchez

  • Zen Apprentice
  • *
  • Posts: 5
  • Karma: +2/-0
    • View Profile
SOGo logins successfully and goes back to the login screen
« on: November 20, 2018, 12:34:59 am »
Hi all!

I'm a happy user of Zentyal Servers.
This is my first mail server implementation over Zentyal. Fresh Install over Ubuntu 18.04 via apt, running on DigitalOcean. Everything is working fine, but SOGo.

When you try to login, it shows the welcome message, It redirect the browser to the main page (I suppose)  and then sends me back to the login screen.

Nov 19 20:21:58 sogod [31994]: SOGoRootPage successful login from '190.17.161.42' for user 'asanchez@eurovips.com' - expire = -1  grace = -1
Nov 19 20:21:58 sogod [31994]: 190.17.161.42 "POST /SOGo/connect HTTP/1.1" 200 54/77 0.164 - - 0
Nov 19 20:21:59 sogod [31994]: 190.17.161.42 "GET /SOGo/so/asanchez@eurovips.com HTTP/1.1" 200 8500/0 0.016 27563 69% 0

Any help would be appreciated.

Thank you.

poot

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: SOGo logins successfully and goes back to the login screen
« Reply #1 on: January 17, 2019, 05:31:44 pm »
I'm having this same issue, the problem seems to have started when I changed the name of the domain. Anyone else having this issue? Any thoughts from support?

freeware

  • Zen Apprentice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: SOGo logins successfully and goes back to the login screen
« Reply #2 on: February 03, 2019, 01:07:45 pm »
Yes, at me. After login drop back to login page.

KarlMCS

  • Zen Apprentice
  • *
  • Posts: 5
  • Karma: +2/-0
    • View Profile
Re: SOGo logins successfully and goes back to the login screen
« Reply #3 on: September 23, 2019, 06:55:34 pm »
Same problem on a fresh install of Zentyal 6.  Login is successful but then just reloads the login page.  All packages and modules are up to date.  SOGo logs don't say anything except that the login was successful, no errors.  I got it to load one time by rebooting the server and simultaneously clearing the browser cache, but I have not been able to get it to log in again...

Did you ever find a fix?

doncamilo

  • Zen Samurai
  • ****
  • Posts: 478
  • Karma: +165/-1
    • View Profile
Re: SOGo logins successfully and goes back to the login screen
« Reply #4 on: September 24, 2019, 01:53:49 pm »
 :)

I have found this document related with this topic:

https://users.sogo.narkive.com/yY5YaFMq/sogo-won-t-load-pages-after-loginl

Let me know if this fixed your issues please!

Cheers!
- Do my pigeons bother you passing over your land?
- They block the sun!

G. Guareschi., Don Camillo.,

AleSanchez

  • Zen Apprentice
  • *
  • Posts: 5
  • Karma: +2/-0
    • View Profile
Re: SOGo logins successfully and goes back to the login screen
« Reply #5 on: January 30, 2024, 10:12:21 pm »
Five years later and having forgotten that I had this problem before, I googled and found my own post.

This does not have to do with Zentyal but with Apache. In the SOGo documentation says clearly that you have to configure this in the Apache configuration:

Code: [Select]
RequestHeader set "x-webobjects-server-port" "80"
RequestHeader set "x-webobjects-server-name" "yourhostname"
RequestHeader set "x-webobjects-server-url" "http://yourhostname"

Match your hostname or fixed IP if you are in a testing server.
 

wilaya28

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: SOGo logins successfully and goes back to the login screen
« Reply #6 on: May 27, 2024, 03:33:08 pm »
Same problem on a fresh install of Zentyal 8

Siroco

  • Zentyal Staff
  • Zen Apprentice
  • *****
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: SOGo logins successfully and goes back to the login screen
« Reply #7 on: June 17, 2024, 12:29:08 pm »
Hi,
I have not been able to reproduce the error you got on a fresh installation.
I recommend you to open an issue on GitHub detailing the problem for the developers to review.
https://github.com/zentyal/zentyal/issues
Regards.

aehimself

  • Zen Apprentice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: SOGo logins successfully and goes back to the login screen
« Reply #8 on: August 02, 2024, 08:05:32 pm »
Have the same issue on Zentyal 8.0.3, fresh install, not even alive yet.
I have a feeling that this has something to do with accessing SOGo from different subnets...

For the time being not even the workaround from AleSanchez works, only a reboot... and only for a limited amount of time.

Siroco

  • Zentyal Staff
  • Zen Apprentice
  • *****
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: SOGo logins successfully and goes back to the login screen
« Reply #9 on: August 07, 2024, 12:59:34 pm »
Hi,

Could you explain how you reproduced the error?

I have a feeling that this has something to do with accessing SOGo from different subnets...

What do you mean?

I recommend you to open an issue on GitHub detailing the problem for the developers to review.

https://github.com/zentyal/zentyal/issues

Regards.

aehimself

  • Zen Apprentice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: SOGo logins successfully and goes back to the login screen
« Reply #10 on: August 09, 2024, 06:39:14 pm »
Reproduction was quite easy... Install SOGo and use it :) One day it decided to throw successful logons back to the login page without any trace of errors whatsoever.

As for the subnet comment it can be disregarded... I went on vacation and used a VPN (external, not running on Zentyal) to access the server and the issue occurred immediately. After restarting the server like 2 days in row fixed it and now I can access SOGo through VPN as well. What I thought initially is that accessing it from the VPNs subnet causes it to bug, but it was only a coincidence.