Ipfs module not working with firebase functions [duplicate]

被刻印的时光 ゝ 提交于 2019-11-29 17:32:46

Based on your error getaddrinfo ENOTFOUND ..., it is probably because you are on the free "Spark" plan. You need to be on the "Flame" or "Blaze" pricing plan.

As a matter of fact, the free "Spark" plan "allows outbound network requests only to Google-owned services". See https://firebase.google.com/pricing/ (hover your mouse on the question mark located after the "Cloud Functions" title)

Since IPFS is not a Google-owned service, you need to switch to the "Flame" or "Blaze" plan.

Note that if you take the "Blaze" plan, you will still be able to take advantage of the free tier offered by the free "Spark" plan (See the "Free usage from Spark plan included" remark in the top-right cell of the pricing table)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!