| 7 | mailer | custom | Validate admin mailer can send to expected addresses | custom_mailer_check.py | FAIL | 4.133 | Error sending email to admin@flipdare.com: ErrorContext(endpoint=system, error_code=email, title=Email, message=Error sending email to admin@flipdare.com: ErrorContext(endpoint=system, error_code=email_smtp, title=Email, message=Error creating SMTP connection to 127.0.0.1:465 - [WinError 10061] No connection could be made because the target machine actively refused it, cause=[WinError 10061] No connection could be made because the target machine actively refused it), cause=ErrorContext(endpoint=system, error_code=email_smtp, title=Email, message=Error creating SMTP connection to 127.0.0.1:465 - [WinError 10061] No co ...)
Error sending email to support@flipdare.com: ErrorContext(endpoint=system, error_code=email, title=Email, message=Error sending email to support@flipdare.com: ErrorContext(endpoint=system, error_code=email_smtp, title=Email, message=Error creating SMTP connection to 127.0.0.1:465 - [WinError 10061] No connection could be made because the target machine actively refused it, cause=[WinError 10061] No connection could be made because the target machine actively refused it), cause=ErrorContext(endpoint=system, error_code=email_smtp, title=Email, message=Error creating SMTP connection to 127.0.0.1:465 - [WinError 10061] No co ...) |
| 8 | sentiment_scoring | custom | Validate moderation/sentiment scoring service with known fixtures | custom_sentiment_check.py | FAIL | 1.535 | PermissionDenied: 403 Cloud Natural Language API has not been used in project 1027301547641 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/language.googleapis.com/overview?project=1027301547641 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry. [reason: "SERVICE_DISABLED"
domain: "googleapis.com"
metadata {
key: "service"
value: "language.googleapis.com"
}
metadata {
key: "serviceTitle"
value: "Cloud Natural Language API"
}
metadata {
key: "containerInfo"
value: "1027301547641"
}
metadata {
key: "consumer"
value: "projects/1027301547641"
}
metadata {
key: "activationUrl"
value: "https://console.developers.google.com/apis/api/language.googleapis.com/overview?project=1027301547641"
}
, locale: "en-US"
message: "Cloud Natural Language API has not been used in project 1027301547641 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/language.googleapis.com/overview?project=1027301547641 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry."
, links {
description: "Google developers console API activation"
url: "https://console.developers.google.com/apis/api/language.googleapis.com/overview?project=1027301547641"
}
]
Traceback (most recent call last):
File "C:\Users\dave\AppData\Local\Programs\Python\Python313\Lib\site-packages\google\api_core\grpc_helpers.py", line 55, in error_remapped_callable
return callable_(*args, **kwargs)
File "C:\Users\dave\AppData\Local\Programs\Python\Python313\Lib\site-packages\grpc\_interceptor.py", line 276, in __call__
response, ignored_call = self._with_call(
~~~~~~~~~~~~~~~^
request,
^^^^^^^^
...<4 lines>...
compression=compression,
^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "C:\Users\dave\AppData\Local\Programs\Python\Python313\Lib\site-packages\grpc\_interceptor.py", line 331, in _with_call
return call.result(), call
~~~~~~~~~~~^^
File "C:\Users\dave\AppData\Local\Programs\Python\Python313\Lib\site-packages\grpc\_channel.py", line 438, in result
raise self
File "C:\Users\dave\AppData\Local\Programs\Python\Python313\Lib\site-packages\grpc\_interceptor.py", line 314, in continuation
response, call = self._thunk(new_method).with_call(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
request,
^^^^^^^^
...<4 lines>...
compression=new_compression,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "C:\Users\dave\AppData\Local\Programs\Python\Python313\Lib\site-packages\grpc\_channel.py", line 1180, in with_call
return _end_unary_response_blocking(state, call, True, None)
File "C:\Users\dave\AppData\Local\Programs\Python\Python313\Lib\site-packages\grpc\_channel.py", line 996, in _end_unary_response_blocking
raise _InactiveRpcError(state) # pytype: disable=not-instantiable
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.PERMISSION_DENIED
details = "Cloud Natural Language API has not been used in project 1027301547641 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/language.googleapis.com/overview?project=1027301547641 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry."
debug_error_string = "UNKNOWN:Error received from peer ipv4:172.217.119.4:443 {grpc_status:7, grpc_message:"Cloud Natural Language API has not been used in project 1027301547641 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/language.googleapis.com/overview?project=1027301547641 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry."}"
>
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\working\flipdare\admin\bin\release\validator.py", line 382, in run_custom_checks
passed = instance.run()
File "C:\Users\dave\AppData\Local\Programs\Python\Python313\Lib\site-packages\py_flip\validation\custom_check_interface.py", line 41, in run
return self._run()
~~~~~~~~~^^
File "D:\working\flipdare\admin\bin\release\validator\custom\custom_sentiment_check.py", line 127, in _run
result += self.sentiment_for_text(" ".join(paragraph))
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
File "D:\working\flipdare\admin\bin\release\validator\custom\custom_sentiment_check.py", line 148, in sentiment_for_text
moderation_response = moderation._moderate_text(text)
File "D:\working\flipdare\firebase\functions\flipdare\service\moderation_service.py", line 279, in _moderate_text
response = self.language_client.moderate_text(request=req) # type: ignore
File "C:\Users\dave\AppData\Local\Programs\Python\Python313\Lib\site-packages\google\cloud\language_v1\services\language_service\client.py", line 1364, in moderate_text
response = rpc(
request,
...<2 lines>...
metadata=metadata,
)
File "C:\Users\dave\AppData\Local\Programs\Python\Python313\Lib\site-packages\google\api_core\gapic_v1\method.py", line 128, in __call__
return wrapped_func(*args, **kwargs)
File "C:\Users\dave\AppData\Local\Programs\Python\Python313\Lib\site-packages\google\api_core\grpc_helpers.py", line 57, in error_remapped_callable
raise exceptions.from_grpc_error(exc) from exc
google.api_core.exceptions.PermissionDenied: 403 Cloud Natural Language API has not been used in project 1027301547641 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/language.googleapis.com/overview?project=1027301547641 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry. [reason: "SERVICE_DISABLED"
domain: "googleapis.com"
metadata {
key: "service"
value: "language.googleapis.com"
}
metadata {
key: "serviceTitle"
value: "Cloud Natural Language API"
}
metadata {
key: "containerInfo"
value: "1027301547641"
}
metadata {
key: "consumer"
value: "projects/1027301547641"
}
metadata {
key: "activationUrl"
value: "https://console.developers.google.com/apis/api/language.googleapis.com/overview?project=1027301547641"
}
, locale: "en-US"
message: "Cloud Natural Language API has not been used in project 1027301547641 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/language.googleapis.com/overview?project=1027301547641 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry."
, links {
description: "Google developers console API activation"
url: "https://console.developers.google.com/apis/api/language.googleapis.com/overview?project=1027301547641"
}
] |