Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-28-2006, 03:02 PM
Intermediate Member
 
Posts: 23
Default "show original" error

Everytme I try to view email headers by right-clicking and selecting show original I get an error:

HTTP Status 401 - need to authenticate

type Status report

message need to authenticate

description This request requires HTTP authentication (need to authenticate).
Apache Tomcat/5.5.7

What can I do to fix this? Thanks!

Last edited by dotslashroot; 04-28-2006 at 03:05 PM.. Reason: typos
Reply With Quote
  #2 (permalink)  
Old 04-28-2006, 03:50 PM
Zimbra Employee
 
Posts: 4,792
Default

Interesting... Are you logging in as a normal user or using the login as admin? What browser? Can you view attachments? Compose in a new window?
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #3 (permalink)  
Old 04-28-2006, 03:58 PM
Intermediate Member
 
Posts: 23
Default

Quote:
Originally Posted by KevinH
Interesting... Are you logging in as a normal user or using the login as admin? What browser? Can you view attachments? Compose in a new window?
I am a normal user with admin privs. I am using Firefox 1.5.0.1 in Ubuntu. I haven't tried attachments until you asked and I get the same error when trying to view a .jpg attachment. I do not have compose in new window turned on but I am assuming it would error too. Not being able to get attachments or see full headers is going to be a problem. Thanks for any help you can provide.

Lucas
Reply With Quote
  #4 (permalink)  
Old 04-28-2006, 04:16 PM
Intermediate Member
 
Posts: 23
Default

I figured out what happened. I had opened a new tab in FF and logged into the admin UI and from there viewed emal as another user. That aparently breaks something in the first tab. What is strange is in the original tab where I was logged in to begin with I have been able to send and receive email all afternoon but when I tried to view headers or an attachment it gave me the error. I logged out and back in and all is well. I will have to remember that.
Reply With Quote
  #5 (permalink)  
Old 04-28-2006, 09:32 PM
Zimbra Employee
 
Posts: 228
Default

This is basically what happened:

1) when you logged out of the other tab, you deleted the cookie that holds your "auth token", i.e., your authentication.

2) the other tab still had the auth token stored in a JavaScript variable, and sends that with each SOAP request, so it looked like you were still "logged in".

3) when you click on a link or do a "show original", the browser is actually doing an http GET, and it needs to send the cookie (which you deleted in 1), to the server to get access to the data. thus, you couldn't access them.

We've discussed work arounds for this issue, like the possible of having the cookie name be based on an account id, so you could login into multiple accounts in the same browser. We'd then have to modify the client code that does the GET to include the account id in the request, so the server knew which cookie to look at.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #6 (permalink)  
Old 04-28-2006, 10:20 PM
Intermediate Member
 
Posts: 23
Default

Thanks for the explanation. I didn't officially log out of the first tab. I just left it open and started a new tab and logged in. But yeah the cookie would have been reset. Login ID information with the cookie would be a nice feature. As administrator I have my personal email open and the admin UI. It would be nice to check admin@domain.com and personal@domain.com without logging on and off every time. Keep up the good work! My next goal is to tie this into our eDirectory tree.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.