Grafana Mimir-.blob.core.windows.net on [::1]:53: read udp [::1]:56738->[::1]:53: read: connection refused\ncreate bucket (original) (raw)
I am running my mimir in azure container apps and i am using azure storage account as backend.
2025-06-04T04:45:02.7375074Z stderr F ts=2025-06-04T04:45:02.737268621Z caller=log.go:134 level=error msg=“error running application” err=“Get “[https://storageaccount.blob.core.windows.net/mimir-blocks?restype=container\](https://storageaccount.blob.core.windows.net/mimir-blocks?restype=container\)”: dial tcp: lookup storageaccount.blob.core.windows.net on [::1]:53: read udp [::1]:56738->[::1]:53: read: connection refused\ncreate bucket client\ngithub.com/grafana/mimir/pkg/storegateway.createBucketClient\n\t/__w/mimir/mimir/pkg/storegateway/gateway.go:392\ngithub.com/grafana/mimir/pkg/storegateway.NewStoreGateway\n\t/__w/mimir/mimir/pkg/storegateway/gateway.go:113\ngithub.com/grafana/mimir/pkg/mimir.(*Mimir).initStoreGateway\n\t/__w/mimir/mimir/pkg/mimir/modules.go:1048\ngithub.com/grafana/dskit/modules.(*Manager).initModule\n\t/__w/mimir/mimir/vendor/github.com/grafana/dskit/modules/modules.go:136\ngithub.com/grafana/dskit/modules.(*Manager).InitModuleServices\n\t/__w/mimir/mimir/vendor/github.com/grafana/dskit/modules/modules.go:108\ngithub.com/grafana/mimir/pkg/mimir.(*Mimir).Run\n\t/__w/mimir/mimir/pkg/mimir/mimir.go:902\nmain.main\n\t/__w/mimir/mimir/cmd/mimir/main.go:227\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:272\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1700\nerror initialising module: store-gateway\ngithub.com/grafana/dskit/modules.(*Manager).initModule\n\t/__w/mimir/mimir/vendor/github.com/grafana/dskit/modules/modules.go:138\ngithub.com/grafana/dskit/modules.(*Manager).InitModuleServices\n\t/__w/mimir/mimir/vendor/github.com/grafana/dskit/modules/modules.go:108\ngithub.com/grafana/mimir/pkg/mimir.(*Mimir).Run\n\t/__w/mimir/mimir/pkg/mimir/mimir.go:902\nmain.main\n\t/__w/mimir/mimir/cmd/mimir/main.go:227\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:272\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1700”
How to reproduce it?
Steps to reproduce the behavior:
1.deploy Mimir to azure container apps.
Quickstart: Deploy your first container app with containerapp up | Microsoft Learn i am using mimir tag of “image”: “docker.io/grafana/mimir:2.16.0”,
below is aca:
“template”: {
“revisionSuffix”: “”,
“terminationGracePeriodSeconds”: null,
“containers”: [
{
“image”: “docker.io/grafana/mimir:2.16.0”,
“imageType”: “ContainerImage”,
“name”: “aca-mimir-demost”,
“args”: [
“-config.file=/etc/mimir.yaml”,
“-config.expand-env=true”
],
“env”: [
{
“name”: “INGESTER_NATIVE_HISTOGRAMS_INGESTION_ENABLED”,
“value”: “true”
},
{
“name”: “MIMIR_LOG_LEVEL”,
“value”: “debug”
}
],
“resources”: {
“cpu”: 0.5,
“memory”: “1Gi”,
“ephemeralStorage”: “2Gi”
},
“probes”: ,
“volumeMounts”: [
{
“volumeName”: “mimir”,
“mountPath”: “/etc”
}
]
}
2.change parametes to azure backend
mimir.yaml
target: all,alertmanager
common:
storage:
backend: azure
azure:
account_name: “xxxxx”
account_key: “xxxxx”
container_name: mimir-blocks
endpoint_suffix: “blob.core.windows.net”
blocks_storage:
azure:
container_name: mimir-blocks
alertmanager_storage:
azure:
container_name: mimir-alertmanager
ruler_storage:
azure:
container_name: mimir-ruler
usage_stats:
enabled: false
ingester:
ring:
replication_factor: 1
instance_addr: 0.0.0.0
server:
http_listen_port: 9009
What did you think would happen?
Should save data to storage account
What was your environment?
Azure container apps
deployment tool: ADO
mimir 2.16.0
Any additional context to share?
when i try locally the same configuration it is sending log to backend but when comes to ACA i am getting the mentioned error. note: there is no vnet and dns configured.