Uploaded image for project: 'FTS'
  1. FTS
  2. FTS-836

fts-rest-http-authz-signed-cert error when comparing datetimes

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • fts-rest 3.6.0
    • REST API
    • Security Level: Public Data (This ticket is visible to anyone on the internet and will be indexed by search engines)
    • None

    Description

      Just found out this issue, don't know why it was not triggered so far..

      [Mon Dec 19 11:33:13 2016] [error] [client 128.141.150.76] File '/usr/lib/python2.6/site-packages/fts3rest/lib/middleware/fts3auth/methods/http.py', line 72 in do_authentication

      [Mon Dec 19 11:33:13 2016] [error] [client 128.141.150.76] td = datetime.utcnow() - ts
      [Mon Dec 19 11:33:13 2016] [error] [client 128.141.150.76] TypeError: can't subtract offset-naive and offset-aware datetimes

      Attachments

        Activity

          People

            amanzi Andrea Manzi (Inactive)
            amanzi Andrea Manzi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: