CHaBou
09/03/2022, 6:33 PMcom.prisma.akkautil.http.FailedResponseCodeError: Server responded with 503.
(every 30s average). I think this is related to the app.prisma.io shutdown. How can we prevent these errors in our logs?CHaBou
09/05/2022, 12:10 PMVladi Stevanovic
CHaBou
09/05/2022, 12:25 PMVladi Stevanovic
CHaBou
09/05/2022, 1:51 PMVladi Stevanovic
CHaBou
09/05/2022, 1:57 PMPush to Prometheus Gateway failed with:
It is triggered by thi function: https://github.com/amblerhq/prisma1/blob/1a58e2f993b398cce590ee7d13c842c3a18020ca/[β¦]ain/scala/com/prisma/metrics/micrometer/CustomPushGateway.scalaCHaBou
09/05/2022, 1:58 PMCHaBou
09/05/2022, 1:59 PMCHaBou
09/05/2022, 1:59 PMPROMETHEUS_PUSHGATEWAY_ENDPOINT
sys env and I can create a "black hole" but I think that I am not the only one with this needCHaBou
09/07/2022, 12:47 PMVladi Stevanovic
janpio
janpio
CHaBou
09/08/2022, 6:47 AMCHaBou
09/08/2022, 7:11 AMenv:
PRISMA_CONFIG: |
managementApiSecret: "{{ prisma_management_api_secret }}"
port: 4466
databases:
default:
rawAccess: true
connector: mysql
migrations: true
host: "{{ prisma_db_host }}"
port: 3306
user: "{{ prisma_db_user }}"
password: "{{ prisma_db_pass }}"
I understand that you don't change anything but maybe this is an outage? You can try by yourself: http://metrics-eu1.prisma.io/ : any route for this domain returns a 503 Service Unavailable: Back-end server is at capacity
. Not a 4xx. I suspect this is not attended.
I understand that I am the only one to report this to you. But I am maybe the only one with a monitor on the error logs of the prisma1 server. Because it still works as expected, maybe this error exists for others but they don't have noticed it π
janpio
janpio
andrewicarlson
09/08/2022, 12:57 PMnpx prisma1 account
what is the response?CHaBou
09/08/2022, 5:04 PMCHaBou
09/08/2022, 5:06 PMjanpio
CHaBou
09/08/2022, 5:09 PMCHaBou
09/08/2022, 5:11 PMandrewicarlson
09/08/2022, 5:19 PMCHaBou
09/08/2022, 5:32 PMCHaBou
09/08/2022, 5:33 PMCHaBou
09/12/2022, 5:02 PMjanpio
andrewicarlson
09/12/2022, 5:03 PMandrewicarlson
09/12/2022, 5:06 PMlogConfiguration
that's using awsfirelens
pointing to your own New Relic instance?Mike B.
09/12/2022, 5:06 PMMike B.
09/12/2022, 5:08 PM"environment"
options, we previously had:
{
"name": "LOG_LEVEL",
"value": "INFO"
}
I removed that section today, redeployed, and same result.CHaBou
09/12/2022, 5:09 PMandrewicarlson
09/12/2022, 5:22 PMENABLE_METRICS
environment variable.
I don't have confirmation yet but I'm wondering if that defaults to true
with the image version you're using.
If you're open to to it you might try setting that environment variable to false
and redeployingandrewicarlson
09/12/2022, 5:32 PMandrewicarlson
09/12/2022, 5:41 PMPROMETHEUS_PUSHGATEWAY_ENDPOINT
environment variable (like ""
or localhost
etc) I think it might throw a Metrics initialization error (hitting line 36)andrewicarlson
09/12/2022, 6:05 PMandrewicarlson
09/12/2022, 6:50 PMPROMETHEUS_PUSHGATEWAY_ENDPOINT: false
If you or @CHaBou can push out a minimally reproducible example I can test some of these theories before sending them out to you!CHaBou
09/12/2022, 7:29 PMMike B.
09/12/2022, 8:59 PMInvalid type for parameter containerDefinitions[0].environment[0].value, value: 0, type: <class 'int'>, valid types: <class 'str'>
I tried both of these and they threw that same error.
{
"name": "PROMETHEUS_PUSHGATEWAY_ENDPOINT",
"value": false
},
...
{
"name": "PROMETHEUS_PUSHGATEWAY_ENDPOINT",
"value": 0
}
andrewicarlson
09/12/2022, 9:37 PM"false"
or "0"
?Mike B.
09/14/2022, 3:42 PMJeff Gardner
09/21/2022, 4:52 PMandrewicarlson
09/21/2022, 6:31 PM"name": "PROMETHEUS_PUSHGATEWAY_ENDPOINT",
"value": "localhost"
Jeff Gardner
09/21/2022, 6:33 PMandrewicarlson
09/21/2022, 6:33 PMJeff Gardner
09/21/2022, 6:38 PMCHaBou
09/26/2022, 10:04 PMPROMETHEUS_PUSHGATEWAY_ENDPOINT
to <http://http200.vercel.app|http200.vercel.app>
No more error π