无法更改Firebase pubsub触发器的位置 [英] Unable to change location for firebase pubsub trigger

查看:71
本文介绍了无法更改Firebase pubsub触发器的位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在asia-northeast1中有一个App Engine应用程序,但是我无法指定pubsub触发器的区域.

I have an App Engine app in asia-northeast1, but i could not specify the region for pubsub trigger.

这有效:

functions.region("asia-northeast1").https.onRequest(async (req, res)

这不起作用:

functions.region("asia-northeast1").pubsub.schedule('* 6-23 * * *')

出现以下错误消息:错误:HTTP错误:400,位置必须等于asia-northeast1,因为与此项目相关联的App Engine应用程序位于asia-northeast1

With the following erroor message: Error: HTTP Error: 400, Location must equal asia-northeast1 because the App Engine app that is associated with this project is located in asia-northeast1

除了默认的us-central1之外,还有没有人有过使pubsub触发器在其他区域工作的经验?预先谢谢你

Does anyone have any experience getting pubsub trigger to work in a different region than the default us-central1? Thank you in advance

推荐答案

这是 Firebase CLI版本7.1.0中的已知错误.暂时降级到以前的版本(7.0.2).这将得到解决.

This is a known bug in the Firebase CLI version 7.1.0. Downgrade to a prior version for now (7.0.2). This will be fixed.

当您遇到Firebase CLI的意外问题时,您应该直接与Firebase支持联系,并考虑在GitHub中提交错误报告.

When you encounter unexpected problems with the Firebase CLI, you should contact Firebase support directly, and also consider filing a bug report in GitHub.

这篇关于无法更改Firebase pubsub触发器的位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆