Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-2628

OpenID stuff should not be triggered on cron URLs

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • None
    • OpenId Connect

      problem

      In a hosted environment the cron jobs are producing the following error:

      2021-09-16 11:10:50 ERROR E9999 Jumbojett\OpenIDConnectClientException: Curl error: OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to www.XXXXX:443
      5.2.5

      The main problem was here a not properly configured cronIp. Nevermind, if the cron IP is not configured properly, the cron pages should not redirect to the login page (and trigger the openID stuff then) but just report a 401 then - similar as the restcontroller does.

      Solution

      should be easy: Cron Controller should inherit from "ZfExtended_Controller_RestFakeRoute", this must be tested but should fix the problem.

          [TRANSLATE-2628] OpenID stuff should not be triggered on cron URLs

          There are no comments yet on this issue.

            aleksandar Aleksandar Mitrev
            tlauria Thomas Lauria
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: