Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Session Expired on Firefox/FC3

  1. #1
    Join Date
    Sep 2005
    Posts
    41
    Rep Power
    10

    Default Session Expired on Firefox/FC3

    First, I'd like to congratulate the Zimbra team for making an excelent work.

    Second, after having some trouble installing it (because of MySQL and local domains, I guess), I got it done.

    Well, now I can't login, it keeps giving me the message "Your session has expired. Please Login again". I tried to clear my cache, clear my cookies and nothing worked. I'm using Firefox 1.0.6 on a FC3. Any idea about what that could be? That same thing happened when I tried to login at the demo. I tried to use another browser, in another computer (but I think the browser uses the same engine as Firefox) and yet didn't work - I didn't tried to use IE, I don't have a Windows here to test it.

    Another question is: do I have to login always with the fully qualified e-mail myname@mymachine.mydomain or something like that?

    Thanks for any help.

    Rodrigo

  2. #2
    Join Date
    Sep 2005
    Posts
    41
    Rep Power
    10

    Default

    I forgot to say... I created an account, gave it an password and everything else. It is active, but I just can't login...

  3. #3
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Hi can you try launching the app in debug mode?

    http://<your host>/zimbra/?debug=1

    Make sure you turn off any popup blockers. This will pop a debug window and should show any exceptions or errors on login.

  4. #4
    Join Date
    Aug 2005
    Posts
    821
    Rep Power
    11

    Default Default Domain

    Another question is: do I have to login always with the fully qualified e-mail myname@mymachine.mydomain or something like that?
    The server has the concept of Default Domain. If you leave out the domain when authenticating, the server will assume you are trying to authenticate against the default domain. If mymachine.mydomain is your default domain, when you login simply specify myname.

  5. #5
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default Set at install time

    Quote Originally Posted by sam
    The server has the concept of Default Domain. If you leave out the domain when authenticating, the server will assume you are trying to authenticate against the default domain. If mymachine.mydomain is your default domain, when you login simply specify myname.
    If you create a domain at install time (which you probably did) the installer sets the default domain to that value.

  6. #6
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default javascript?

    Quote Originally Posted by rodrigoccurvo
    First, I'd like to congratulate the Zimbra team for making an excelent work.

    Second, after having some trouble installing it (because of MySQL and local domains, I guess), I got it done.

    Well, now I can't login, it keeps giving me the message "Your session has expired. Please Login again". I tried to clear my cache, clear my cookies and nothing worked. I'm using Firefox 1.0.6 on a FC3. Any idea about what that could be? That same thing happened when I tried to login at the demo. I tried to use another browser, in another computer (but I think the browser uses the same engine as Firefox) and yet didn't work - I didn't tried to use IE, I don't have a Windows here to test it.

    Another question is: do I have to login always with the fully qualified e-mail myname@mymachine.mydomain or something like that?

    Thanks for any help.

    Rodrigo
    You have javascript, cookies, enabled?

  7. #7
    Join Date
    Sep 2005
    Posts
    41
    Rep Power
    10

    Default

    Yes, I have JavaScript, Cookies and the hole thing enabled. I also tried to monitor the Cookies, but they didn't give me any clue. When I started it in debug mode and tried to login, it returned the following message:

    Code:
    overview layout needed (refresh)
    *** Unrecognized setting: zimbraPrefImapSearchFoldersEnabled
    poll interval = 300000ms
    
    code: "service.AUTH_EXPIRED",
    fileName: "http://osiris.localdomain/zimbra/js/AjxMail_all.js.jgz?v=050829110020",
    lineNumber: 63099,
    message: "tz has no properties",
    name: "TypeError",
    stack: "()@http://osiris.localdomain/zimbra/js/AjxMail_all.js.jgz?v=050829110020:63099\n()@http://osiris.localdomain/zimbra/js/AjxMail_all.js.jgz?v=050829110020:63149\n([object Object])@http://osiris.localdomain/zimbra/js/AjxMail_all.js.jgz?v=050829110020:3166\ncall([object Object],[object Object])@:0\n((function (params) {if (!(params && params.bIsRelogin)) {if (!this._appViewMgr) {this._appViewMgr = new ZmAppViewMgr(this._shell, this, false, true);}try {this._components = new Object();this._components[ZmAppViewMgr.C_SASH] = new DwtSash(this._shell, DwtSash.HORIZONTAL_STYLE, "console_inset_app_l", 20);this._components[ZmAppViewMgr.C_BANNER] = this._createBanner();this._components[ZmAppViewMgr.C_USER_INFO] = this._createUserInfo();this._settings.loadUserSettings();if (params && params.settings) {this._needOverviewLayout = true;for (var id in params.settings) {this._settings.getSetting(id).setValue(params.settings[id]);}}this._pollInterval = this._appCtxt.get(ZmSetting.POLLING_INTERVAL) * 1000;DBG.println(AjxDebug.DBG1, "poll interval = " + this._pollInterval + "ms");ZmTimezones.initializeServerTimezone();this._setUserInfo();this._checkOverviewLayout();var app = params ? params.app : null;var startApp = ZmZimbraMail.APP_CLASS[app] ? app : ZmZimbraMail.defaultStartApp;if (this._appCtxt.get(ZmSetting.SEARCH_ENABLED)) {this._components[ZmAppViewMgr.C_SEARCH] = this.getSearchController().getSearchPanel();}var currentAppToolbar = new ZmCurrentAppToolBar(this._shell);this._appCtxt.setCurrentAppToolbar(currentAppToolbar);this._components[ZmAppViewMgr.C_CURRENT_APP] = currentAppToolbar;this._components[ZmAppViewMgr.C_APP_CHOOSER] = this._createAppChooser();this._components[ZmAppViewMgr.C_STATUS] = this._statusBox = new DwtText(this._shell, "statusBox", Dwt.ABSOLUTE_STYLE);this._statusBox.setScrollStyle(Dwt.CLIP);this._calController = this.getApp(ZmZimbraMail.CALENDAR_APP).getCalController();if (skin && skin.showSkin) {skin.showSkin(true);}this._appViewMgr.addComponents(this._components, true);try {this.activateApp(startApp);} catch (ex) {this._handleException(ex, this.startup, null, true);}this.setSessionTimer(true);} catch (ex) {ex.code = ZmCsfeException.SVC_AUTH_EXPIRED;this._handleException(ex, this.startup, null, true);}}this._schedule(this._killSplash);}),[object Object],0)@http://osiris.localdomain/zimbra/js/AjxMail_all.js.jgz?v=050829110020:36240\napply([object Object],[object Array])@:0\n(0)@http://osiris.localdomain/zimbra/js/AjxMail_all.js.jgz?v=050829110020:440\n@http://osiris.localdomain/zimbra/js/AjxMail_all.js.jgz?v=050829110020:421\n"
    I tried to Disable (just a guess) IMAP in zimbraAdmin, but still nothing. A report pop-up with a message similar to that appeared sometimes, during my instalation tests. By the way, that was a "just installed test", I uninstalled everything, installed, created an account and tried to login, getting that error.

    Thanks again.

    Rodrigo
    Last edited by rodrigoccurvo; 09-21-2005 at 07:46 AM.

  8. #8
    Join Date
    Sep 2005
    Posts
    41
    Rep Power
    10

    Default

    I just tested it on a Windows. With IE, I got javascript errors and nothing appeared. With Firefox 1.0.4 and 1.0.6 worked just fine. (still on Windows), but with my Firefox 1.0.6 on Linux FC3 it doesn't work.

  9. #9
    Join Date
    Sep 2005
    Posts
    41
    Rep Power
    10

    Default

    Here I am again. Well, I decided to take a look at the file http://osiris.localdomain/zimbra/js/...v=050829110020
    at the line 63099, as shown by the Debugger. It is the return of the funcion:

    Code:
    ZmTimezones.guessMachineTimezone = function () {
            var dec1 = new Date(2005, 12, 1, 0, 0, 0);
            var jun1 = new Date(2005, 6, 1, 0, 0, 0);
            var dec1offset = dec1.getTimezoneOffset();
            var jun1offset = jun1.getTimezoneOffset();
            var pos = ((dec1.getHours() - dec1.getUTCHours()) > 0)? true: false;
            if (!pos) {
                    dec1offset = dec1offset * -1;
                    jun1offset = jun1offset * -1;
            }
            var tz = null;
            // if the offset for jun is the same as the offset in december,
            // then we have a timezone that doesn't deal with daylight savings.
            if (jun1offset == dec1offset) {
                    var list = ZmTimezones.ruleLists.noDSTList;
                    for (var i = 0; i < list.length ; ++i ){
                            if (list[i].stdOffset == jun1offset) {
                                    tz = list[i];
                                    break;
                            }
                    }
            } else {
                    // we need to find a rule that matches both offsets
                    var list = ZmTimezones.ruleLists.DSTList;
                    var dst = Math.max(dec1offset, jun1offset);
                    var std = Math.min(dec1offset, jun1offset);
                    var rule;
                    for (var i = 0; i < list.length ; ++i ){
                            rule = list[i];
                            if (rule.stdOffset == std && rule.dstOffset == dst) {
                                    if (ZmTimezones._compareRules(rule, std, dst, pos)) {
                                            tz = rule;
                                            break;
                                    }
                            }
                    }
            }
            return tz.name;
    };
    Well, there is a minor bug on this function. If my TimeZone does deal with Daylight save but you can't find it, tz = null and there is no tz.name. I guess that Firefox on Linux must return different things for the TimeZone (I don't know how this is done).

    Any simple way to fix that? Modify the code?

  10. #10
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Thanks for the detailed report! Seems that your browser's timezone setting is not something we can handle. Is there any way you can post your HTTP headers for the request? If not can you say what language and timezone (ie en, es, etc, and PST, GMT+8, etc) your browser and machines are set to? Reason I ask is that this works for us on Firefox+Linux. Most people here have the language set to English and the timezone set to PST. So my guess is you've got different settings and the parsing is failing.

    I've filed this as a bug 4015 to track this.

Similar Threads

  1. zimbra suddently refused to get mail
    By nosiath in forum Installation
    Replies: 2
    Last Post: 02-21-2007, 08:06 AM
  2. Services stopped working
    By lilwong in forum Administrators
    Replies: 4
    Last Post: 08-15-2006, 10:19 AM
  3. Zimbra server crashed
    By goetzi in forum Administrators
    Replies: 6
    Last Post: 03-25-2006, 01:00 PM
  4. The mailbox and mta dies in FC4 GA version
    By meikka in forum Installation
    Replies: 72
    Last Post: 03-16-2006, 05:30 PM
  5. Your session has expired. Please login again.
    By macleajb in forum Installation
    Replies: 3
    Last Post: 10-05-2005, 05:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •