Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KEDA 2.6.1 Unable to get external metric for AWS SQS. #2632

Closed
vujadeyoon opened this issue Feb 14, 2022 · 7 comments
Closed

KEDA 2.6.1 Unable to get external metric for AWS SQS. #2632

vujadeyoon opened this issue Feb 14, 2022 · 7 comments
Labels
bug Something isn't working

Comments

@vujadeyoon
Copy link

vujadeyoon commented Feb 14, 2022

Report

Dear all,

I try to use the KEDA 2.6.1 for AWS SQS [1]. (I also tried other KEDA versions like 2.4.0, 2.5.0 and 2.6.0, but I got same results form the all KEDA versions.)

After deploying the KEDA 2.6.1 and applying the keda-resource.yaml [2], I got some error as below.

unable to get external metric ns-vujade/s0-aws-sqs-eks-sqs-fifo/&LabelSelector{MatchLabels:map[string]string{scaledobject.keda.sh/name:

You can check it in details in [3].
I also checked previous issues, #868 and #2381, but it can't solve my problem.

Please feel free to contact me via this channel to solve and debug this issue.

Best regards,
Vujadeyoon

[1] https://keda.sh/docs/2.6/scalers/aws-sqs/#scaling-a-deployment-using-iam-users
[2] keda-resource.yaml

apiVersion: v1
kind: Secret
metadata:
  name: secret-keda
  namespace: ns-vujade
data:
  AWS_ACCESS_KEY_ID: <AWS_ACCESS_KEY_ID_THAT_IS_ENCODED_BASE64>
  AWS_SECRET_ACCESS_KEY: <AAWS_SECRET_ACCESS_KEY_THAT_IS_ENCODED_BASE64>
---
apiVersion: keda.sh/v1alpha1
kind: TriggerAuthentication
metadata:
  name: keda-trigger-auth-aws-credentials
  namespace: ns-vujade
spec:
  secretTargetRef:
  - parameter: awsAccessKeyID
    name: secret-keda
    key: AWS_ACCESS_KEY_ID
  - parameter: awsSecretAccessKey
    name: secret-keda
    key: AWS_SECRET_ACCESS_KEY
---
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
  name: aws-sqs-queue-scaledobject
  namespace: ns-vujade
spec:
  scaleTargetRef:
    name: nginx-deployment
  minReplicaCount: 5
  maxReplicaCount: 20
  pollingInterval: 10
  cooldownPeriod:  25
  triggers:
  - type: aws-sqs-queue
    authenticationRef:
      name: keda-trigger-auth-aws-credentials
    metadata:
      queueURL: "https://AWS_SQS_QUEUE_URL"
      queueLength: "2"
      awsRegion: "ap-northeast-2"
      identityOwner: operator

[3] HPA results

$ kubectl get hpa -A
NAMESPACE   NAME                                  REFERENCE                     TARGETS             MINPODS   MAXPODS   REPLICAS   AGE
ns-vujade   keda-hpa-aws-sqs-queue-scaledobject   Deployment/nginx-deployment   <unknown>/2 (avg)   3         36        3          7m50s
$ kubectl describe hpa -A
Name:                                                 keda-hpa-aws-sqs-queue-scaledobject
Namespace:                                            ns-vujade
Labels:                                               app.kubernetes.io/managed-by=keda-operator
                                                      app.kubernetes.io/name=keda-hpa-aws-sqs-queue-scaledobject
                                                      app.kubernetes.io/part-of=aws-sqs-queue-scaledobject
                                                      app.kubernetes.io/version=2.6.1
                                                      scaledobject.keda.sh/name=aws-sqs-queue-scaledobject
Annotations:                                          <none>
CreationTimestamp:                                    Mon, 14 Feb 2022 21:44:39 +0900
Reference:                                            Deployment/nginx-deployment
Metrics:                                              ( current / target )
  "s0-aws-sqs-eks-sqs-fifo" (target average value):  <unknown> / 2
Min replicas:                                         3
Max replicas:                                         36
Deployment pods:                                      3 current / 3 desired
Conditions:
  Type           Status  Reason                   Message
  ----           ------  ------                   -------
  AbleToScale    True    SucceededGetScale        the HPA controller was able to get the target's current scale
  ScalingActive  False   FailedGetExternalMetric  the HPA was unable to compute the replica count: unable to get external metric ns-vujade/s0-aws-sqs-eks-sqs-fifo/&LabelSelector{MatchLabels:map[string]string{scaledobject.keda.sh/name: aws-sqs-queue-scaledobject,},MatchExpressions:[]LabelSelectorRequirement{},}: unable to fetch metrics from external metrics API: no matching metrics found for s0-aws-sqs-eks-sqs-fifo
Events:
  Type     Reason                        Age                     From                       Message
  ----     ------                        ----                    ----                       -------
  Normal   SuccessfulRescale             9m40s                   horizontal-pod-autoscaler  New size: 3; reason: Current number of replicas below Spec.MinReplicas
  Warning  FailedComputeMetricsReplicas  6m38s (x12 over 9m24s)  horizontal-pod-autoscaler  invalid metrics (1 invalid out of 1), first error is: failed to get s0-aws-sqs-eks-sqs-fifo external metric: unable to get external metric ns-vujade/s0-aws-sqs-eks-sqs-fifo/&LabelSelector{MatchLabels:map[string]string{scaledobject.keda.sh/name: aws-sqs-queue-scaledobject,},MatchExpressions:[]LabelSelectorRequirement{},}: unable to fetch metrics from external metrics API: no matching metrics found for s0-aws-sqs-eks-sqs-fifo
  Warning  FailedGetExternalMetric       4m37s (x20 over 9m24s)  horizontal-pod-autoscaler  unable to get external metric ns-vujade/s0-aws-sqs-eks-sqs-fifo/&LabelSelector{MatchLabels:map[string]string{scaledobject.keda.sh/name: aws-sqs-queue-scaledobject,},MatchExpressions:[]LabelSelectorRequirement{},}: unable to fetch metrics from external metrics API: no matching metrics found for s0-aws-sqs-eks-sqs-fifo

Expected Behavior

The error messages which are shown in a following command should not be displayed.
Then, the HPA can work (i.e. scale-out and scale-in) as the queue size in the AWS SQS is increased or decreased.

$ kubectl desribe hpa -A

Actual Behavior

As far as I mentioned above Report section, the actual result (i.e. [3] HPA result) is as below.
Please note that the HPA also doesn't work.

[3] HPA results

$ kubectl get hpa -A
NAMESPACE   NAME                                  REFERENCE                     TARGETS             MINPODS   MAXPODS   REPLICAS   AGE
ns-vujade   keda-hpa-aws-sqs-queue-scaledobject   Deployment/nginx-deployment   <unknown>/2 (avg)   3         36        3          7m50s
$ kubectl describe hpa -A
Name:                                                 keda-hpa-aws-sqs-queue-scaledobject
Namespace:                                            ns-vujade
Labels:                                               app.kubernetes.io/managed-by=keda-operator
                                                      app.kubernetes.io/name=keda-hpa-aws-sqs-queue-scaledobject
                                                      app.kubernetes.io/part-of=aws-sqs-queue-scaledobject
                                                      app.kubernetes.io/version=2.6.1
                                                      scaledobject.keda.sh/name=aws-sqs-queue-scaledobject
Annotations:                                          <none>
CreationTimestamp:                                    Mon, 14 Feb 2022 21:44:39 +0900
Reference:                                            Deployment/nginx-deployment
Metrics:                                              ( current / target )
  "s0-aws-sqs-eks-sqs-fifo" (target average value):  <unknown> / 2
Min replicas:                                         3
Max replicas:                                         36
Deployment pods:                                      3 current / 3 desired
Conditions:
  Type           Status  Reason                   Message
  ----           ------  ------                   -------
  AbleToScale    True    SucceededGetScale        the HPA controller was able to get the target's current scale
  ScalingActive  False   FailedGetExternalMetric  the HPA was unable to compute the replica count: unable to get external metric ns-vujade/s0-aws-sqs-eks-sqs-fifo/&LabelSelector{MatchLabels:map[string]string{scaledobject.keda.sh/name: aws-sqs-queue-scaledobject,},MatchExpressions:[]LabelSelectorRequirement{},}: unable to fetch metrics from external metrics API: no matching metrics found for s0-aws-sqs-eks-sqs-fifo
Events:
  Type     Reason                        Age                     From                       Message
  ----     ------                        ----                    ----                       -------
  Normal   SuccessfulRescale             9m40s                   horizontal-pod-autoscaler  New size: 3; reason: Current number of replicas below Spec.MinReplicas
  Warning  FailedComputeMetricsReplicas  6m38s (x12 over 9m24s)  horizontal-pod-autoscaler  invalid metrics (1 invalid out of 1), first error is: failed to get s0-aws-sqs-eks-sqs-fifo external metric: unable to get external metric ns-vujade/s0-aws-sqs-eks-sqs-fifo/&LabelSelector{MatchLabels:map[string]string{scaledobject.keda.sh/name: aws-sqs-queue-scaledobject,},MatchExpressions:[]LabelSelectorRequirement{},}: unable to fetch metrics from external metrics API: no matching metrics found for s0-aws-sqs-eks-sqs-fifo
  Warning  FailedGetExternalMetric       4m37s (x20 over 9m24s)  horizontal-pod-autoscaler  unable to get external metric ns-vujade/s0-aws-sqs-eks-sqs-fifo/&LabelSelector{MatchLabels:map[string]string{scaledobject.keda.sh/name: aws-sqs-queue-scaledobject,},MatchExpressions:[]LabelSelectorRequirement{},}: unable to fetch metrics from external metrics API: no matching metrics found for s0-aws-sqs-eks-sqs-fifo

Steps to Reproduce the Problem

I attach all commands that I executed.
Please note that I don't set any other IAM role and policy because the official guide does't include handling a IAM role and policy. I just only made a queue (i.e. queue.fifo) in the AWS SQS before executing below commands.

$ wget https://github.com/kedacore/keda/releases/download/v2.6.1/keda-2.6.1.yaml
$ kubectl apply -f keda-2.6.1.yaml
$ kubectl create ns ns-vujade
$ kubectl apply -f kube-resource.yaml # The kube-resource.yaml [2] is attached in the above Report section.
$ kubectl describe hpa -A

Logs from KEDA operator

I attach some logs for referencing the previous issue, #2381.

  1. Log 1.
$ kubectl get --raw "/apis/external.metrics.k8s.io/v1beta1" | jq
{
  "kind": "APIResourceList",
  "apiVersion": "v1",
  "groupVersion": "external.metrics.k8s.io/v1beta1",
  "resources": [
    {
      "name": "s0-aws-sqs-eks-sqs-fifo",
      "singularName": "",
      "namespaced": true,
      "kind": "ExternalMetricValueList",
      "verbs": [
        "get"
      ]
    }
  ]
}
  1. Log 2.
$ kubectl get --raw '/apis/external.metrics.k8s.io/v1beta1' | jq '.resources[].name'
"s0-aws-sqs-eks-sqs-fifo"
  1. Log 3.
$ kubectl logs -n keda keda-metrics-apiserver-59b9ddc78c-7w6lx
I0215 09:17:54.680488       1 main.go:156] keda_metrics_adapter "msg"="KEDA Version: 2.6.1"  
I0215 09:17:54.688369       1 main.go:157] keda_metrics_adapter "msg"="KEDA Commit: efca71d6bc770408468a9e1a4b3984f7136c0967"  
I0215 09:17:54.688392       1 main.go:158] keda_metrics_adapter "msg"="Go Version: go1.17.3"  
I0215 09:17:54.688401       1 main.go:159] keda_metrics_adapter "msg"="Go OS/Arch: linux/amd64"  
I0215 09:17:56.741416       1 request.go:665] Waited for 1.036765813s due to client-side throttling, not priority and fairness, request: GET:https://172.20.0.1:443/apis/extensions/v1beta1?timeout=32s
2022/02/15 09:17:57 Starting metrics server at :9022
I0215 09:18:01.301564       1 logr.go:252] keda_metrics_adapter/controller-runtime/metrics "msg"="Metrics server is starting to listen"  "addr"=":8080"
I0215 09:18:01.302167       1 internal.go:362] keda_metrics_adapter "msg"="Starting server" "addr"={"IP":"::","Port":8080,"Zone":""} "kind"="metrics" "path"="/metrics" 
I0215 09:18:01.303374       1 controller.go:178] keda_metrics_adapter/controller/scaledobject "msg"="Starting EventSource" "reconciler group"="keda.sh" "reconciler kind"="ScaledObject" "source"="kind source: *v1alpha1.ScaledObject"
I0215 09:18:01.303551       1 controller.go:178] keda_metrics_adapter/controller/scaledobject "msg"="Starting EventSource" "reconciler group"="keda.sh" "reconciler kind"="ScaledObject" "source"="kind source: *v1alpha1.ScaledObject"
I0215 09:18:01.303672       1 controller.go:186] keda_metrics_adapter/controller/scaledobject "msg"="Starting Controller" "reconciler group"="keda.sh" "reconciler kind"="ScaledObject" 
I0215 09:18:01.304299       1 provider.go:65] keda_metrics_adapter/provider "msg"="starting"  
I0215 09:18:01.304448       1 main.go:223] keda_metrics_adapter "msg"="starting adapter..."  
I0215 09:18:01.404604       1 controller.go:220] keda_metrics_adapter/controller/scaledobject "msg"="Starting workers" "reconciler group"="keda.sh" "reconciler kind"="ScaledObject" "worker count"=1
I0215 09:18:02.022481       1 serving.go:342] Generated self-signed cert (apiserver.local.config/certificates/apiserver.crt, apiserver.local.config/certificates/apiserver.key)
I0215 09:18:03.081335       1 secure_serving.go:266] Serving securely on [::]:6443
I0215 09:18:03.081534       1 requestheader_controller.go:169] Starting RequestHeaderAuthRequestController
I0215 09:18:03.081628       1 shared_informer.go:240] Waiting for caches to sync for RequestHeaderAuthRequestController
I0215 09:18:03.081740       1 dynamic_serving_content.go:131] "Starting controller" name="serving-cert::apiserver.local.config/certificates/apiserver.crt::apiserver.local.config/certificates/apiserver.key"
I0215 09:18:03.081975       1 tlsconfig.go:240] "Starting DynamicServingCertificateController"
I0215 09:18:03.082081       1 configmap_cafile_content.go:201] "Starting controller" name="client-ca::kube-system::extension-apiserver-authentication::client-ca-file"
I0215 09:18:03.082859       1 shared_informer.go:240] Waiting for caches to sync for client-ca::kube-system::extension-apiserver-authentication::client-ca-file
I0215 09:18:03.082111       1 configmap_cafile_content.go:201] "Starting controller" name="client-ca::kube-system::extension-apiserver-authentication::requestheader-client-ca-file"
I0215 09:18:03.083040       1 shared_informer.go:240] Waiting for caches to sync for client-ca::kube-system::extension-apiserver-authentication::requestheader-client-ca-file
I0215 09:18:03.182581       1 shared_informer.go:247] Caches are synced for RequestHeaderAuthRequestController 
I0215 09:18:03.183729       1 shared_informer.go:247] Caches are synced for client-ca::kube-system::extension-apiserver-authentication::requestheader-client-ca-file 
I0215 09:18:03.183767       1 shared_informer.go:247] Caches are synced for client-ca::kube-system::extension-apiserver-authentication::client-ca-file 
E0215 09:19:24.485298       1 logr.go:270] keda_metrics_adapter/aws_sqs_queue_scaler "msg"="Error getting queue length" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=ced8f3ab550ef54ee337db66dab5b701584f43951788343fb0ed54f66237e56b\" for key Authorization"  
E0215 09:19:24.880140       1 logr.go:270] keda_metrics_adapter/aws_sqs_queue_scaler "msg"="Error getting queue length" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=ced8f3ab550ef54ee337db66dab5b701584f43951788343fb0ed54f66237e56b\" for key Authorization"  
E0215 09:19:24.904335       1 provider.go:124] keda_metrics_adapter/provider "msg"="error getting metric for scaler" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=ced8f3ab550ef54ee337db66dab5b701584f43951788343fb0ed54f66237e56b\" for key Authorization"  "scaledObject.Name"="aws-sqs-queue-scaledobject" "scaledObject.Namespace"="ns-vujade" "scaler"={}
E0215 09:19:24.904620       1 status.go:71] apiserver received an error that is not an metav1.Status: &errors.errorString{s:"no matching metrics found for s0-aws-sqs-eks-sqs-fifo"}: no matching metrics found for s0-aws-sqs-eks-sqs-fifo
I0215 09:19:24.904828       1 trace.go:205] Trace[958141668]: "List" url:/apis/external.metrics.k8s.io/v1beta1/namespaces/ns-vujade/s0-aws-sqs-eks-sqs-fifo,user-agent:kube-controller-manager/v1.21.5 (linux/amd64) kubernetes/5236faf/system:serviceaccount:kube-system:horizontal-pod-autoscaler,audit-id:2b870ea6-5506-48fa-959d-cdeea89159b6,client:172.16.53.176,accept:application/vnd.kubernetes.protobuf, */*,protocol:HTTP/2.0 (15-Feb-2022 09:19:24.152) (total time: 752ms):
Trace[958141668]: [752.434875ms] [752.434875ms] END
E0215 09:19:40.451191       1 logr.go:270] keda_metrics_adapter/aws_sqs_queue_scaler "msg"="Error getting queue length" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=60c66c53449c09c0d76f6aad1fe9bebaf44231dda1d93eca0189f665465ccf45\" for key Authorization"  
E0215 09:19:40.795012       1 logr.go:270] keda_metrics_adapter/aws_sqs_queue_scaler "msg"="Error getting queue length" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=60c66c53449c09c0d76f6aad1fe9bebaf44231dda1d93eca0189f665465ccf45\" for key Authorization"  
E0215 09:19:40.816016       1 provider.go:124] keda_metrics_adapter/provider "msg"="error getting metric for scaler" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=60c66c53449c09c0d76f6aad1fe9bebaf44231dda1d93eca0189f665465ccf45\" for key Authorization"  "scaledObject.Name"="aws-sqs-queue-scaledobject" "scaledObject.Namespace"="ns-vujade" "scaler"={}
E0215 09:19:40.816254       1 status.go:71] apiserver received an error that is not an metav1.Status: &errors.errorString{s:"no matching metrics found for s0-aws-sqs-eks-sqs-fifo"}: no matching metrics found for s0-aws-sqs-eks-sqs-fifo
I0215 09:19:40.816459       1 trace.go:205] Trace[1336260580]: "List" url:/apis/external.metrics.k8s.io/v1beta1/namespaces/ns-vujade/s0-aws-sqs-eks-sqs-fifo,user-agent:kube-controller-manager/v1.21.5 (linux/amd64) kubernetes/5236faf/system:serviceaccount:kube-system:horizontal-pod-autoscaler,audit-id:e6077bdf-24ac-4659-a6f0-0eee419b813c,client:172.16.53.176,accept:application/vnd.kubernetes.protobuf, */*,protocol:HTTP/2.0 (15-Feb-2022 09:19:40.082) (total time: 733ms):
Trace[1336260580]: [733.431394ms] [733.431394ms] END
E0215 09:19:56.193440       1 logr.go:270] keda_metrics_adapter/aws_sqs_queue_scaler "msg"="Error getting queue length" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=19b02985fdb2791f72492fd03db1b3bc38022b369b5f28a9880e93062cdc6c96\" for key Authorization"  
E0215 09:19:56.523949       1 logr.go:270] keda_metrics_adapter/aws_sqs_queue_scaler "msg"="Error getting queue length" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=19b02985fdb2791f72492fd03db1b3bc38022b369b5f28a9880e93062cdc6c96\" for key Authorization"  
E0215 09:19:56.544336       1 provider.go:124] keda_metrics_adapter/provider "msg"="error getting metric for scaler" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=19b02985fdb2791f72492fd03db1b3bc38022b369b5f28a9880e93062cdc6c96\" for key Authorization"  "scaledObject.Name"="aws-sqs-queue-scaledobject" "scaledObject.Namespace"="ns-vujade" "scaler"={}
E0215 09:19:56.544588       1 status.go:71] apiserver received an error that is not an metav1.Status: &errors.errorString{s:"no matching metrics found for s0-aws-sqs-eks-sqs-fifo"}: no matching metrics found for s0-aws-sqs-eks-sqs-fifo
I0215 09:19:56.544784       1 trace.go:205] Trace[234890155]: "List" url:/apis/external.metrics.k8s.io/v1beta1/namespaces/ns-vujade/s0-aws-sqs-eks-sqs-fifo,user-agent:kube-controller-manager/v1.21.5 (linux/amd64) kubernetes/5236faf/system:serviceaccount:kube-system:horizontal-pod-autoscaler,audit-id:78f2e188-e9b2-44f2-b105-d3989f9d1118,client:172.16.53.176,accept:application/vnd.kubernetes.protobuf, */*,protocol:HTTP/2.0 (15-Feb-2022 09:19:55.792) (total time: 752ms):
Trace[234890155]: [752.004749ms] [752.004749ms] END
E0215 09:20:11.982925       1 logr.go:270] keda_metrics_adapter/aws_sqs_queue_scaler "msg"="Error getting queue length" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=728c7dbb6c87bc1540527f56f9d945e4302e403e7dbaaad44123d6d1c30ca94a\" for key Authorization"  
E0215 09:20:12.334833       1 logr.go:270] keda_metrics_adapter/aws_sqs_queue_scaler "msg"="Error getting queue length" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=46e14c43919df310bd8523173d8db68bdc6fb6d39a3f8881c28817cf8f53ee76\" for key Authorization"  
E0215 09:20:12.352718       1 provider.go:124] keda_metrics_adapter/provider "msg"="error getting metric for scaler" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=46e14c43919df310bd8523173d8db68bdc6fb6d39a3f8881c28817cf8f53ee76\" for key Authorization"  "scaledObject.Name"="aws-sqs-queue-scaledobject" "scaledObject.Namespace"="ns-vujade" "scaler"={}
E0215 09:20:12.352962       1 status.go:71] apiserver received an error that is not an metav1.Status: &errors.errorString{s:"no matching metrics found for s0-aws-sqs-eks-sqs-fifo"}: no matching metrics found for s0-aws-sqs-eks-sqs-fifo
I0215 09:20:12.353168       1 trace.go:205] Trace[848331117]: "List" url:/apis/external.metrics.k8s.io/v1beta1/namespaces/ns-vujade/s0-aws-sqs-eks-sqs-fifo,user-agent:kube-controller-manager/v1.21.5 (linux/amd64) kubernetes/5236faf/system:serviceaccount:kube-system:horizontal-pod-autoscaler,audit-id:a8465f07-2f05-4eec-bc75-0225ad54386a,client:172.16.53.176,accept:application/vnd.kubernetes.protobuf, */*,protocol:HTTP/2.0 (15-Feb-2022 09:20:11.600) (total time: 752ms):
Trace[848331117]: [752.865187ms] [752.865187ms] END
E0215 09:20:27.918802       1 logr.go:270] keda_metrics_adapter/aws_sqs_queue_scaler "msg"="Error getting queue length" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=6bfd31fd1156d27674d52cc9deb9180fc40fe24c9d6e2a9d82cb36794ac148ee\" for key Authorization"  
E0215 09:20:28.272261       1 logr.go:270] keda_metrics_adapter/aws_sqs_queue_scaler "msg"="Error getting queue length" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=98989d2124f20f15dcd492d12e99f32a6439f069f6ff3f971b715e9e0fe48536\" for key Authorization"  
E0215 09:20:28.285214       1 provider.go:124] keda_metrics_adapter/provider "msg"="error getting metric for scaler" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=98989d2124f20f15dcd492d12e99f32a6439f069f6ff3f971b715e9e0fe48536\" for key Authorization"  "scaledObject.Name"="aws-sqs-queue-scaledobject" "scaledObject.Namespace"="ns-vujade" "scaler"={}
E0215 09:20:28.288428       1 status.go:71] apiserver received an error that is not an metav1.Status: &errors.errorString{s:"no matching metrics found for s0-aws-sqs-eks-sqs-fifo"}: no matching metrics found for s0-aws-sqs-eks-sqs-fifo
I0215 09:20:28.288630       1 trace.go:205] Trace[1740565586]: "List" url:/apis/external.metrics.k8s.io/v1beta1/namespaces/ns-vujade/s0-aws-sqs-eks-sqs-fifo,user-agent:kube-controller-manager/v1.21.5 (linux/amd64) kubernetes/5236faf/system:serviceaccount:kube-system:horizontal-pod-autoscaler,audit-id:e0908dd2-73d7-4684-84be-140583d2ff77,client:172.16.53.176,accept:application/vnd.kubernetes.protobuf, */*,protocol:HTTP/2.0 (15-Feb-2022 09:20:27.499) (total time: 788ms):
Trace[1740565586]: [788.811823ms] [788.811823ms] END
E0215 09:20:43.753186       1 logr.go:270] keda_metrics_adapter/aws_sqs_queue_scaler "msg"="Error getting queue length" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=8a0840ede18555180428b41a425fd1a2d7b73d0706fcacf6087f3d98313f7b5b\" for key Authorization"  
E0215 09:20:44.096112       1 logr.go:270] keda_metrics_adapter/aws_sqs_queue_scaler "msg"="Error getting queue length" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=3fe9703c80b7ce3c1e2bf4046aefdb25b37d3aa01dad472bdf56d437d030f73f\" for key Authorization"  
E0215 09:20:44.110547       1 provider.go:124] keda_metrics_adapter/provider "msg"="error getting metric for scaler" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=3fe9703c80b7ce3c1e2bf4046aefdb25b37d3aa01dad472bdf56d437d030f73f\" for key Authorization"  "scaledObject.Name"="aws-sqs-queue-scaledobject" "scaledObject.Namespace"="ns-vujade" "scaler"={}
E0215 09:20:44.110791       1 status.go:71] apiserver received an error that is not an metav1.Status: &errors.errorString{s:"no matching metrics found for s0-aws-sqs-eks-sqs-fifo"}: no matching metrics found for s0-aws-sqs-eks-sqs-fifo
I0215 09:20:44.111028       1 trace.go:205] Trace[17732470]: "List" url:/apis/external.metrics.k8s.io/v1beta1/namespaces/ns-vujade/s0-aws-sqs-eks-sqs-fifo,user-agent:kube-controller-manager/v1.21.5 (linux/amd64) kubernetes/5236faf/system:serviceaccount:kube-system:horizontal-pod-autoscaler,audit-id:a0355fa4-f8b1-426c-aa98-d49d1096b031,client:172.16.53.176,accept:application/vnd.kubernetes.protobuf, */*,protocol:HTTP/2.0 (15-Feb-2022 09:20:43.381) (total time: 729ms):
Trace[17732470]: [729.613233ms] [729.613233ms] END
E0215 09:20:59.480302       1 logr.go:270] keda_metrics_adapter/aws_sqs_queue_scaler "msg"="Error getting queue length" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=f809f76241f8316851f34d928d5d76ae676a34c50d99967e32b251e5e88442ca\" for key Authorization"  
E0215 09:20:59.858301       1 logr.go:270] keda_metrics_adapter/aws_sqs_queue_scaler "msg"="Error getting queue length" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=f809f76241f8316851f34d928d5d76ae676a34c50d99967e32b251e5e88442ca\" for key Authorization"  
E0215 09:20:59.877333       1 provider.go:124] keda_metrics_adapter/provider "msg"="error getting metric for scaler" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=f809f76241f8316851f34d928d5d76ae676a34c50d99967e32b251e5e88442ca\" for key Authorization"  "scaledObject.Name"="aws-sqs-queue-scaledobject" "scaledObject.Namespace"="ns-vujade" "scaler"={}
E0215 09:20:59.877581       1 status.go:71] apiserver received an error that is not an metav1.Status: &errors.errorString{s:"no matching metrics found for s0-aws-sqs-eks-sqs-fifo"}: no matching metrics found for s0-aws-sqs-eks-sqs-fifo
I0215 09:20:59.877772       1 trace.go:205] Trace[1967731126]: "List" url:/apis/external.metrics.k8s.io/v1beta1/namespaces/ns-vujade/s0-aws-sqs-eks-sqs-fifo,user-agent:kube-controller-manager/v1.21.5 (linux/amd64) kubernetes/5236faf/system:serviceaccount:kube-system:horizontal-pod-autoscaler,audit-id:c17bbd73-ed0e-4db3-a8cd-659cbf463e7a,client:172.16.53.176,accept:application/vnd.kubernetes.protobuf, */*,protocol:HTTP/2.0 (15-Feb-2022 09:20:59.160) (total time: 717ms):
Trace[1967731126]: [717.521872ms] [717.521872ms] END
E0215 09:21:15.229810       1 logr.go:270] keda_metrics_adapter/aws_sqs_queue_scaler "msg"="Error getting queue length" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=0368c5963ddfece746209182381da1f88caf68edf85125b117694f03ffe5dd1e\" for key Authorization"  
E0215 09:21:15.602270       1 logr.go:270] keda_metrics_adapter/aws_sqs_queue_scaler "msg"="Error getting queue length" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=0368c5963ddfece746209182381da1f88caf68edf85125b117694f03ffe5dd1e\" for key Authorization"  
E0215 09:21:15.619133       1 provider.go:124] keda_metrics_adapter/provider "msg"="error getting metric for scaler" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=0368c5963ddfece746209182381da1f88caf68edf85125b117694f03ffe5dd1e\" for key Authorization"  "scaledObject.Name"="aws-sqs-queue-scaledobject" "scaledObject.Namespace"="ns-vujade" "scaler"={}
E0215 09:21:15.619175       1 status.go:71] apiserver received an error that is not an metav1.Status: &errors.errorString{s:"no matching metrics found for s0-aws-sqs-eks-sqs-fifo"}: no matching metrics found for s0-aws-sqs-eks-sqs-fifo
I0215 09:21:15.619247       1 trace.go:205] Trace[210379554]: "List" url:/apis/external.metrics.k8s.io/v1beta1/namespaces/ns-vujade/s0-aws-sqs-eks-sqs-fifo,user-agent:kube-controller-manager/v1.21.5 (linux/amd64) kubernetes/5236faf/system:serviceaccount:kube-system:horizontal-pod-autoscaler,audit-id:6654f165-bf98-420f-a3b4-85181ec79b50,client:172.16.53.176,accept:application/vnd.kubernetes.protobuf, */*,protocol:HTTP/2.0 (15-Feb-2022 09:21:14.931) (total time: 687ms):
Trace[210379554]: [687.835643ms] [687.835643ms] END
E0215 09:21:31.084812       1 logr.go:270] keda_metrics_adapter/aws_sqs_queue_scaler "msg"="Error getting queue length" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=40309516db35ddea9356717c5ce89faa38d94c71c1b47aac63713b5107e2c1d1\" for key Authorization"  
E0215 09:21:31.436005       1 logr.go:270] keda_metrics_adapter/aws_sqs_queue_scaler "msg"="Error getting queue length" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=40309516db35ddea9356717c5ce89faa38d94c71c1b47aac63713b5107e2c1d1\" for key Authorization"  
E0215 09:21:31.448287       1 provider.go:124] keda_metrics_adapter/provider "msg"="error getting metric for scaler" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=40309516db35ddea9356717c5ce89faa38d94c71c1b47aac63713b5107e2c1d1\" for key Authorization"  "scaledObject.Name"="aws-sqs-queue-scaledobject" "scaledObject.Namespace"="ns-vujade" "scaler"={}
E0215 09:21:31.448326       1 status.go:71] apiserver received an error that is not an metav1.Status: &errors.errorString{s:"no matching metrics found for s0-aws-sqs-eks-sqs-fifo"}: no matching metrics found for s0-aws-sqs-eks-sqs-fifo
I0215 09:21:31.448406       1 trace.go:205] Trace[791501469]: "List" url:/apis/external.metrics.k8s.io/v1beta1/namespaces/ns-vujade/s0-aws-sqs-eks-sqs-fifo,user-agent:kube-controller-manager/v1.21.5 (linux/amd64) kubernetes/5236faf/system:serviceaccount:kube-system:horizontal-pod-autoscaler,audit-id:ee17c983-996d-4791-a86d-e644119edea7,client:172.16.53.176,accept:application/vnd.kubernetes.protobuf, */*,protocol:HTTP/2.0 (15-Feb-2022 09:21:30.721) (total time: 726ms):
Trace[791501469]: [726.966934ms] [726.966934ms] END
E0215 09:21:46.871139       1 logr.go:270] keda_metrics_adapter/aws_sqs_queue_scaler "msg"="Error getting queue length" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=c5534cac2e976ffec317c3548ca950d80727ca59b5915d30a0f5b58634337701\" for key Authorization"  
E0215 09:21:47.217871       1 logr.go:270] keda_metrics_adapter/aws_sqs_queue_scaler "msg"="Error getting queue length" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=481c9e3224e16c9c75ffb75176bec4d233d08527d5f22cc480c775e5e4ad894c\" for key Authorization"  
E0215 09:21:47.231783       1 provider.go:124] keda_metrics_adapter/provider "msg"="error getting metric for scaler" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=481c9e3224e16c9c75ffb75176bec4d233d08527d5f22cc480c775e5e4ad894c\" for key Authorization"  "scaledObject.Name"="aws-sqs-queue-scaledobject" "scaledObject.Namespace"="ns-vujade" "scaler"={}
E0215 09:21:47.231828       1 status.go:71] apiserver received an error that is not an metav1.Status: &errors.errorString{s:"no matching metrics found for s0-aws-sqs-eks-sqs-fifo"}: no matching metrics found for s0-aws-sqs-eks-sqs-fifo
I0215 09:21:47.231899       1 trace.go:205] Trace[829451022]: "List" url:/apis/external.metrics.k8s.io/v1beta1/namespaces/ns-vujade/s0-aws-sqs-eks-sqs-fifo,user-agent:kube-controller-manager/v1.21.5 (linux/amd64) kubernetes/5236faf/system:serviceaccount:kube-system:horizontal-pod-autoscaler,audit-id:42374227-f329-4c40-b153-0dbac431bbc6,client:172.16.53.176,accept:application/vnd.kubernetes.protobuf, */*,protocol:HTTP/2.0 (15-Feb-2022 09:21:46.481) (total time: 750ms):
Trace[829451022]: [750.661175ms] [750.661175ms] END
E0215 09:22:02.573543       1 logr.go:270] keda_metrics_adapter/aws_sqs_queue_scaler "msg"="Error getting queue length" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=ada38e44396ce3dab6f97a3909843815a701b27fbefe911bc955bfc3347c3c58\" for key Authorization"  
E0215 09:22:02.842293       1 logr.go:270] keda_metrics_adapter/aws_sqs_queue_scaler "msg"="Error getting queue length" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=ada38e44396ce3dab6f97a3909843815a701b27fbefe911bc955bfc3347c3c58\" for key Authorization"  
E0215 09:22:02.856924       1 provider.go:124] keda_metrics_adapter/provider "msg"="error getting metric for scaler" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=ada38e44396ce3dab6f97a3909843815a701b27fbefe911bc955bfc3347c3c58\" for key Authorization"  "scaledObject.Name"="aws-sqs-queue-scaledobject" "scaledObject.Namespace"="ns-vujade" "scaler"={}
E0215 09:22:02.856994       1 status.go:71] apiserver received an error that is not an metav1.Status: &errors.errorString{s:"no matching metrics found for s0-aws-sqs-eks-sqs-fifo"}: no matching metrics found for s0-aws-sqs-eks-sqs-fifo
I0215 09:22:02.857070       1 trace.go:205] Trace[1609349111]: "List" url:/apis/external.metrics.k8s.io/v1beta1/namespaces/ns-vujade/s0-aws-sqs-eks-sqs-fifo,user-agent:kube-controller-manager/v1.21.5 (linux/amd64) kubernetes/5236faf/system:serviceaccount:kube-system:horizontal-pod-autoscaler,audit-id:f918057b-2d50-461b-9018-81d50ec6129b,client:172.16.53.176,accept:application/vnd.kubernetes.protobuf, */*,protocol:HTTP/2.0 (15-Feb-2022 09:22:02.304) (total time: 552ms):
Trace[1609349111]: [552.712812ms] [552.712812ms] END
E0215 09:22:18.303696       1 logr.go:270] keda_metrics_adapter/aws_sqs_queue_scaler "msg"="Error getting queue length" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=ecb582085a28d99eaad107780e05a78dc45b6e890b4d05071aacf3b2a44aff24\" for key Authorization"  
E0215 09:22:18.551517       1 logr.go:270] keda_metrics_adapter/aws_sqs_queue_scaler "msg"="Error getting queue length" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=ecb582085a28d99eaad107780e05a78dc45b6e890b4d05071aacf3b2a44aff24\" for key Authorization"  
E0215 09:22:18.573421       1 provider.go:124] keda_metrics_adapter/provider "msg"="error getting metric for scaler" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=ecb582085a28d99eaad107780e05a78dc45b6e890b4d05071aacf3b2a44aff24\" for key Authorization"  "scaledObject.Name"="aws-sqs-queue-scaledobject" "scaledObject.Namespace"="ns-vujade" "scaler"={}
E0215 09:22:18.573465       1 status.go:71] apiserver received an error that is not an metav1.Status: &errors.errorString{s:"no matching metrics found for s0-aws-sqs-eks-sqs-fifo"}: no matching metrics found for s0-aws-sqs-eks-sqs-fifo
I0215 09:22:18.573533       1 trace.go:205] Trace[1837761765]: "List" url:/apis/external.metrics.k8s.io/v1beta1/namespaces/ns-vujade/s0-aws-sqs-eks-sqs-fifo,user-agent:kube-controller-manager/v1.21.5 (linux/amd64) kubernetes/5236faf/system:serviceaccount:kube-system:horizontal-pod-autoscaler,audit-id:175525b1-8443-4b79-9dc5-30ea6f6563fd,client:172.16.53.176,accept:application/vnd.kubernetes.protobuf, */*,protocol:HTTP/2.0 (15-Feb-2022 09:22:17.902) (total time: 671ms):
Trace[1837761765]: [671.398129ms] [671.398129ms] END
E0215 09:22:33.986931       1 logr.go:270] keda_metrics_adapter/aws_sqs_queue_scaler "msg"="Error getting queue length" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=b694988c1bb6590556942cc6d924942bd851723f3bed502ab0d10824afdee52c\" for key Authorization"  
E0215 09:22:34.302040       1 logr.go:270] keda_metrics_adapter/aws_sqs_queue_scaler "msg"="Error getting queue length" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=b5ca691c0941981db4f2b319e651d514b21b1c613acd52d4dc69e87c37f91763\" for key Authorization"  
E0215 09:22:34.332028       1 provider.go:124] keda_metrics_adapter/provider "msg"="error getting metric for scaler" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=b5ca691c0941981db4f2b319e651d514b21b1c613acd52d4dc69e87c37f91763\" for key Authorization"  "scaledObject.Name"="aws-sqs-queue-scaledobject" "scaledObject.Namespace"="ns-vujade" "scaler"={}
E0215 09:22:34.332067       1 status.go:71] apiserver received an error that is not an metav1.Status: &errors.errorString{s:"no matching metrics found for s0-aws-sqs-eks-sqs-fifo"}: no matching metrics found for s0-aws-sqs-eks-sqs-fifo
I0215 09:22:34.332141       1 trace.go:205] Trace[1162844621]: "List" url:/apis/external.metrics.k8s.io/v1beta1/namespaces/ns-vujade/s0-aws-sqs-eks-sqs-fifo,user-agent:kube-controller-manager/v1.21.5 (linux/amd64) kubernetes/5236faf/system:serviceaccount:kube-system:horizontal-pod-autoscaler,audit-id:3db20d87-7ae6-45a9-91c8-faa4346ee0b5,client:172.16.53.176,accept:application/vnd.kubernetes.protobuf, */*,protocol:HTTP/2.0 (15-Feb-2022 09:22:33.647) (total time: 685ms):
Trace[1162844621]: [685.036336ms] [685.036336ms] END
E0215 09:22:49.714199       1 logr.go:270] keda_metrics_adapter/aws_sqs_queue_scaler "msg"="Error getting queue length" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=c455025905f5c1526fbb42e84414743cb89e2beb03b55f70940da3443cabbdf9\" for key Authorization"  
E0215 09:22:50.068982       1 logr.go:270] keda_metrics_adapter/aws_sqs_queue_scaler "msg"="Error getting queue length" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=7c4e830f8592b25e12d7b1ffb2237b1b1e912ddf5a26dfa1f1a904ad0357f356\" for key Authorization"  
E0215 09:22:50.084518       1 provider.go:124] keda_metrics_adapter/provider "msg"="error getting metric for scaler" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=7c4e830f8592b25e12d7b1ffb2237b1b1e912ddf5a26dfa1f1a904ad0357f356\" for key Authorization"  "scaledObject.Name"="aws-sqs-queue-scaledobject" "scaledObject.Namespace"="ns-vujade" "scaler"={}
E0215 09:22:50.084561       1 status.go:71] apiserver received an error that is not an metav1.Status: &errors.errorString{s:"no matching metrics found for s0-aws-sqs-eks-sqs-fifo"}: no matching metrics found for s0-aws-sqs-eks-sqs-fifo
I0215 09:22:50.084626       1 trace.go:205] Trace[171033010]: "List" url:/apis/external.metrics.k8s.io/v1beta1/namespaces/ns-vujade/s0-aws-sqs-eks-sqs-fifo,user-agent:kube-controller-manager/v1.21.5 (linux/amd64) kubernetes/5236faf/system:serviceaccount:kube-system:horizontal-pod-autoscaler,audit-id:d1573281-8a89-45ac-b28a-0457213fce05,client:172.16.53.176,accept:application/vnd.kubernetes.protobuf, */*,protocol:HTTP/2.0 (15-Feb-2022 09:22:49.361) (total time: 722ms):
Trace[171033010]: [722.98846ms] [722.98846ms] END
E0215 09:23:05.527778       1 logr.go:270] keda_metrics_adapter/aws_sqs_queue_scaler "msg"="Error getting queue length" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=cb36a6e8e3c901c5ecfe02d1c39458d3c8459d1ab818136b024ac6251d290fda\" for key Authorization"  
E0215 09:23:05.913877       1 logr.go:270] keda_metrics_adapter/aws_sqs_queue_scaler "msg"="Error getting queue length" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=cb36a6e8e3c901c5ecfe02d1c39458d3c8459d1ab818136b024ac6251d290fda\" for key Authorization"  
E0215 09:23:05.938218       1 provider.go:124] keda_metrics_adapter/provider "msg"="error getting metric for scaler" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=cb36a6e8e3c901c5ecfe02d1c39458d3c8459d1ab818136b024ac6251d290fda\" for key Authorization"  "scaledObject.Name"="aws-sqs-queue-scaledobject" "scaledObject.Namespace"="ns-vujade" "scaler"={}
E0215 09:23:05.938261       1 status.go:71] apiserver received an error that is not an metav1.Status: &errors.errorString{s:"no matching metrics found for s0-aws-sqs-eks-sqs-fifo"}: no matching metrics found for s0-aws-sqs-eks-sqs-fifo
I0215 09:23:05.938324       1 trace.go:205] Trace[1831317408]: "List" url:/apis/external.metrics.k8s.io/v1beta1/namespaces/ns-vujade/s0-aws-sqs-eks-sqs-fifo,user-agent:kube-controller-manager/v1.21.5 (linux/amd64) kubernetes/5236faf/system:serviceaccount:kube-system:horizontal-pod-autoscaler,audit-id:0487ff08-3749-44b8-9b65-ee69cb9271fb,client:172.16.53.176,accept:application/vnd.kubernetes.protobuf, */*,protocol:HTTP/2.0 (15-Feb-2022 09:23:05.183) (total time: 754ms):
Trace[1831317408]: [754.948758ms] [754.948758ms] END
  1. Log 4.
$ kubectl logs -n keda keda-operator-f76d844d7-2qxq7 -c keda-operator
I0215 09:17:56.688492       1 request.go:665] Waited for 1.05082858s due to client-side throttling, not priority and fairness, request: GET:https://172.20.0.1:443/apis/extensions/v1beta1?timeout=32s
1.6449166779548323e+09	INFO	controller-runtime.metrics	Metrics server is starting to listen	{"addr": ":8080"}
1.6449166779605381e+09	INFO	setup	Running on Kubernetes 1.21+	{"version": "v1.21.5-eks-bc4871b"}
1.6449166779609077e+09	INFO	setup	Starting manager
1.6449166779610314e+09	INFO	setup	KEDA Version: 2.6.1
1.6449166779611068e+09	INFO	setup	Git Commit: efca71d6bc770408468a9e1a4b3984f7136c0967
1.6449166779611938e+09	INFO	setup	Go Version: go1.17.3
1.6449166779612668e+09	INFO	setup	Go OS/Arch: linux/amd64
1.6449166779615462e+09	INFO	Starting server	{"path": "/metrics", "kind": "metrics", "addr": "[::]:8080"}
1.644916677961687e+09	INFO	Starting server	{"kind": "health probe", "addr": "[::]:8081"}
I0215 09:17:57.961832       1 leaderelection.go:248] attempting to acquire leader lease keda/operator.keda.sh...
I0215 09:17:57.995169       1 leaderelection.go:258] successfully acquired lease keda/operator.keda.sh
1.6449166779955356e+09	INFO	controller.scaledobject	Starting EventSource	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "source": "kind source: *v1alpha1.ScaledObject"}
1.6449166779956923e+09	INFO	controller.scaledobject	Starting EventSource	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "source": "kind source: *v2beta2.HorizontalPodAutoscaler"}
1.6449166779957774e+09	INFO	controller.scaledobject	Starting Controller	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject"}
1.644916677997331e+09	INFO	controller.triggerauthentication	Starting EventSource	{"reconciler group": "keda.sh", "reconciler kind": "TriggerAuthentication", "source": "kind source: *v1alpha1.TriggerAuthentication"}
1.6449166779974787e+09	INFO	controller.triggerauthentication	Starting Controller	{"reconciler group": "keda.sh", "reconciler kind": "TriggerAuthentication"}
1.6449166779980884e+09	INFO	controller.scaledjob	Starting EventSource	{"reconciler group": "keda.sh", "reconciler kind": "ScaledJob", "source": "kind source: *v1alpha1.ScaledJob"}
1.6449166779982698e+09	INFO	controller.scaledjob	Starting Controller	{"reconciler group": "keda.sh", "reconciler kind": "ScaledJob"}
1.644916677999333e+09	INFO	controller.clustertriggerauthentication	Starting EventSource	{"reconciler group": "keda.sh", "reconciler kind": "ClusterTriggerAuthentication", "source": "kind source: *v1alpha1.ClusterTriggerAuthentication"}
1.6449166779994884e+09	INFO	controller.clustertriggerauthentication	Starting Controller	{"reconciler group": "keda.sh", "reconciler kind": "ClusterTriggerAuthentication"}
1.6449166783084116e+09	INFO	controller.triggerauthentication	Starting workers	{"reconciler group": "keda.sh", "reconciler kind": "TriggerAuthentication", "worker count": 1}
1.6449166783090336e+09	INFO	controller.scaledjob	Starting workers	{"reconciler group": "keda.sh", "reconciler kind": "ScaledJob", "worker count": 1}
1.6449166783090649e+09	INFO	controller.scaledobject	Starting workers	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "worker count": 5}
1.6449166783091316e+09	INFO	controller.scaledobject	Reconciling ScaledObject	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade"}
1.644916678309137e+09	INFO	controller.scaledobject	Adding Finalizer for the ScaledObject	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade"}
1.644916678308955e+09	INFO	controller.clustertriggerauthentication	Starting workers	{"reconciler group": "keda.sh", "reconciler kind": "ClusterTriggerAuthentication", "worker count": 1}
1.6449166783731208e+09	ERROR	controller.scaledobject	Target resource doesn't exist	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "resource": "apps/v1.Deployment", "name": "nginx-deployment", "error": "deployments.apps \"nginx-deployment\" not found"}
github.com/kedacore/keda/v2/controllers/keda.(*ScaledObjectReconciler).reconcileScaledObject
	/workspace/controllers/keda/scaledobject_controller.go:218
github.com/kedacore/keda/v2/controllers/keda.(*ScaledObjectReconciler).Reconcile
	/workspace/controllers/keda/scaledobject_controller.go:180
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:114
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:311
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.6449166783734355e+09	ERROR	controller.scaledobject	ScaledObject doesn't have correct scaleTargetRef specification	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "error": "deployments.apps \"nginx-deployment\" not found"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:114
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:311
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.6449166783844352e+09	ERROR	controller.scaledobject	Reconciler error	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "error": "deployments.apps \"nginx-deployment\" not found"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.644916678390249e+09	INFO	controller.scaledobject	Reconciling ScaledObject	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade"}
1.6449166784008455e+09	ERROR	controller.scaledobject	Target resource doesn't exist	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "resource": "apps/v1.Deployment", "name": "nginx-deployment", "error": "deployments.apps \"nginx-deployment\" not found"}
github.com/kedacore/keda/v2/controllers/keda.(*ScaledObjectReconciler).reconcileScaledObject
	/workspace/controllers/keda/scaledobject_controller.go:218
github.com/kedacore/keda/v2/controllers/keda.(*ScaledObjectReconciler).Reconcile
	/workspace/controllers/keda/scaledobject_controller.go:180
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:114
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:311
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.6449166784010918e+09	ERROR	controller.scaledobject	ScaledObject doesn't have correct scaleTargetRef specification	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "error": "deployments.apps \"nginx-deployment\" not found"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:114
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:311
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.6449166784104378e+09	ERROR	controller.scaledobject	Reconciler error	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "error": "deployments.apps \"nginx-deployment\" not found"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.6449166784238238e+09	INFO	controller.scaledobject	Reconciling ScaledObject	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade"}
1.6449166784331176e+09	ERROR	controller.scaledobject	Target resource doesn't exist	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "resource": "apps/v1.Deployment", "name": "nginx-deployment", "error": "deployments.apps \"nginx-deployment\" not found"}
github.com/kedacore/keda/v2/controllers/keda.(*ScaledObjectReconciler).reconcileScaledObject
	/workspace/controllers/keda/scaledobject_controller.go:218
github.com/kedacore/keda/v2/controllers/keda.(*ScaledObjectReconciler).Reconcile
	/workspace/controllers/keda/scaledobject_controller.go:180
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:114
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:311
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.6449166784333365e+09	ERROR	controller.scaledobject	ScaledObject doesn't have correct scaleTargetRef specification	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "error": "deployments.apps \"nginx-deployment\" not found"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:114
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:311
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.6449166784458876e+09	ERROR	controller.scaledobject	Reconciler error	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "error": "deployments.apps \"nginx-deployment\" not found"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.6449166784663002e+09	INFO	controller.scaledobject	Reconciling ScaledObject	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade"}
1.6449166784764636e+09	ERROR	controller.scaledobject	Target resource doesn't exist	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "resource": "apps/v1.Deployment", "name": "nginx-deployment", "error": "deployments.apps \"nginx-deployment\" not found"}
github.com/kedacore/keda/v2/controllers/keda.(*ScaledObjectReconciler).reconcileScaledObject
	/workspace/controllers/keda/scaledobject_controller.go:218
github.com/kedacore/keda/v2/controllers/keda.(*ScaledObjectReconciler).Reconcile
	/workspace/controllers/keda/scaledobject_controller.go:180
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:114
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:311
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.644916678476682e+09	ERROR	controller.scaledobject	ScaledObject doesn't have correct scaleTargetRef specification	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "error": "deployments.apps \"nginx-deployment\" not found"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:114
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:311
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.6449166784867759e+09	ERROR	controller.scaledobject	Reconciler error	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "error": "deployments.apps \"nginx-deployment\" not found"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.6449166785275755e+09	INFO	controller.scaledobject	Reconciling ScaledObject	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade"}
1.6449166785375752e+09	ERROR	controller.scaledobject	Target resource doesn't exist	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "resource": "apps/v1.Deployment", "name": "nginx-deployment", "error": "deployments.apps \"nginx-deployment\" not found"}
github.com/kedacore/keda/v2/controllers/keda.(*ScaledObjectReconciler).reconcileScaledObject
	/workspace/controllers/keda/scaledobject_controller.go:218
github.com/kedacore/keda/v2/controllers/keda.(*ScaledObjectReconciler).Reconcile
	/workspace/controllers/keda/scaledobject_controller.go:180
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:114
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:311
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.6449166785377982e+09	ERROR	controller.scaledobject	ScaledObject doesn't have correct scaleTargetRef specification	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "error": "deployments.apps \"nginx-deployment\" not found"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:114
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:311
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.644916678549021e+09	ERROR	controller.scaledobject	Reconciler error	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "error": "deployments.apps \"nginx-deployment\" not found"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.6449166786299403e+09	INFO	controller.scaledobject	Reconciling ScaledObject	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade"}
1.6449166786401806e+09	ERROR	controller.scaledobject	Target resource doesn't exist	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "resource": "apps/v1.Deployment", "name": "nginx-deployment", "error": "deployments.apps \"nginx-deployment\" not found"}
github.com/kedacore/keda/v2/controllers/keda.(*ScaledObjectReconciler).reconcileScaledObject
	/workspace/controllers/keda/scaledobject_controller.go:218
github.com/kedacore/keda/v2/controllers/keda.(*ScaledObjectReconciler).Reconcile
	/workspace/controllers/keda/scaledobject_controller.go:180
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:114
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:311
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.6449166786402183e+09	ERROR	controller.scaledobject	ScaledObject doesn't have correct scaleTargetRef specification	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "error": "deployments.apps \"nginx-deployment\" not found"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:114
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:311
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.6449166786519408e+09	ERROR	controller.scaledobject	Reconciler error	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "error": "deployments.apps \"nginx-deployment\" not found"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.6449166788124824e+09	INFO	controller.scaledobject	Reconciling ScaledObject	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade"}
1.6449166788233337e+09	ERROR	controller.scaledobject	Target resource doesn't exist	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "resource": "apps/v1.Deployment", "name": "nginx-deployment", "error": "deployments.apps \"nginx-deployment\" not found"}
github.com/kedacore/keda/v2/controllers/keda.(*ScaledObjectReconciler).reconcileScaledObject
	/workspace/controllers/keda/scaledobject_controller.go:218
github.com/kedacore/keda/v2/controllers/keda.(*ScaledObjectReconciler).Reconcile
	/workspace/controllers/keda/scaledobject_controller.go:180
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:114
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:311
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.6449166788236234e+09	ERROR	controller.scaledobject	ScaledObject doesn't have correct scaleTargetRef specification	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "error": "deployments.apps \"nginx-deployment\" not found"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:114
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:311
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.6449166788339937e+09	ERROR	controller.scaledobject	Reconciler error	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "error": "deployments.apps \"nginx-deployment\" not found"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.6449166791545703e+09	INFO	controller.scaledobject	Reconciling ScaledObject	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade"}
1.6449166791658611e+09	ERROR	controller.scaledobject	Target resource doesn't exist	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "resource": "apps/v1.Deployment", "name": "nginx-deployment", "error": "deployments.apps \"nginx-deployment\" not found"}
github.com/kedacore/keda/v2/controllers/keda.(*ScaledObjectReconciler).reconcileScaledObject
	/workspace/controllers/keda/scaledobject_controller.go:218
github.com/kedacore/keda/v2/controllers/keda.(*ScaledObjectReconciler).Reconcile
	/workspace/controllers/keda/scaledobject_controller.go:180
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:114
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:311
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.644916679166145e+09	ERROR	controller.scaledobject	ScaledObject doesn't have correct scaleTargetRef specification	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "error": "deployments.apps \"nginx-deployment\" not found"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:114
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:311
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.6449166791754608e+09	ERROR	controller.scaledobject	Reconciler error	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "error": "deployments.apps \"nginx-deployment\" not found"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.6449166798158689e+09	INFO	controller.scaledobject	Reconciling ScaledObject	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade"}
1.6449166798264513e+09	ERROR	controller.scaledobject	Target resource doesn't exist	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "resource": "apps/v1.Deployment", "name": "nginx-deployment", "error": "deployments.apps \"nginx-deployment\" not found"}
github.com/kedacore/keda/v2/controllers/keda.(*ScaledObjectReconciler).reconcileScaledObject
	/workspace/controllers/keda/scaledobject_controller.go:218
github.com/kedacore/keda/v2/controllers/keda.(*ScaledObjectReconciler).Reconcile
	/workspace/controllers/keda/scaledobject_controller.go:180
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:114
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:311
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.6449166798267298e+09	ERROR	controller.scaledobject	ScaledObject doesn't have correct scaleTargetRef specification	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "error": "deployments.apps \"nginx-deployment\" not found"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:114
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:311
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.6449166798384502e+09	ERROR	controller.scaledobject	Reconciler error	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "error": "deployments.apps \"nginx-deployment\" not found"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.6449166811194282e+09	INFO	controller.scaledobject	Reconciling ScaledObject	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade"}
1.6449166811322055e+09	ERROR	controller.scaledobject	Target resource doesn't exist	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "resource": "apps/v1.Deployment", "name": "nginx-deployment", "error": "deployments.apps \"nginx-deployment\" not found"}
github.com/kedacore/keda/v2/controllers/keda.(*ScaledObjectReconciler).reconcileScaledObject
	/workspace/controllers/keda/scaledobject_controller.go:218
github.com/kedacore/keda/v2/controllers/keda.(*ScaledObjectReconciler).Reconcile
	/workspace/controllers/keda/scaledobject_controller.go:180
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:114
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:311
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.6449166811324992e+09	ERROR	controller.scaledobject	ScaledObject doesn't have correct scaleTargetRef specification	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "error": "deployments.apps \"nginx-deployment\" not found"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:114
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:311
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.644916681143119e+09	ERROR	controller.scaledobject	Reconciler error	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "error": "deployments.apps \"nginx-deployment\" not found"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.644916683706391e+09	INFO	controller.scaledobject	Reconciling ScaledObject	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade"}
1.6449166837207885e+09	ERROR	controller.scaledobject	Target resource doesn't exist	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "resource": "apps/v1.Deployment", "name": "nginx-deployment", "error": "deployments.apps \"nginx-deployment\" not found"}
github.com/kedacore/keda/v2/controllers/keda.(*ScaledObjectReconciler).reconcileScaledObject
	/workspace/controllers/keda/scaledobject_controller.go:218
github.com/kedacore/keda/v2/controllers/keda.(*ScaledObjectReconciler).Reconcile
	/workspace/controllers/keda/scaledobject_controller.go:180
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:114
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:311
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.6449166837208524e+09	ERROR	controller.scaledobject	ScaledObject doesn't have correct scaleTargetRef specification	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "error": "deployments.apps \"nginx-deployment\" not found"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:114
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:311
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.6449166837422774e+09	ERROR	controller.scaledobject	Reconciler error	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "error": "deployments.apps \"nginx-deployment\" not found"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.6449166888626878e+09	INFO	controller.scaledobject	Reconciling ScaledObject	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade"}
1.6449166888781033e+09	ERROR	controller.scaledobject	Target resource doesn't exist	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "resource": "apps/v1.Deployment", "name": "nginx-deployment", "error": "deployments.apps \"nginx-deployment\" not found"}
github.com/kedacore/keda/v2/controllers/keda.(*ScaledObjectReconciler).reconcileScaledObject
	/workspace/controllers/keda/scaledobject_controller.go:218
github.com/kedacore/keda/v2/controllers/keda.(*ScaledObjectReconciler).Reconcile
	/workspace/controllers/keda/scaledobject_controller.go:180
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:114
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:311
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.6449166888783512e+09	ERROR	controller.scaledobject	ScaledObject doesn't have correct scaleTargetRef specification	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "error": "deployments.apps \"nginx-deployment\" not found"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:114
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:311
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.6449166888910668e+09	ERROR	controller.scaledobject	Reconciler error	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "error": "deployments.apps \"nginx-deployment\" not found"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.6449166991317225e+09	INFO	controller.scaledobject	Reconciling ScaledObject	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade"}
1.6449166991497848e+09	ERROR	controller.scaledobject	Target resource doesn't exist	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "resource": "apps/v1.Deployment", "name": "nginx-deployment", "error": "deployments.apps \"nginx-deployment\" not found"}
github.com/kedacore/keda/v2/controllers/keda.(*ScaledObjectReconciler).reconcileScaledObject
	/workspace/controllers/keda/scaledobject_controller.go:218
github.com/kedacore/keda/v2/controllers/keda.(*ScaledObjectReconciler).Reconcile
	/workspace/controllers/keda/scaledobject_controller.go:180
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:114
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:311
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.6449166991500556e+09	ERROR	controller.scaledobject	ScaledObject doesn't have correct scaleTargetRef specification	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "error": "deployments.apps \"nginx-deployment\" not found"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:114
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:311
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.6449166991616836e+09	ERROR	controller.scaledobject	Reconciler error	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "error": "deployments.apps \"nginx-deployment\" not found"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.6449167196420517e+09	INFO	controller.scaledobject	Reconciling ScaledObject	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade"}
1.6449167196591384e+09	ERROR	controller.scaledobject	Target resource doesn't exist	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "resource": "apps/v1.Deployment", "name": "nginx-deployment", "error": "deployments.apps \"nginx-deployment\" not found"}
github.com/kedacore/keda/v2/controllers/keda.(*ScaledObjectReconciler).reconcileScaledObject
	/workspace/controllers/keda/scaledobject_controller.go:218
github.com/kedacore/keda/v2/controllers/keda.(*ScaledObjectReconciler).Reconcile
	/workspace/controllers/keda/scaledobject_controller.go:180
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:114
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:311
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.6449167196594036e+09	ERROR	controller.scaledobject	ScaledObject doesn't have correct scaleTargetRef specification	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "error": "deployments.apps \"nginx-deployment\" not found"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:114
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:311
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.644916719671888e+09	ERROR	controller.scaledobject	Reconciler error	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "error": "deployments.apps \"nginx-deployment\" not found"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:266
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.11.0/pkg/internal/controller/controller.go:227
1.644916748818048e+09	INFO	controller.scaledobject	Reconciling ScaledObject	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade"}
1.6449167488427017e+09	INFO	controller.scaledobject	Detected resource targeted for scaling	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "resource": "apps/v1.Deployment", "name": "nginx-deployment"}
1.644916748842974e+09	INFO	controller.scaledobject	Creating a new HPA	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade", "HPA.Namespace": "ns-vujade", "HPA.Name": "keda-hpa-aws-sqs-queue-scaledobject"}
1.6449167490650306e+09	INFO	controller.scaledobject	Initializing Scaling logic according to ScaledObject Specification	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade"}
1.644916749077895e+09	INFO	controller.scaledobject	Reconciling ScaledObject	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade"}
1.6449167497783139e+09	ERROR	scalehandler	Error getting scale decision	{"scaledobject.Name": "aws-sqs-queue-scaledobject", "scaledObject.Namespace": "ns-vujade", "scaleTarget.Name": "nginx-deployment", "error": "RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=9516f02c5f76a969f0631e6ced1301eb314a22ca1357668a184729fcd59e4a35\" for key Authorization"}
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).checkScalers
	/workspace/pkg/scaling/scale_handler.go:278
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).startScaleLoop
	/workspace/pkg/scaling/scale_handler.go:149
1.6449167606320455e+09	INFO	controller.scaledobject	Reconciling ScaledObject	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade"}
1.644916764920931e+09	INFO	controller.scaledobject	Reconciling ScaledObject	{"reconciler group": "keda.sh", "reconciler kind": "ScaledObject", "name": "aws-sqs-queue-scaledobject", "namespace": "ns-vujade"}
1.6449167796160414e+09	ERROR	scalehandler	Error getting scale decision	{"scaledobject.Name": "aws-sqs-queue-scaledobject", "scaledObject.Namespace": "ns-vujade", "scaleTarget.Name": "nginx-deployment", "error": "RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=9e6576b539b4201b55ab865728d6812dbb4d2bf3c9e70b75a2a174bc45a8ecc3\" for key Authorization"}
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).checkScalers
	/workspace/pkg/scaling/scale_handler.go:278
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).startScaleLoop
	/workspace/pkg/scaling/scale_handler.go:149
1.6449168096595736e+09	ERROR	scalehandler	Error getting scale decision	{"scaledobject.Name": "aws-sqs-queue-scaledobject", "scaledObject.Namespace": "ns-vujade", "scaleTarget.Name": "nginx-deployment", "error": "RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=5392e8cc72c7137f92a821a0c68e3cc18a302e15b7cc1404b56ba11fdbcef320\" for key Authorization"}
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).checkScalers
	/workspace/pkg/scaling/scale_handler.go:278
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).startScaleLoop
	/workspace/pkg/scaling/scale_handler.go:149
1.6449168397181175e+09	ERROR	scalehandler	Error getting scale decision	{"scaledobject.Name": "aws-sqs-queue-scaledobject", "scaledObject.Namespace": "ns-vujade", "scaleTarget.Name": "nginx-deployment", "error": "RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=0a9512f015f5f58551825a2a39068cac9e261ac690baa9dfc19b841a133d2d4d\" for key Authorization"}
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).checkScalers
	/workspace/pkg/scaling/scale_handler.go:278
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).startScaleLoop
	/workspace/pkg/scaling/scale_handler.go:149
1.6449168697143567e+09	ERROR	scalehandler	Error getting scale decision	{"scaledobject.Name": "aws-sqs-queue-scaledobject", "scaledObject.Namespace": "ns-vujade", "scaleTarget.Name": "nginx-deployment", "error": "RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=628772138ae7f0d346ab0c0abbf1b49470ba885a01a616afbd526534bc932c93\" for key Authorization"}
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).checkScalers
	/workspace/pkg/scaling/scale_handler.go:278
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).startScaleLoop
	/workspace/pkg/scaling/scale_handler.go:149
1.6449168996817083e+09	ERROR	scalehandler	Error getting scale decision	{"scaledobject.Name": "aws-sqs-queue-scaledobject", "scaledObject.Namespace": "ns-vujade", "scaleTarget.Name": "nginx-deployment", "error": "RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=42dc32d31fee9d5734a90b62241b1e4b33da94edb149edf5c96a8f5012e08dce\" for key Authorization"}
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).checkScalers
	/workspace/pkg/scaling/scale_handler.go:278
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).startScaleLoop
	/workspace/pkg/scaling/scale_handler.go:149
1.6449169296577168e+09	ERROR	scalehandler	Error getting scale decision	{"scaledobject.Name": "aws-sqs-queue-scaledobject", "scaledObject.Namespace": "ns-vujade", "scaleTarget.Name": "nginx-deployment", "error": "RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=5ea3596e0a378e92085644fdaaa5f8516d4493fabfa1b54654edfa6622126542\" for key Authorization"}
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).checkScalers
	/workspace/pkg/scaling/scale_handler.go:278
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).startScaleLoop
	/workspace/pkg/scaling/scale_handler.go:149
1.6449169597325323e+09	ERROR	scalehandler	Error getting scale decision	{"scaledobject.Name": "aws-sqs-queue-scaledobject", "scaledObject.Namespace": "ns-vujade", "scaleTarget.Name": "nginx-deployment", "error": "RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=e5eb2bda611bed5f47fd6dddf51a98a01f8fa1a70a17be5d0824a0d1752c342c\" for key Authorization"}
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).checkScalers
	/workspace/pkg/scaling/scale_handler.go:278
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).startScaleLoop
	/workspace/pkg/scaling/scale_handler.go:149
1.6449169896036057e+09	ERROR	scalehandler	Error getting scale decision	{"scaledobject.Name": "aws-sqs-queue-scaledobject", "scaledObject.Namespace": "ns-vujade", "scaleTarget.Name": "nginx-deployment", "error": "RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=eb699d9cb205db3f538fc0f999133c56eca5a57601bc421e1ae1d7eb5a8aa631\" for key Authorization"}
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).checkScalers
	/workspace/pkg/scaling/scale_handler.go:278
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).startScaleLoop
	/workspace/pkg/scaling/scale_handler.go:149
1.6449170197559488e+09	ERROR	scalehandler	Error getting scale decision	{"scaledobject.Name": "aws-sqs-queue-scaledobject", "scaledObject.Namespace": "ns-vujade", "scaleTarget.Name": "nginx-deployment", "error": "RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=2c19aad11fdf203cc092b3b2bd5c56478f3ab0d11a63906d72a212837d47e3fd\" for key Authorization"}
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).checkScalers
	/workspace/pkg/scaling/scale_handler.go:278
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).startScaleLoop
	/workspace/pkg/scaling/scale_handler.go:149
1.644917049736038e+09	ERROR	scalehandler	Error getting scale decision	{"scaledobject.Name": "aws-sqs-queue-scaledobject", "scaledObject.Namespace": "ns-vujade", "scaleTarget.Name": "nginx-deployment", "error": "RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=48eea3d4425e1c9ca8287b16559235a8d15ad33fd18f6291caf53c36429fa39a\" for key Authorization"}
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).checkScalers
	/workspace/pkg/scaling/scale_handler.go:278
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).startScaleLoop
	/workspace/pkg/scaling/scale_handler.go:149
1.6449170796765084e+09	ERROR	scalehandler	Error getting scale decision	{"scaledobject.Name": "aws-sqs-queue-scaledobject", "scaledObject.Namespace": "ns-vujade", "scaleTarget.Name": "nginx-deployment", "error": "RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=4de9e89fed1e430df8a6c07d79dad7126f7b40e7e86a70e432ab9f6f24d83405\" for key Authorization"}
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).checkScalers
	/workspace/pkg/scaling/scale_handler.go:278
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).startScaleLoop
	/workspace/pkg/scaling/scale_handler.go:149
1.6449171095894692e+09	ERROR	scalehandler	Error getting scale decision	{"scaledobject.Name": "aws-sqs-queue-scaledobject", "scaledObject.Namespace": "ns-vujade", "scaleTarget.Name": "nginx-deployment", "error": "RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=8305634f1bc450d34b59e99f2e80d8d432db18df9314bcfaf32e1f521d8529bd\" for key Authorization"}
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).checkScalers
	/workspace/pkg/scaling/scale_handler.go:278
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).startScaleLoop
	/workspace/pkg/scaling/scale_handler.go:149
1.6449171396118367e+09	ERROR	scalehandler	Error getting scale decision	{"scaledobject.Name": "aws-sqs-queue-scaledobject", "scaledObject.Namespace": "ns-vujade", "scaleTarget.Name": "nginx-deployment", "error": "RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=b3c1104969f9230fab91d7a9ee9481ced6fe9a84d3de130d1d66cd86f77291f7\" for key Authorization"}
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).checkScalers
	/workspace/pkg/scaling/scale_handler.go:278
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).startScaleLoop
	/workspace/pkg/scaling/scale_handler.go:149
1.644917169776945e+09	ERROR	scalehandler	Error getting scale decision	{"scaledobject.Name": "aws-sqs-queue-scaledobject", "scaledObject.Namespace": "ns-vujade", "scaleTarget.Name": "nginx-deployment", "error": "RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=424f45bb267bf9db5221e95b127b439872398599072411df834fceafa3bb7c50\" for key Authorization"}
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).checkScalers
	/workspace/pkg/scaling/scale_handler.go:278
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).startScaleLoop
	/workspace/pkg/scaling/scale_handler.go:149
1.6449171997765913e+09	ERROR	scalehandler	Error getting scale decision	{"scaledobject.Name": "aws-sqs-queue-scaledobject", "scaledObject.Namespace": "ns-vujade", "scaleTarget.Name": "nginx-deployment", "error": "RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=3c55d0df1d1995f4374399fe39bd3fa0c968edced932cbfc8119032daf7d2843\" for key Authorization"}
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).checkScalers
	/workspace/pkg/scaling/scale_handler.go:278
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).startScaleLoop
	/workspace/pkg/scaling/scale_handler.go:149
1.6449172297003164e+09	ERROR	scalehandler	Error getting scale decision	{"scaledobject.Name": "aws-sqs-queue-scaledobject", "scaledObject.Namespace": "ns-vujade", "scaleTarget.Name": "nginx-deployment", "error": "RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=aca73d4c4e787cda55b242348f425150cf29e4bad64ad4030ad10db7d1a89903\" for key Authorization"}
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).checkScalers
	/workspace/pkg/scaling/scale_handler.go:278
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).startScaleLoop
	/workspace/pkg/scaling/scale_handler.go:149
1.6449172596458879e+09	ERROR	scalehandler	Error getting scale decision	{"scaledobject.Name": "aws-sqs-queue-scaledobject", "scaledObject.Namespace": "ns-vujade", "scaleTarget.Name": "nginx-deployment", "error": "RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=3f52b3c17b1d86c617cd5b78f76dc846a2ac72043e143e38dfebc229e95eaf47\" for key Authorization"}
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).checkScalers
	/workspace/pkg/scaling/scale_handler.go:278
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).startScaleLoop
	/workspace/pkg/scaling/scale_handler.go:149

KEDA Version

2.6.1

Kubernetes Version

1.21

Platform

Amazon Web Services

Scaler Details

AWS SQS

Anything else?

I got same results (i.e. same errors) regardless less of the KEDA versions as far as I mentioned in the above Report section.

@vujadeyoon vujadeyoon added the bug Something isn't working label Feb 14, 2022
@tomkerkhove tomkerkhove moved this to Proposed in Roadmap - KEDA Core Feb 14, 2022
@JorTurFer
Copy link
Member

hi @vujadeyoon
Could you share KEDA logs (operator and the metrics server pods)?

@vujadeyoon
Copy link
Author

vujadeyoon commented Feb 15, 2022

Hi, @JorTurFer

I attach the logs for both pods you mentioned to the above Section. Logs from KEDA operator.

  • Log 3: related to the KEDA metrics server pods
  • Log 4: related to the KEDA operator pods

Please note that I checked the ${MY_OWN_AWS_ACCESS_KEY_ID} is correct (i.e. the value is my AWS_ACCESS_KEY_ID). I just change the own value to ${MY_OWN_AWS_ACCESS_KEY_ID} in this markdown file.

Best,
Vujadeyoon

@JorTurFer
Copy link
Member

hi @vujadeyoon
In the logs you have a lot of errors saying that you have any error in the auth section invalid header field value \"AWS4-HMAC-SHA256.


logr.go:270] keda_metrics_adapter/aws_sqs_queue_scaler "msg"="Error getting queue length" "error"="RequestError: send request failed\ncaused by: Post \"https://sqs.ap-northeast-2.amazonaws.com/\": net/http: invalid header field value \"AWS4-HMAC-SHA256 Credential=${MY_OWN_AWS_ACCESS_KEY_ID}\\n/20220215/ap-northeast-2/sqs/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date, Signature=7c4e830f8592b25e12d7b1ffb2237b1b1e912ddf5a26dfa1f1a904ad0357f356\" for key Authorization" 

I think that the problem could be a wrong configuration

@JorTurFer
Copy link
Member

try removing this line identityOwner: operator. I guess that you are not using IAM roles because you set also ACCESS_KEY

@vujadeyoon
Copy link
Author

vujadeyoon commented Feb 15, 2022

Dear @JorTurFer ,

I managed to solve the problem right now!

I also requested the AWS support because the AWS also recommend to use KEDA officially [1].
As far as you guessed, I don't have required IAM policy in the IAM role.
I noticed that I should attach the SQS policy [2] to the worker node where there is a KEDA operator pod.

I attach all commands to attach the policy to the corresponding worker node that has a KEDA operator pod as below.
Please note that the yaml file (i.e. keda-resource.yaml) in the above Report section is valid in my case. In other words, I keep the line identityOwner: operator.

# ${NAME_STACK_NODEGROUP}: This value can be checked in the AWS CloudFormation.
$ aws_account_id=$(aws sts get-caller-identity --query Account --output text)
$ name_role=$(aws cloudformation describe-stack-resource --stack-name ${NAME_STACK_NODEGROUP} --logical-resource-id NodeInstanceRole --query 'StackResourceDetail' | jq -r '.PhysicalResourceId')
$ name_policy_arn=arn:aws:iam::${aws_account_id}:policy/AWSSQSGetQueueAttrIAMPolicy
$ aws iam attach-role-policy --role-name ${name_role} --policy-arn ${name_policy_arn}

Finally, I really appreciate @JorTurFer because of giving me advice to solve this problem. Thanks to you, I could notice the important things related to the IAM policy.
I hope my issue is helpful to people who have similar problems like me.

Best reagrds,
Vujadeyoon

[1] https://github.com/amazon-archives/k8s-cloudwatch-adapter
[2] iam_policy.yaml

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": "sqs:GetQueueAttributes",
            "Resource": "<AWS_SQS_QUEUE_ARN>" # You can get the ARN value in the your AWS SQS queue.
        }
    ]
}

Repository owner moved this from Proposed to Ready To Ship in Roadmap - KEDA Core Feb 15, 2022
@tomkerkhove tomkerkhove moved this from Ready To Ship to Done in Roadmap - KEDA Core Aug 3, 2022
@Hema-Waters
Copy link

@vujadeyoon Can you share the steps on how you have solved your issue.
I'm also getting same issue, not sure how to solve it.

@vujadeyoon
Copy link
Author

vujadeyoon commented Sep 29, 2022

Dear @Hema-Waters

I wrote the way [1] to solve the issue above, as far as you can see.

I recommend you should follow the above my reply.

If you have additional questions, please give me details.

Best regards,
Vujadeyoon

[1] #2632 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

3 participants