Re: [SOGo] subscribing external ICS calendar via webapp doesnt work with unspecified error

2012-03-06 Thread Peter Schmidt

Hi Christian


Hi Peter Schmidt


On 2012-03-01 16:51, Peter Schmidt wrote:


I'm trying to subscribe an external calendar (ICS format) via the web
frontend.

Thunderbird can subscribe it directly, google calendar can subsribe it
too, but sogo refuses the calendar stating an (unspecified) error during
import.

I could not find any further information in the logs
(/var/log/sogo/sogo.log and any of the apache/tomcat logs).

Possible reasons i found:
1. SSL
When i tried to fetch the url with wget, i found out that due to an
internal redirection, the host changes and so the SSL certificate is not
correct. Downloading the file with firefox does not show the certificate
error.

Is this a SSL issue (then there should be a proper warning and a
possibility to add exceptions to that)?



Perhaps this is causing your problem.


You also get this behaviour, if the remote calendar is not world readable.
SOGo can't handle authentication (yet) for web calendars.



The calendar is world readable. Neither Firefox, nor Thunderbird 
complain about the SSL-Issue. I only found this when directly fetching 
it with wget, so obviously it is a usually tolerated ssl-warning 
(because of a serverside redirect to subhost.host.domain.com instead 
of host.domain.com).
If it is really an SSL-issue then there should be a way to disable SSL 
checks, because i am sure there are hundreds of self-signed or other 
certificates out there.


Anyway: If it was an SSL issue, there should be a proper warning.

Is there some way to run sogo in debug mode to get the right 
errormessage to proof that it is an SSL related issue?


Thanks so far!

Kind regards,
Peter
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] subscribing external ICS calendar via webapp doesnt work with unspecified error

2012-03-06 Thread Christian Mack
On 2012-03-06 16:18, Peter Schmidt wrote:
 Hi Christian
 
 Hi Peter Schmidt


 On 2012-03-01 16:51, Peter Schmidt wrote:

 I'm trying to subscribe an external calendar (ICS format) via the web
 frontend.

 Thunderbird can subscribe it directly, google calendar can subsribe it
 too, but sogo refuses the calendar stating an (unspecified) error during
 import.

 I could not find any further information in the logs
 (/var/log/sogo/sogo.log and any of the apache/tomcat logs).

 Possible reasons i found:
 1. SSL
 When i tried to fetch the url with wget, i found out that due to an
 internal redirection, the host changes and so the SSL certificate is not
 correct. Downloading the file with firefox does not show the certificate
 error.

 Is this a SSL issue (then there should be a proper warning and a
 possibility to add exceptions to that)?


 Perhaps this is causing your problem.


 You also get this behaviour, if the remote calendar is not world
 readable.
 SOGo can't handle authentication (yet) for web calendars.

 
 The calendar is world readable. Neither Firefox, nor Thunderbird
 complain about the SSL-Issue. I only found this when directly fetching
 it with wget, so obviously it is a usually tolerated ssl-warning
 (because of a serverside redirect to subhost.host.domain.com instead
 of host.domain.com).
 If it is really an SSL-issue then there should be a way to disable SSL
 checks, because i am sure there are hundreds of self-signed or other
 certificates out there.
 
 Anyway: If it was an SSL issue, there should be a proper warning.
 
 Is there some way to run sogo in debug mode to get the right
 errormessage to proof that it is an SSL related issue?
 
 Thanks so far!


For enhancing the debugging level see
http://www.sogo.nu/english/nc/support/faq/article/how-to-enable-more-verbose-logging-in-sogo.html

I would try SoSecurityManagerDebugEnabled


Kind regards,
Christian Mack

-- 
Christian Mack
Gruppe Informationsdienste
Rechenzentrum Universität Konstanz
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] subscribing external ICS calendar via webapp doesnt work with unspecified error

2012-03-01 Thread Peter Schmidt

Hi!

I'm trying to subscribe an external calendar (ICS format) via the web 
frontend.


Thunderbird can subscribe it directly, google calendar can subsribe it 
too, but sogo refuses the calendar stating an (unspecified) error during 
import.


I could not find any further information in the logs 
(/var/log/sogo/sogo.log and any of the apache/tomcat logs).


Possible reasons i found:
1. SSL
When i tried to fetch the url with wget, i found out that due to an 
internal redirection, the host changes and so the SSL certificate is not 
correct. Downloading the file with firefox does not show the certificate 
error.


Is this a SSL issue (then there should be a proper warning and a 
possibility to add exceptions to that)?


2. URL character encoding
The URL has the format 
https://host.domain.com/events/ical.xhtml?locale=LOtoken=[some usual 
hex-coded GUID]


Does sogo have problems with special characters in URLs?

Any suggestions how to find the proper error message and fix this bug?

Cheers,
Peter
--

Bixa TechnoConsulting

Web:  www.bixa.cc
Mail: peter.schm...@bixa.cc
Tel.: 0676 / 6384970
--
users@sogo.nu
https://inverse.ca/sogo/lists