Public bug reported:

I noticed I cannot import a calendar from PagerDuty
(https://www.pagerduty.com).

When I try to add online calendar (Settings -> Add -> From Web) in "Add 
calendar" dialog, button "Add" stays disabled when I enter URL.
If I download the calendar and add it via "From file" method, everything works.

When I ran gnome-calendar with debug option (--debug) the following was
logged to the console (I removed all sensitive information).

15:00:04.0161          GcalSourceDialog:    DEBUG: Detected host: 
'<REMOVED>.pagerduty.com', path: '/<REMOVED>'                          
15:00:04.0162          GcalSourceDialog:    DEBUG: Trying to connect without 
credentials...              
15:00:04.0912          GcalSourceDialog:    DEBUG: [source-dialog] error: 
Failed to get properties: HTTP error code 404 (Not Found): The server responded 
with an HTML page, which can mean there’s an error on the server or with the 
client request. The used URI was: https://<REMOVED>.pagerduty.com/<REMOVED>

Unfortunately, I cannot post PagerDuty URL here because it contains
sensitive information.

I can normally download the calendar via curl. It does not require any
credentials. I'm also importing it into Google Calendar without any
issues. If I create a dummy calendar in Google Calendar and I try to
import it via public URL everything works as expected. I'm having issues
only with importing of the PagerDuty calendar.

I tried to sniff traffic with mitmproxy but I don't see any requests
logged to mitmproxy of URLs I entered to "Add calendar" dialog. Is it
possible that "Add calendar" dialog does not respect proxy
configuration? I wanted to compare what's different in curl vs gnome-
calendar request/response.

Any suggestions how to debug it?

Thanks!

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: gnome-calendar 3.26.2-1
ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
Uname: Linux 4.13.0-16-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.1
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Nov 15 16:40:36 2017
InstallationDate: Installed on 2017-10-21 (25 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
SourcePackage: gnome-calendar
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: gnome-calendar (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug artful wayland-session

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-calendar in Ubuntu.
https://bugs.launchpad.net/bugs/1732496

Title:
  Cannot import calendar from PagerDuty URL

Status in gnome-calendar package in Ubuntu:
  New

Bug description:
  I noticed I cannot import a calendar from PagerDuty
  (https://www.pagerduty.com).

  When I try to add online calendar (Settings -> Add -> From Web) in "Add 
calendar" dialog, button "Add" stays disabled when I enter URL.
  If I download the calendar and add it via "From file" method, everything 
works.

  When I ran gnome-calendar with debug option (--debug) the following
  was logged to the console (I removed all sensitive information).

  15:00:04.0161          GcalSourceDialog:    DEBUG: Detected host: 
'<REMOVED>.pagerduty.com', path: '/<REMOVED>'                          
  15:00:04.0162          GcalSourceDialog:    DEBUG: Trying to connect without 
credentials...              
  15:00:04.0912          GcalSourceDialog:    DEBUG: [source-dialog] error: 
Failed to get properties: HTTP error code 404 (Not Found): The server responded 
with an HTML page, which can mean there’s an error on the server or with the 
client request. The used URI was: https://<REMOVED>.pagerduty.com/<REMOVED>

  Unfortunately, I cannot post PagerDuty URL here because it contains
  sensitive information.

  I can normally download the calendar via curl. It does not require any
  credentials. I'm also importing it into Google Calendar without any
  issues. If I create a dummy calendar in Google Calendar and I try to
  import it via public URL everything works as expected. I'm having
  issues only with importing of the PagerDuty calendar.

  I tried to sniff traffic with mitmproxy but I don't see any requests
  logged to mitmproxy of URLs I entered to "Add calendar" dialog. Is it
  possible that "Add calendar" dialog does not respect proxy
  configuration? I wanted to compare what's different in curl vs gnome-
  calendar request/response.

  Any suggestions how to debug it?

  Thanks!

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: gnome-calendar 3.26.2-1
  ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
  Uname: Linux 4.13.0-16-generic x86_64
  ApportVersion: 2.20.7-0ubuntu3.1
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Wed Nov 15 16:40:36 2017
  InstallationDate: Installed on 2017-10-21 (25 days ago)
  InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
  SourcePackage: gnome-calendar
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-calendar/+bug/1732496/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to