2
我正在使用Phoenix框架,它在底下運行牛仔。我偶爾會看到下面的一對錯誤的在我的日誌:輸出端口'tcp_inet'的值不好'
Bad value on output port 'tcp_inet'
GenServer #PID<0.8423.1> terminating
** (FunctionClauseError) no function clause matching in :http_transport.close/2
(inets) http_transport.erl:346: :http_transport.close(:undefined, #Port<0.18079778>)
(stdlib) gen_server.erl:643: :gen_server.try_terminate/3
(stdlib) gen_server.erl:809: :gen_server.terminate/7
(stdlib) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
所有的搜索我能想到點東西發送一個元組調用gen_tcp的:發送()。但是,當你在鳳凰城寫作的時候,這種方式正處於層層疊疊之中。
服務器似乎繼續滾動,所以我不會驚慌於此,但我想到底部來阻止這些錯誤。任何人都知道這會造成什麼?
對不起 - 意外downvote,我沒有趕上30分鐘。將在其他地方upvote彌補代表。 –
馬特 - 這是發生在發展模式?我會嘗試更改'config/dev.exs'中的端口號來查看是否有所作爲。 – Svilen
[在GitHub上有一個問題](https://github.com/ninenines/cowboy/issues/139)關於在頭文件中使用atom時出現此錯誤。你是否在代碼中手動傳遞頭文件? – tkowal