Issue with erlang port closing when running a build in a container #10

Open
opened 2020-10-28 18:08:11 +00:00 by toddholmberg · 0 comments
Member

Building in an elixir:1.10.1-alpinecontainer then running the app in an alpine:3.11 container I am getting the followwing error when starting my app:

18:00:58.299 [error] Error during FastHtml.Pool.terminate_worker/3 callback:
** (ArgumentError) argument error
    :erlang.port_close(#Port<0.14>)
    (fast_html 2.0.4) lib/fast_html/pool.ex:95: FastHtml.Pool.terminate_worker/3
    (nimble_pool 0.1.0) lib/nimble_pool.ex:618: NimblePool.apply_worker_callback/3
    (nimble_pool 0.1.0) lib/nimble_pool.ex:562: NimblePool.maybe_terminate_worker/3
    (nimble_pool 0.1.0) lib/nimble_pool.ex:551: NimblePool.remove/3
    (nimble_pool 0.1.0) lib/nimble_pool.ex:474: anonymous fn/4 in NimblePool.maybe_handl
e_info/2
    (elixir 1.10.1) lib/enum.ex:2111: Enum."-reduce/3-lists^foldl/2-0-"/3
    (nimble_pool 0.1.0) lib/nimble_pool.ex:467: NimblePool.maybe_handle_info/2

Has anyone seen this issue when running a release in a container?

Thanks!

Building in an `elixir:1.10.1-alpine`container then running the app in an `alpine:3.11` container I am getting the followwing error when starting my app: ``` 18:00:58.299 [error] Error during FastHtml.Pool.terminate_worker/3 callback: ** (ArgumentError) argument error :erlang.port_close(#Port<0.14>) (fast_html 2.0.4) lib/fast_html/pool.ex:95: FastHtml.Pool.terminate_worker/3 (nimble_pool 0.1.0) lib/nimble_pool.ex:618: NimblePool.apply_worker_callback/3 (nimble_pool 0.1.0) lib/nimble_pool.ex:562: NimblePool.maybe_terminate_worker/3 (nimble_pool 0.1.0) lib/nimble_pool.ex:551: NimblePool.remove/3 (nimble_pool 0.1.0) lib/nimble_pool.ex:474: anonymous fn/4 in NimblePool.maybe_handl e_info/2 (elixir 1.10.1) lib/enum.ex:2111: Enum."-reduce/3-lists^foldl/2-0-"/3 (nimble_pool 0.1.0) lib/nimble_pool.ex:467: NimblePool.maybe_handle_info/2 ``` Has anyone seen this issue when running a release in a container? Thanks!
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pleroma-elixir-libraries/fast_html#10
No description provided.