{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdonbulinux.hatenablog.jp%2Fentry%2F2022%2F08%2F22%2F233114\" title=\"puma.sock failed (111: Connection refused) while connecting to upstream - AR \u30db\u30fc\u30e0\u30d9\u30fc\u30ab\u30ea\u30fc\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","image_url":null,"type":"rich","blog_url":"https://donbulinux.hatenablog.jp/","categories":["Rails"],"blog_title":"AR \u30db\u30fc\u30e0\u30d9\u30fc\u30ab\u30ea\u30fc","height":"190","author_url":"https://blog.hatena.ne.jp/donbulinux/","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","published":"2022-08-22 23:31:14","author_name":"donbulinux","version":"1.0","description":"Nginx \u3067 puma \u306e unix socket \u3092\u53c2\u7167\u3059\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u305f\u6240\u3001 502 \u304c\u9023\u7d9a\u3059\u308b\u306e\u3067\u300c\u4f55\u4e8b\u2026\u2026\uff1f\u300d\u3068\u306a\u3063\u3066\u3044\u305f\u3002 integration \u3068\u3044\u3046 RAILS_ENV \u3092\u5897\u3084\u3057\u3066\u3044\u305f\u306e\u304c\u539f\u56e0\u304b\u3068\u601d\u3063\u3066\u3044\u305f\u3051\u3069\u3001\u5358\u7d14\u306a\u30df\u30b9\u3060\u3063\u305f\u3002 \u3057\u3089\u3079\u308b Rails \u5074\u306e\u30ed\u30b0\u306b\u306f\u4f55\u3082\u8a18\u9332\u3055\u308c\u3066\u3044\u306a\u3044\u306e\u3067\u3001Nginx \u306e error.log \u3092\u78ba\u8a8d\u3059\u308b\u3002 2022/08/22 22:59:28 [crit] 23808#23808: *66 connect() to unix:///var/www/example/tmp/sockets/puma.sock failed (2: No suc\u2026","title":"puma.sock failed (111: Connection refused) while connecting to upstream","url":"https://donbulinux.hatenablog.jp/entry/2022/08/22/233114"}