我試過以下代碼:addresses, error := net.LookupHost("google.com")在常規(guī) Go 和 Google App Engine SDK 中,它通常工作正常。但是,在生產(chǎn) GAE 實例中,它會產(chǎn)生以下錯誤:error reading DNS config: open /etc/resolv.conf: operation not permitted這會被修復(fù)app.yaml嗎,是否有解決方法,我可以更改配置等中的任何內(nèi)容嗎?
Google App Engine 中的 LookupHost 錯誤
慕尼黑8549860
2021-06-24 18:19:11