Lamda-functions not working with firebase-admin sdk - timeout function

Hello , i have soime prooblem with firebase-admin sdk when i tried get data from firestore i can’t and netlify functions get timeout , but i shure firestore request not sended

i tried it in my same node basic project and firebase request worked in ~1 second and i got a data

Please share a reproduction in form of a repo.

it’s simple

import {initializeApp} from 'firebase-admin';
import { getFirestore, setLogFunction } from "firebase-admin/firestore";
//settingsFirebase from your firebase 
initializeApp({...settingsFirebase})

setLogFunction(console.log);
export const handler = async () => {
  const d =  await getFirestore().listCollections()
  return {
    status: 200,
  }
}

but if u can tried in node js it worked

import {initializeApp} from 'firebase-admin';
import { getFirestore, setLogFunction } from "firebase-admin/firestore";
//settingsFirebase from your firebase 
initializeApp({...settingsFirebase})

setLogFunction(console.log);
 (() => {
const d =  await getFirestore().listCollections()
console.log(d)
})()

Try changing this to:

return {
  body: JSON.strinfigy({
    msg: true
  }),
  statusCode: 200
}

no no this function close in timeout from netlify-function because firebase-admin not responded answer

whatever it was a week ago for me it all worked and since yesterday I started getting errors like this

проблема нашлась в том какой файл конфига использовался