getaddrinfo: nodename nor servname provided, or not known

前端 未结 13 1626
梦谈多话
梦谈多话 2020-12-02 12:14

I have a Ruby on Rails application that I am deploying on a computer running Mac OS X 10.6. The code where the problem arises is run by a delayed_job. The problem only occur

13条回答
  •  佛祖请我去吃肉
    2020-12-02 12:42

    The error occurs when the DNS resolution fails. Check if you can wget (or curl) the api url from the command line. Changing the DNS server and testing it might help.

提交回复
热议问题