Skip to content

Error: User code failed to load. Cannot determine backend specification. Timeout after 10000. #8776

Open
@chiranjeevi-pathipati

Description

@chiranjeevi-pathipati

Hi Team,

While deploying cloud function we are getting some intermittent issue.

Actually we have two regions, if we try to deploy cloud function through pipeline one region is deploying and second region is failing, if we rerun the pipeline sometimes it is deploying in both the regions vice versa and we never know which regions will be success until the pipeline will completed.

First run
region1--> success
region2--> failed

Second run
region1--> failed
region2--> success

Note: We are not getting this issue not every time, sometimes we are getting this issue.

Error: User code failed to load. Cannot determine backend specification. Timeout after 10000.

We are migration cloud function V1 to V2 with below node js and firebase tools versions.
existing one
Node js: 18
firebase tools: 11.11.0

update one
Node js: 22
firebase tolls: 14.35.0

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions