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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: fts-rest 3.6.0
    • Component/s: REST API
    • Security Level: Public Data (This ticket is visible to anyone on the internet and will be indexed by search engines)
    • Labels:
      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

            • Assignee:
              amanzi Andrea Manzi
              Reporter:
              amanzi Andrea Manzi
              Component Watchers:
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: