Failed to print using chromium=128.0.6613.84-1~deb12u1

Hey there!!
I see nice improvements in the library! Thanks a lot!
I was releasing a new version of my app today (with Chromic 1.17) and saw that all PDF rendering started to crash..
After trying to rollback Chromic's version and seeing that it wasn't the problem, I looked at the difference between both docker images.. the chromium package's version!
I also build locally and for 128.0.6613.84-1~deb12u1, all my renders fail with the following error:
[0826/154642.416085:ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
[0826/154642.416157:ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)
                                                                                ** (ChromicPDF.ChromeError) Printing failed (Code -32000)

Chrome has responded with the above error error while you were trying to print a PDF.

    (chromic_pdf 1.17.0) lib/chromic_pdf/api/export_options.ex:29: ChromicPDF.ExportOptions.feed_chrome_data_into_output/2
    (chromic_pdf 1.17.0) lib/chromic_pdf/api/telemetry.ex:10: anonymous fn/2 in ChromicPDF.Telemetry.with_telemetry/3
    (telemetry 1.3.0) /app/deps/telemetry/src/telemetry.erl:324: :telemetry.span/3
    (chromic_pdf 1.17.0) lib/chromic_pdf/api.ex:27: anonymous fn/4 in ChromicPDF.API.print_to_pdf/3
    (elixir 1.15.7) lib/enum.ex:1693: Enum."-map/2-lists^map/1-1-"/2
    (chromic_pdf 1.17.0) lib/chromic_pdf/api.ex:25: anonymous fn/4 in ChromicPDF.API.print_to_pdf/3
    (chromic_pdf 1.17.0) lib/chromic_pdf/utils.ex:29: ChromicPDF.Utils.with_tmp_dir/1
    iex:6: (file)
15:46:42.426 [error] ChromicPDF received an 'Inspector.targetCrashed' message.

This means an active Chrome tab has died and your current operation is going to time out.

Known causes:

1) External URLs in <link> tags in the header/footer templates cause Chrome to crash.
2) Shared memory exhaustion can cause Chrome to crash. Depending on your environment, the
   available shared memory at /dev/shm may be too small for your use-case. This may
   especially affect you if you run ChromicPDF in a container, as, for instance, the
   Docker runtime provides only 64 MB to containers by default.

   Pass --disable-dev-shm-usage as a Chrome flag to use /tmp for this purpose instead
   (via the chrome_args option), or increase the amount of shared memory available to
   the container (see --shm-size for Docker).

Not sure if the error message helps here a lot..
Any idea why this could be happening??
Thanks in advance!!

For what it's worth, starting at least a week ago, my Phoenix app with chromic_pdf and headless chrome embedded won't event start up. Somehow the buildpack I am using on Gigalixir grabbed the same version of Chrome as the OP; 128.0.6613.84, and now my app won't start properly. In some cases it refuses connections on port 4000. In other cases it just restarts over and over.
My logs are different than the OP, however.  There's a lot of this:
ERROR:zygote_host_impl_linux.cc(99)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180
If this happens at startup and you are running inside a Docker container with a Linux-based
If this happened while you were printing a PDF, this may be a problem with Chrome itelf.
Either way, to see Chrome's error output, configure ChromicPDF with the option
discard_stderr: false
** (ChromicPDF.Connection.ConnectionLostError) Chrome has stopped or was terminated by an external program.
Last message: {:DOWN, #Reference<0.1260133489.1266155523.91091>, :port, #Port<0.17>, :normal}
 (stdlib <IP_ADDRESS>) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
 (stdlib <IP_ADDRESS>) gen_server.erl:1200: :gen_server.handle_msg/6
 (stdlib <IP_ADDRESS>) gen_server.erl:1123: :gen_server.try_dispatch/4
 (stdlib <IP_ADDRESS>) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
 (chromic_pdf 1.17.0) lib/chromic_pdf/pdf/connection/local.ex:49: ChromicPDF.Connection.Local.handle_info/2

I tried removing the warm_up code. I also tried setting no_sandbox to both true and false, but nothing works.
It seems pretty clear that this is a change in Chrome and not in ChromicPDF, but maybe you can find a workaround.

As a follow up. I changed the application.ex file to start up ChromicPDF as follows:
      {ChromicPDF,
        [
          no_sandbox: true,
          discard_stderr: false,
          offline: true,
          session_pool: [init_timeout: 10_000, size: 5],
          disable_scripts: true,
          chrome_args: [
            append: "--headless=new",
            remove: ["--headless"]
          ]
        ]
      },

Again, this is in the Gigalixir PaaS. It's running Heroku's buildpack heroku-20 (Ubuntu 20). I also upgraded to ChromicPDF 1.17.0. And I changed to this Chrome buildpack: https://github.com/heroku/heroku-buildpack-chrome-for-testing
# cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

# chrome --version
Google Chrome for Testing 128.0.6613.84

While my app still fails at startup, the output has changed dramatically to the following:
[171:185:0826/194026.770482:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[171:190:0826/194027.292262:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[171:190:0826/194027.292199:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[171:185:0826/194028.110264:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[171:185:0826/194028.219164:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[171:185:0826/194028.219174:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[171:185:0826/194028.219086:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[171:185:0826/194028.219131:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
19:40:28.958 [error] Task #PID<0.1674.0> started from #PID<0.1671.0> terminating
10000 milliseconds.
** (ChromicPDF.Browser.ExecutionError) Timeout in Channel.run_protocol/3!
not able to complete the current operation (= PDF print job) within the configured
The underlying GenServer.call/3 exited with a timeout. This happens when the browser was

If you are printing large PDFs and expect long processing times, please consult the

bug in ChromicPDF. Please open an issue on the issue tracker.
documentation for the `timeout` option of the session pool.

If you are *not* printing large PDFs but your print jobs still time out, this is likely a

---
 call: &ChromicPDF.SpawnSession.create_target/2,
 await: &ChromicPDF.SpawnSession.target_created/2,
 steps: [

%ChromicPDF.Protocol{

 call: &ChromicPDF.SpawnSession.attach/2,
Current protocol:
 await: &ChromicPDF.SpawnSession.browser_context_created/2,
 await: &ChromicPDF.SpawnSession.page_enabled/2,
 call: &ChromicPDF.SpawnSession.disable_scripts/2,
 call: &ChromicPDF.SpawnSession.set_user_agent/2,
 await: &ChromicPDF.SpawnSession.attached/2,
 await: &ChromicPDF.ResetTarget.history_reset/2,
 call: &ChromicPDF.ResetTarget.blank/2,
 call: &ChromicPDF.SpawnSession.enable_page/2,
 call: &ChromicPDF.SpawnSession.offline_mode/2,
 call: &ChromicPDF.ResetTarget.reset_history/2,
 call: &ChromicPDF.SpawnSession.runtime_enable/2,
 state: %{
 init_timeout: 10000,
 await: &ChromicPDF.ResetTarget.blanked/2,
 discard_stderr: false,
 await: &ChromicPDF.ResetTarget.fsl_after_blank/2,
 chrome_args: [append: "--headless=new", remove: ["--headless"]],
 disable_scripts: true,
 __protocol__: ChromicPDF.SpawnSession,
 ],
 ignore_certificate_errors: false,
 checkout_timeout: "[FILTERED]",
 output: &ChromicPDF.SpawnSession.output/1
 close_timeout: "[FILTERED]",
 max_uses: "[FILTERED]",
 last_call_id: 5,
 name: "[FILTERED]",

 (chromic_pdf 1.17.0) lib/chromic_pdf/pdf/browser/channel.ex:24: ChromicPDF.Browser.Channel.run_protocol/3
 offline: true,
 Args: []
 }
 timeout: 5000,
 session_pool: [init_timeout: 10000, size: 5],
 (chromic_pdf 1.17.0) lib/chromic_pdf/pdf/browser/session_pool.ex:99: ChromicPDF.Browser.SessionPool.do_init_worker/1
 no_sandbox: true,
19:40:28.959 [error] Task #PID<0.1676.0> started from #PID<0.1671.0> terminating
}
 unhandled_runtime_exceptions: :log
 (chromic_pdf 1.17.0) lib/chromic_pdf/pdf/browser.ex:61: anonymous fn/2 in ChromicPDF.Browser.session_pools/1
 (elixir 1.16.1) lib/task/supervised.ex:101: Task.Supervised.invoke_mfa/2
Function: #Function<1.84393155/0 in ChromicPDF.Browser.SessionPool.init_worker/1>
 (elixir 1.16.1) lib/task/supervised.ex:36: Task.Supervised.reply/4
 size: 5,
** (ChromicPDF.Browser.ExecutionError) Timeout in Channel.run_protocol/3!
 call: &ChromicPDF.SpawnSession.create_target/2,
 __protocol__: ChromicPDF.SpawnSession,
 call: &ChromicPDF.SpawnSession.runtime_enable/2,
 call: &ChromicPDF.ResetTarget.blank/2,
not able to complete the current operation (= PDF print job) within the configured
If you are printing large PDFs and expect long processing times, please consult the
---

10000 milliseconds.
 await: &ChromicPDF.SpawnSession.browser_context_created/2,
 await: &ChromicPDF.SpawnSession.target_created/2,
 call: &ChromicPDF.SpawnSession.attach/2,
 call: &ChromicPDF.SpawnSession.disable_scripts/2,
documentation for the `timeout` option of the session pool.
 call: &ChromicPDF.SpawnSession.enable_page/2,
 steps: [
 output: &ChromicPDF.SpawnSession.output/1

 await: &ChromicPDF.SpawnSession.page_enabled/2,

 checkout_timeout: "[FILTERED]",
 await: &ChromicPDF.ResetTarget.blanked/2,

 ],
bug in ChromicPDF. Please open an issue on the issue tracker.

%ChromicPDF.Protocol{
 call: &ChromicPDF.SpawnSession.set_user_agent/2,
 no_sandbox: true,
 offline: true,
 last_call_id: 7,
 (chromic_pdf 1.17.0) lib/chromic_pdf/pdf/browser.ex:61: anonymous fn/2 in ChromicPDF.Browser.session_pools/1
 (chromic_pdf 1.17.0) lib/chromic_pdf/pdf/browser/session_pool.ex:99: ChromicPDF.Browser.SessionPool.do_init_worker/1
 Args: []
 }
 (elixir 1.16.1) lib/task/supervised.ex:36: Task.Supervised.reply/4
 session_pool: [init_timeout: 10000, size: 5],
 unhandled_runtime_exceptions: :log

 init_timeout: 10000,
documentation for the `timeout` option of the session pool.
 close_timeout: "[FILTERED]",
Function: #Function<1.84393155/0 in ChromicPDF.Browser.SessionPool.init_worker/1>

 size: 5,
 discard_stderr: false,
 timeout: 5000,
}
** (ChromicPDF.Browser.ExecutionError) Timeout in Channel.run_protocol/3!
 chrome_args: [append: "--headless=new", remove: ["--headless"]],
 max_uses: "[FILTERED]",
 name: "[FILTERED]",
If you are printing large PDFs and expect long processing times, please consult the
 ignore_certificate_errors: false,
19:40:28.958 [error] Task #PID<0.1675.0> started from #PID<0.1671.0> terminating
 disable_scripts: true,

The underlying GenServer.call/3 exited with a timeout. This happens when the browser was
10000 milliseconds.
 (chromic_pdf 1.17.0) lib/chromic_pdf/pdf/browser/channel.ex:24: ChromicPDF.Browser.Channel.run_protocol/3
 (elixir 1.16.1) lib/task/supervised.ex:101: Task.Supervised.invoke_mfa/2
not able to complete the current operation (= PDF print job) within the configured
 __protocol__: ChromicPDF.SpawnSession,
 ignore_certificate_errors: false,
 state: %{
 output: &ChromicPDF.SpawnSession.output/1
 call: &ChromicPDF.SpawnSession.attach/2,
 close_timeout: "[FILTERED]",
 call: &ChromicPDF.SpawnSession.offline_mode/2,
 call: &ChromicPDF.SpawnSession.set_user_agent/2,

 steps: [
 call: &ChromicPDF.SpawnSession.create_target/2,

Current protocol:
---
bug in ChromicPDF. Please open an issue on the issue tracker.
 disable_scripts: true,
 checkout_timeout: "[FILTERED]",
 call: &ChromicPDF.ResetTarget.blank/2,
 await: &ChromicPDF.SpawnSession.attached/2,
%ChromicPDF.Protocol{
 chrome_args: [append: "--headless=new", remove: ["--headless"]],
 await: &ChromicPDF.ResetTarget.fsl_after_blank/2,
 call: &ChromicPDF.ResetTarget.reset_history/2,
 await: &ChromicPDF.SpawnSession.browser_context_created/2,
 last_call_id: 1,
 await: &ChromicPDF.SpawnSession.page_enabled/2,
 call: &ChromicPDF.SpawnSession.runtime_enable/2,
 init_timeout: 10000,
 ],
 call: &ChromicPDF.SpawnSession.disable_scripts/2,
 await: &ChromicPDF.SpawnSession.target_created/2,

If you are *not* printing large PDFs but your print jobs still time out, this is likely a
 await: &ChromicPDF.ResetTarget.history_reset/2,
 discard_stderr: false,
 call: &ChromicPDF.SpawnSession.enable_page/2,
 await: &ChromicPDF.ResetTarget.blanked/2,

 name: "[FILTERED]",

 (chromic_pdf 1.17.0) lib/chromic_pdf/pdf/browser/channel.ex:24: ChromicPDF.Browser.Channel.run_protocol/3
bug in ChromicPDF. Please open an issue on the issue tracker.
Current protocol:
 steps: [
 size: 5,
 unhandled_runtime_exceptions: :log
** (ChromicPDF.Browser.ExecutionError) Timeout in Channel.run_protocol/3!
Function: #Function<1.84393155/0 in ChromicPDF.Browser.SessionPool.init_worker/1>
If you are printing large PDFs and expect long processing times, please consult the
---
 }
 (elixir 1.16.1) lib/task/supervised.ex:101: Task.Supervised.invoke_mfa/2
The underlying GenServer.call/3 exited with a timeout. This happens when the browser was
 session_pool: [init_timeout: 10000, size: 5],
 offline: true,
 Args: []
10000 milliseconds.
documentation for the `timeout` option of the session pool.
 (chromic_pdf 1.17.0) lib/chromic_pdf/pdf/browser.ex:61: anonymous fn/2 in ChromicPDF.Browser.session_pools/1
 max_uses: "[FILTERED]",

 (elixir 1.16.1) lib/task/supervised.ex:36: Task.Supervised.reply/4
If you are *not* printing large PDFs but your print jobs still time out, this is likely a

19:40:28.958 [error] Task #PID<0.1672.0> started from #PID<0.1671.0> terminating
 (chromic_pdf 1.17.0) lib/chromic_pdf/pdf/browser/session_pool.ex:99: ChromicPDF.Browser.SessionPool.do_init_worker/1
}
 await: &ChromicPDF.SpawnSession.browser_context_created/2,
 init_timeout: 10000,
 output: &ChromicPDF.SpawnSession.output/1
 call: &ChromicPDF.SpawnSession.runtime_enable/2,
 call: &ChromicPDF.SpawnSession.enable_page/2,
 __protocol__: ChromicPDF.SpawnSession,
 call: &ChromicPDF.SpawnSession.attach/2,
 await: &ChromicPDF.SpawnSession.page_enabled/2,
 call: &ChromicPDF.ResetTarget.blank/2,
 ],
 disable_scripts: true,
 discard_stderr: false,
 await: &ChromicPDF.SpawnSession.target_created/2,
 call: &ChromicPDF.ResetTarget.reset_history/2,
 chrome_args: [append: "--headless=new", remove: ["--headless"]],
 max_uses: "[FILTERED]",
 await: &ChromicPDF.ResetTarget.history_reset/2,
 call: &ChromicPDF.SpawnSession.offline_mode/2,
 await: &ChromicPDF.ResetTarget.fsl_after_blank/2,
 last_call_id: 3,
 name: "[FILTERED]",
 state: %{
 no_sandbox: true,
 offline: true,
 await: &ChromicPDF.SpawnSession.attached/2,
 call: &ChromicPDF.SpawnSession.set_user_agent/2,
 checkout_timeout: "[FILTERED]",
 close_timeout: "[FILTERED]",
 session_pool: [init_timeout: 10000, size: 5],
 size: 5,
 ignore_certificate_errors: false,
 call: &ChromicPDF.SpawnSession.create_target/2,
 await: &ChromicPDF.ResetTarget.blanked/2,
 call: &ChromicPDF.SpawnSession.disable_scripts/2,
 timeout: 5000,
 call: &ChromicPDF.SpawnSession.create_target/2,
---
%ChromicPDF.Protocol{

If you are printing large PDFs and expect long processing times, please consult the

 (chromic_pdf 1.17.0) lib/chromic_pdf/pdf/browser/channel.ex:24: ChromicPDF.Browser.Channel.run_protocol/3

 (elixir 1.16.1) lib/task/supervised.ex:36: Task.Supervised.reply/4
If you are *not* printing large PDFs but your print jobs still time out, this is likely a
 Args: []
 (elixir 1.16.1) lib/task/supervised.ex:101: Task.Supervised.invoke_mfa/2
 await: &ChromicPDF.SpawnSession.browser_context_created/2,
19:40:28.958 [error] Task #PID<0.1673.0> started from #PID<0.1671.0> terminating
 unhandled_runtime_exceptions: :log
Current protocol:

 (chromic_pdf 1.17.0) lib/chromic_pdf/pdf/browser/session_pool.ex:99: ChromicPDF.Browser.SessionPool.do_init_worker/1

not able to complete the current operation (= PDF print job) within the configured
 steps: [
The underlying GenServer.call/3 exited with a timeout. This happens when the browser was
 }
documentation for the `timeout` option of the session pool.
10000 milliseconds.

** (ChromicPDF.Browser.ExecutionError) Timeout in Channel.run_protocol/3!
bug in ChromicPDF. Please open an issue on the issue tracker.
 await: &ChromicPDF.SpawnSession.target_created/2,
Function: #Function<1.84393155/0 in ChromicPDF.Browser.SessionPool.init_worker/1>
 (chromic_pdf 1.17.0) lib/chromic_pdf/pdf/browser.ex:61: anonymous fn/2 in ChromicPDF.Browser.session_pools/1
}
}
 no_sandbox: true,
 close_timeout: "[FILTERED]",
 size: 5,
 call: &ChromicPDF.SpawnSession.disable_scripts/2,
 output: &ChromicPDF.SpawnSession.output/1
 }
 call: &ChromicPDF.SpawnSession.runtime_enable/2,
 call: &ChromicPDF.SpawnSession.set_user_agent/2,
 ignore_certificate_errors: false,
 session_pool: [init_timeout: 10000, size: 5],
 (chromic_pdf 1.17.0) lib/chromic_pdf/pdf/browser.ex:61: anonymous fn/2 in ChromicPDF.Browser.session_pools/1
 (elixir 1.16.1) lib/task/supervised.ex:101: Task.Supervised.invoke_mfa/2
 (chromic_pdf 1.17.0) lib/chromic_pdf/pdf/browser/channel.ex:24: ChromicPDF.Browser.Channel.run_protocol/3
 Args: []
 (elixir 1.16.1) lib/task/supervised.ex:36: Task.Supervised.reply/4
 (chromic_pdf 1.17.0) lib/chromic_pdf/pdf/browser/session_pool.ex:99: ChromicPDF.Browser.SessionPool.do_init_worker/1
Function: #Function<1.84393155/0 in ChromicPDF.Browser.SessionPool.init_worker/1>

[171:197:0826/194029.085722:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 199: Permission denied (13)
[171:197:0826/194031.335458:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 224: Permission denied (13)
[171:185:0826/194031.413005:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[171:185:0826/194031.412965:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[171:197:0826/194035.376013:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 243: Permission denied (13)
[171:197:0826/194035.425895:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 245: Permission denied (13)
[171:262:0826/194038.056428:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[171:262:0826/194038.056473:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[171:262:0826/194038.056544:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[171:262:0826/194038.056501:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[171:262:0826/194038.056379:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[171:197:0826/194038.155938:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 263: Permission denied (13)
[171:197:0826/194038.158360:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 264: Permission denied (13)
[171:197:0826/194038.416829:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 281: Permission denied (13)
[171:197:0826/194038.443024:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 290: Permission denied (13)
[171:197:0826/194038.445364:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 291: Permission denied (13)
[171:197:0826/194038.570518:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 308: Permission denied (13)
[171:197:0826/194038.572567:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 309: Permission denied (13)
[171:197:0826/194038.610007:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 326: Permission denied (13)
[171:197:0826/194038.612008:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 327: Permission denied (13)
[171:197:0826/194038.647604:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 344: Permission denied (13)
[171:197:0826/194038.649878:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 345: Permission denied (13)
 steps: [

The underlying GenServer.call/3 exited with a timeout. This happens when the browser was
documentation for the `timeout` option of the session pool.
not able to complete the current operation (= PDF print job) within the configured
** (ChromicPDF.Browser.ExecutionError) Timeout in Channel.run_protocol/3!
---
19:40:38.965 [error] Task #PID<0.1849.0> started from #PID<0.1671.0> terminating
If you are *not* printing large PDFs but your print jobs still time out, this is likely a
If you are printing large PDFs and expect long processing times, please consult the

10000 milliseconds.

bug in ChromicPDF. Please open an issue on the issue tracker.
%ChromicPDF.Protocol{

Current protocol:
 output: &ChromicPDF.SpawnSession.output/1
 state: %{
 call: &ChromicPDF.SpawnSession.runtime_enable/2,
 :disable_scripts => true,
 :checkout_timeout => "[FILTERED]",
 call: &ChromicPDF.ResetTarget.blank/2,
 await: &ChromicPDF.SpawnSession.page_enabled/2,
 :chrome_args => [append: "--headless=new", remove: ["--headless"]],
 call: &ChromicPDF.ResetTarget.reset_history/2,
 call: &ChromicPDF.SpawnSession.disable_scripts/2,
 :close_timeout => "[FILTERED]",
 :__protocol__ => ChromicPDF.SpawnSession,
 call: &ChromicPDF.SpawnSession.enable_page/2,
 await: &ChromicPDF.SpawnSession.attached/2,
 :discard_stderr => false,
 await: &ChromicPDF.ResetTarget.blanked/2,
 call: &ChromicPDF.SpawnSession.set_user_agent/2,
 call: &ChromicPDF.SpawnSession.offline_mode/2,
 await: &ChromicPDF.ResetTarget.fsl_after_blank/2,
 await: &ChromicPDF.ResetTarget.history_reset/2,
 ],
 :init_timeout => 10000,
 :unhandled_runtime_exceptions => :log,
 :size => 5,
 :session_pool => [init_timeout: 10000, size: 5],
 :name => "[FILTERED]",
 :max_uses => "[FILTERED]",
}
 "targetId" => "2A23F2E2B06501216F15EA2A4C67CD72"
 :timeout => 5000,
 :offline => true,
 (chromic_pdf 1.17.0) lib/chromic_pdf/pdf/browser.ex:61: anonymous fn/2 in ChromicPDF.Browser.session_pools/1
 (chromic_pdf 1.17.0) lib/chromic_pdf/pdf/browser/channel.ex:24: ChromicPDF.Browser.Channel.run_protocol/3

 :ignore_certificate_errors => false,
 }
 :no_sandbox => true,
 "browserContextId" => "[FILTERED]",
 (chromic_pdf 1.17.0) lib/chromic_pdf/pdf/browser/session_pool.ex:99: ChromicPDF.Browser.SessionPool.do_init_worker/1
 :last_call_id => 31,
The underlying GenServer.call/3 exited with a timeout. This happens when the browser was
 (elixir 1.16.1) lib/task/supervised.ex:36: Task.Supervised.reply/4
 call: &ChromicPDF.SpawnSession.offline_mode/2,
10000 milliseconds.
19:40:38.965 [error] Task #PID<0.1851.0> started from #PID<0.1671.0> terminating

 (elixir 1.16.1) lib/task/supervised.ex:101: Task.Supervised.invoke_mfa/2
%ChromicPDF.Protocol{

bug in ChromicPDF. Please open an issue on the issue tracker.
 Args: []

 call: &ChromicPDF.SpawnSession.set_user_agent/2,
documentation for the `timeout` option of the session pool.
If you are printing large PDFs and expect long processing times, please consult the
---
** (ChromicPDF.Browser.ExecutionError) Timeout in Channel.run_protocol/3!
 call: &ChromicPDF.SpawnSession.runtime_enable/2,
 steps: [
If you are *not* printing large PDFs but your print jobs still time out, this is likely a
Current protocol:
 call: &ChromicPDF.SpawnSession.disable_scripts/2,

 await: &ChromicPDF.SpawnSession.attached/2,
Function: #Function<1.84393155/0 in ChromicPDF.Browser.SessionPool.init_worker/1>

 output: &ChromicPDF.SpawnSession.output/1
 :discard_stderr => false,
 :session_pool => [init_timeout: 10000, size: 5],
 await: &ChromicPDF.ResetTarget.fsl_after_blank/2,
 :last_call_id => 35,
 :disable_scripts => true,
 :close_timeout => "[FILTERED]",
 await: &ChromicPDF.ResetTarget.history_reset/2,
 :init_timeout => 10000,
 :chrome_args => [append: "--headless=new", remove: ["--headless"]],
 call: &ChromicPDF.SpawnSession.enable_page/2,
 :name => "[FILTERED]",
 call: &ChromicPDF.ResetTarget.reset_history/2,
 :size => 5,
 state: %{
 ],
 await: &ChromicPDF.SpawnSession.page_enabled/2,
 :checkout_timeout => "[FILTERED]",
 :__protocol__ => ChromicPDF.SpawnSession,
 :ignore_certificate_errors => false,
 :offline => true,
 call: &ChromicPDF.ResetTarget.blank/2,
 :no_sandbox => true,
 :max_uses => "[FILTERED]",
 await: &ChromicPDF.ResetTarget.blanked/2,
 Args: []
19:40:38.965 [error] Task #PID<0.1853.0> started from #PID<0.1671.0> terminating
 (chromic_pdf 1.17.0) lib/chromic_pdf/pdf/browser/channel.ex:24: ChromicPDF.Browser.Channel.run_protocol/3
 :unhandled_runtime_exceptions => :log,
not able to complete the current operation (= PDF print job) within the configured

** (ChromicPDF.Browser.ExecutionError) Timeout in Channel.run_protocol/3!
 (chromic_pdf 1.17.0) lib/chromic_pdf/pdf/browser/session_pool.ex:99: ChromicPDF.Browser.SessionPool.do_init_worker/1
 (chromic_pdf 1.17.0) lib/chromic_pdf/pdf/browser.ex:61: anonymous fn/2 in ChromicPDF.Browser.session_pools/1
 (elixir 1.16.1) lib/task/supervised.ex:101: Task.Supervised.invoke_mfa/2
10000 milliseconds.
Function: #Function<1.84393155/0 in ChromicPDF.Browser.SessionPool.init_worker/1>
The underlying GenServer.call/3 exited with a timeout. This happens when the browser was
 "browserContextId" => "[FILTERED]",
 :timeout => 5000,
}

 "targetId" => "C2FD18E4DAE42D68D07DE9E33E6FA3BE"
 (elixir 1.16.1) lib/task/supervised.ex:36: Task.Supervised.reply/4
 }
If you are printing large PDFs and expect long processing times, please consult the
If you are *not* printing large PDFs but your print jobs still time out, this is likely a

%ChromicPDF.Protocol{

documentation for the `timeout` option of the session pool.

---

Current protocol:
bug in ChromicPDF. Please open an issue on the issue tracker.

 steps: [
 call: &ChromicPDF.ResetTarget.blank/2,
 call: &ChromicPDF.SpawnSession.set_user_agent/2,
 await: &ChromicPDF.ResetTarget.fsl_after_blank/2,
 call: &ChromicPDF.ResetTarget.reset_history/2,
 call: &ChromicPDF.SpawnSession.enable_page/2,
 call: &ChromicPDF.SpawnSession.runtime_enable/2,
 await: &ChromicPDF.SpawnSession.page_enabled/2,
 :__protocol__ => ChromicPDF.SpawnSession,
 await: &ChromicPDF.SpawnSession.attached/2,
 call: &ChromicPDF.SpawnSession.offline_mode/2,
 ],
 await: &ChromicPDF.ResetTarget.blanked/2,
 state: %{
 output: &ChromicPDF.SpawnSession.output/1
 await: &ChromicPDF.ResetTarget.history_reset/2,
 call: &ChromicPDF.SpawnSession.disable_scripts/2,
 :session_pool => [init_timeout: 10000, size: 5],
 "targetId" => "2405563765E3DBCEAAC64A75DDFDE4C2"
 (chromic_pdf 1.17.0) lib/chromic_pdf/pdf/browser.ex:61: anonymous fn/2 in ChromicPDF.Browser.session_pools/1

not able to complete the current operation (= PDF print job) within the configured
 :no_sandbox => true,
 }
 :last_call_id => 39,
 :checkout_timeout => "[FILTERED]",
 :discard_stderr => false,
 :size => 5,
 :timeout => 5000,
 (chromic_pdf 1.17.0) lib/chromic_pdf/pdf/browser/session_pool.ex:99: ChromicPDF.Browser.SessionPool.do_init_worker/1
** (ChromicPDF.Browser.ExecutionError) Timeout in Channel.run_protocol/3!

 :init_timeout => 10000,
 :name => "[FILTERED]",
Function: #Function<1.84393155/0 in ChromicPDF.Browser.SessionPool.init_worker/1>
 :max_uses => "[FILTERED]",
documentation for the `timeout` option of the session pool.
 ],
 call: &ChromicPDF.SpawnSession.disable_scripts/2,
 call: &ChromicPDF.ResetTarget.blank/2,
 call: &ChromicPDF.SpawnSession.enable_page/2,

 await: &ChromicPDF.ResetTarget.history_reset/2,
 state: %{
bug in ChromicPDF. Please open an issue on the issue tracker.
 await: &ChromicPDF.SpawnSession.attached/2,
 await: &ChromicPDF.ResetTarget.fsl_after_blank/2,
---

 call: &ChromicPDF.SpawnSession.runtime_enable/2,
 await: &ChromicPDF.ResetTarget.blanked/2,
 output: &ChromicPDF.SpawnSession.output/1
 call: &ChromicPDF.SpawnSession.set_user_agent/2,

Current protocol:
%ChromicPDF.Protocol{
 call: &ChromicPDF.SpawnSession.offline_mode/2,
 await: &ChromicPDF.SpawnSession.page_enabled/2,
 call: &ChromicPDF.ResetTarget.reset_history/2,
 :ignore_certificate_errors => false,
 :close_timeout => "[FILTERED]",
 :max_uses => "[FILTERED]",
 :timeout => 5000,
 :discard_stderr => false,
 :init_timeout => 10000,
 :__protocol__ => ChromicPDF.SpawnSession,
 :chrome_args => [append: "--headless=new", remove: ["--headless"]],
 :disable_scripts => true,
 :offline => true,
 :name => "[FILTERED]",
 :last_call_id => 33,
 :no_sandbox => true,
 :session_pool => [init_timeout: 10000, size: 5],
 :checkout_timeout => "[FILTERED]",
 :size => 5,
If you are *not* printing large PDFs but your print jobs still time out, this is likely a
 steps: [
 call: &ChromicPDF.SpawnSession.disable_scripts/2,

 call: &ChromicPDF.SpawnSession.offline_mode/2,
If you are printing large PDFs and expect long processing times, please consult the
 (elixir 1.16.1) lib/task/supervised.ex:36: Task.Supervised.reply/4
 (chromic_pdf 1.17.0) lib/chromic_pdf/pdf/browser/channel.ex:24: ChromicPDF.Browser.Channel.run_protocol/3
 call: &ChromicPDF.SpawnSession.runtime_enable/2,
bug in ChromicPDF. Please open an issue on the issue tracker.
10000 milliseconds.
 }

19:40:38.966 [error] Task #PID<0.1852.0> started from #PID<0.1671.0> terminating
}
 call: &ChromicPDF.SpawnSession.set_user_agent/2,
%ChromicPDF.Protocol{
documentation for the `timeout` option of the session pool.

** (ChromicPDF.Browser.ExecutionError) Timeout in Channel.run_protocol/3!
 steps: [
Current protocol:

---
Function: #Function<1.84393155/0 in ChromicPDF.Browser.SessionPool.init_worker/1>
 (elixir 1.16.1) lib/task/supervised.ex:101: Task.Supervised.invoke_mfa/2
The underlying GenServer.call/3 exited with a timeout. This happens when the browser was
 call: &ChromicPDF.ResetTarget.reset_history/2,
 await: &ChromicPDF.SpawnSession.attached/2,
 (chromic_pdf 1.17.0) lib/chromic_pdf/pdf/browser/session_pool.ex:99: ChromicPDF.Browser.SessionPool.do_init_worker/1
 call: &ChromicPDF.SpawnSession.enable_page/2,

 Args: []
 await: &ChromicPDF.SpawnSession.page_enabled/2,
not able to complete the current operation (= PDF print job) within the configured
 "targetId" => "0443FB898A8F3CAE413A0B822DBF9445"
If you are *not* printing large PDFs but your print jobs still time out, this is likely a
 "browserContextId" => "[FILTERED]",
 (chromic_pdf 1.17.0) lib/chromic_pdf/pdf/browser.ex:61: anonymous fn/2 in ChromicPDF.Browser.session_pools/1
 :unhandled_runtime_exceptions => :log,

 (elixir 1.16.1) lib/task/supervised.ex:36: Task.Supervised.reply/4
 await: &ChromicPDF.ResetTarget.blanked/2,
 ],
 :checkout_timeout => "[FILTERED]",
 :close_timeout => "[FILTERED]",
 :disable_scripts => true,
 :last_call_id => 37,
}
 await: &ChromicPDF.ResetTarget.history_reset/2,
 :chrome_args => [append: "--headless=new", remove: ["--headless"]],
 :__protocol__ => ChromicPDF.SpawnSession,
 :session_pool => [init_timeout: 10000, size: 5],
 await: &ChromicPDF.ResetTarget.fsl_after_blank/2,
 (elixir 1.16.1) lib/task/supervised.ex:101: Task.Supervised.invoke_mfa/2
 (chromic_pdf 1.17.0) lib/chromic_pdf/pdf/browser.ex:61: anonymous fn/2 in ChromicPDF.Browser.session_pools/1
 (chromic_pdf 1.17.0) lib/chromic_pdf/pdf/browser/session_pool.ex:99: ChromicPDF.Browser.SessionPool.do_init_worker/1
 output: &ChromicPDF.SpawnSession.output/1
 :max_uses => "[FILTERED]",
 "browserContextId" => "[FILTERED]",
 }
 :no_sandbox => true,
Function: #Function<1.84393155/0 in ChromicPDF.Browser.SessionPool.init_worker/1>
 :size => 5,
 "targetId" => "392259423D63CF4AE75C7979D2E0CD36"
 (chromic_pdf 1.17.0) lib/chromic_pdf/pdf/browser/channel.ex:24: ChromicPDF.Browser.Channel.run_protocol/3
 :name => "[FILTERED]",
 :discard_stderr => false,
 :ignore_certificate_errors => false,
 :timeout => 5000,

 call: &ChromicPDF.ResetTarget.blank/2,
 :offline => true,
 :unhandled_runtime_exceptions => :log,
 state: %{
 :init_timeout => 10000,
 Args: []
[171:197:0826/194039.191072:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 367: Permission denied (13)
[171:197:0826/194039.634424:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 376: Permission denied (13)
[171:197:0826/194039.636915:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 377: Permission denied (13)
[171:197:0826/194039.675129:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 394: Permission denied (13)
[171:197:0826/194039.677292:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 395: Permission denied (13)
[171:197:0826/194039.717994:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 412: Permission denied (13)
[171:197:0826/194039.720383:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 413: Permission denied (13)
[171:197:0826/194039.759621:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 430: Permission denied (13)
[171:197:0826/194039.761672:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 431: Permission denied (13)
[171:197:0826/194039.805459:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 448: Permission denied (13)
[171:197:0826/194039.808216:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 449: Permission denied (13)
[171:197:0826/194041.396047:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 467: Permission denied (13)
[171:197:0826/194041.402979:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 469: Permission denied (13)
[171:197:0826/194041.409116:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 475: Permission denied (13)
[171:197:0826/194041.417070:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 482: Permission denied (13)
[171:197:0826/194041.422184:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 487: Permission denied (13)
[0826/194041.759490:ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)
[0826/194041.759332:ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
[171:197:0826/194041.841593:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 500: Permission denied (13)
[0826/194041.852948:ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)
[0826/194041.852920:ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
[171:197:0826/194041.870707:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 509: Permission denied (13)
[171:197:0826/194041.874942:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 510: Permission denied (13)
[171:171:0826/194041.879943:ERROR:interface_endpoint_client.cc(722)] Message 2 rejected by interface blink.mojom.Widget
[171:197:0826/194041.880655:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 513: Permission denied (13)
[171:197:0826/194042.838820:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 536: Permission denied (13)
[171:171:0826/194042.848748:ERROR:gpu_process_host.cc(1007)] GPU process exited unexpectedly: exit_code=133
[171:197:0826/194042.850926:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 542: Permission denied (13)
[0826/194044.714989:ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
[0826/194044.715021:ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)

If this happens at startup and you are running inside a Docker container with a Linux-based
Either way, to see Chrome's error output, configure ChromicPDF with the option
19:40:45.568 [error] GenServer #PID<0.1669.0> terminating

image, please see the "Chrome Sandbox in Docker containers" section of the documentation.
** (ChromicPDF.Connection.ConnectionLostError) Chrome has stopped or was terminated by an external program.
If this happened while you were printing a PDF, this may be a problem with Chrome itelf.
Last message: {:DOWN, #Reference<0.809766910.2901409800.172731>, :port, #Port<0.15>, :normal}
 (chromic_pdf 1.17.0) lib/chromic_pdf/pdf/connection/local.ex:49: ChromicPDF.Connection.Local.handle_info/2

 (stdlib <IP_ADDRESS>) gen_server.erl:1123: :gen_server.try_dispatch/4

 (stdlib <IP_ADDRESS>) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
 discard_stderr: false
 (stdlib <IP_ADDRESS>) gen_server.erl:1200: :gen_server.handle_msg/6
[574:589:0826/194047.903290:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[574:601:0826/194047.903215:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 603: Permission denied (13)
[574:592:0826/194047.903294:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[574:592:0826/194047.925812:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[574:589:0826/194047.925847:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[574:589:0826/194047.925900:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[574:589:0826/194047.925915:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[574:589:0826/194047.925929:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[574:589:0826/194047.925877:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[574:601:0826/194047.998365:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 605: Permission denied (13)
[574:589:0826/194047.998814:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[574:589:0826/194047.998842:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[574:601:0826/194048.490857:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 646: Permission denied (13)
[574:601:0826/194048.493310:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 647: Permission denied (13)
[574:665:0826/194048.767975:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[574:665:0826/194048.767887:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[574:665:0826/194048.767999:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[574:665:0826/194048.767832:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory

I don't know if any of that helps, but if you have any thoughts, I'm all ears. Thanks!!!

A few  more bits of information, if you don't mind. It appears that after I (reluctantly) turned no-sandbox on, the app does indeed startup and I can generate PDFs as before. It's just that all that :point_up: crazy stuff gets dumped into my logs first.
Incidentally, I put back the call to warm_up which I had previously removed, but that changed nothing. And I tried headless=old too, but that didn't change anything either. And finally I upgraded from Ubuntu 20 to 24, but again, nothing.
Something changed in Chrome between versions 127 and 128 that just made everything go sideways, and I don't see any way to pin the Chrome buildpack I'm using to a certain chrome version, it's always going to pick the current stable release. :disappointed:

Hey @petelacey. I ran into the same issue. For me, it seemed to be large images being displayed as base64 data. 127 was fine, and 128 crashed intermittently.
I forked the "old" chrome buildpack and added the ability for it to read a GOOGLE_CHROME_MAJOR_VERSION environment variable. I've got mine set at 127 for now and it seems to be working. Feel free to use / fork (at your own risk) of course 😅

Thanks, @metabren!!!  I didn't even think this was a possible. For now, I've temporarily pivoted over to a wkhtmltopdf solution (my PDF needs are modest), but I will definitely try this out next week.

Hello both,
thank you for the information. Unfortunately, I don't have much time to look into it further. But considering there are  active issues in other repositories, this may as well be a Chromium bug and we only need to give upstream some time.
@andreasknoepfle Confirmed this is an issue for Alpine-3.20 based images, see https://gist.github.com/maltoe/dcc697f17b92bb1911b74a44d534b5b9 (124 works, 128 crashes)

Apologies @maltoe, I should have said. I definitely would consider this a Chromium bug. Hope they sort it out soon.

Thanks, @maltoe. I was able to get past this with @metabren's buildpack. I'll make a point of trying upcoming releases of chrome. I'll leave a note when it starts working again.

 Headless printing was OK with Chromium 126, but 128 broke it.
It is now working for us with Chromium 129.0.6668.58 built on Debian GNU/Linux 12 (bookworm) on arm64

@satphil That's good news, thank you!

Don't want to ruin the party, but we just tried to start our application with ENV CHROME_VERSION=129.0.6668.58-1 and we get the errors again.
With ENV CHROME_VERSION=126.0.6478.182-1 everything works without any problems.

Hello both,
thank you for the information. Unfortunately, I don't have much time to look into it further. But considering there are possibly related active issues in other repositories, this may as well be a Chromium bug and we only need to give upstream some time.
@andreasknoepfle Confirmed this is an issue for Alpine-3.20 based images, see https://gist.github.com/maltoe/dcc697f17b92bb1911b74a44d534b5b9 (124 works, 128 crashes)

I can't reproduce the crash with this. I get the same output, but the test.pdf is printed 🤔

@andreasknoepfle Dockerfile in gist still produces the same result for me. Errors + no PDF created.  Also added another one based on Bookworm, no PDF created. Am on Linux and amd64 (Ryzen), just for reference.
Unfortunately don't have much time to look into this. Still very mysterious.


Parsing error: File foo.graphql doesn't match any projects

Describe the bug
This may be a duplicate of https://github.com/dotansimha/graphql-eslint/issues/479. I have followed the README as closely as I can, adapting it a little, but I encounter the error "Parsing error: File foo/bar/baz.graphql doesn't match any projects" whenever I open a file with a .graphql extension.
To Reproduce
My ESLint configuration:
module.exports = {
  env: {node: true},
  extends: ['airbnb-typescript', 'plugin:prettier/recommended', 'plugin:jsdoc/recommended'],
  parserOptions: {project: './tsconfig.json'},
  rules: {
    'class-methods-use-this': 0,
    'import/no-unresolved': 0,
    'import/order': [
      1,
      {
        groups: ['builtin', 'external', 'internal', 'parent', 'sibling', 'index', 'object'],
        'newlines-between': 'always-and-inside-groups'
      }
    ],
    'no-restricted-syntax': 0,
    'no-use-before-define': [2, 'nofunc']
  },
  overrides: [
    {
      files: './src/**/*.graphql',
      parser: '@graphql-eslint/eslint-plugin',
      plugins: ['@graphql-eslint'],
      rules: {
        '@graphql-eslint/known-type-names': 'error'
      },
      parserOptions: {
        operations: './src/**/*.graphql',
        schema: './src/foo/bar/schema.graphql'
      }
    }
  ]
};

Per the README I also tried passing files: ['*.graphql'] to my overrides but that didn't resolve the error.
Expected behavior
.graphql files should be linted without errors
Environment:

OS: MacOS Mojave 10.14.6
@graphql-eslint/...: 3.6.0
NodeJS: 12.18.0

Hi, to help you I need a reproduction repo

I believe I've resolved my issue!
In my case, extending airbnb-typescript seemed to require all other parsers, even in my overrides, to expect project: './tsconfig.json' in their parserOptions. I refactored my TypeScript plugins and rules into their own overrides per this recommendation and now graphql-eslint is correctly linting my .graphql files. Thanks for your patience.

Nice!
Yeah, it's important that you don't have any rules configured at the top-level config, and to move all configurations into the overrides section. Since JavaScript rules can't run on GraphQL files and vice versa, if you have rules configured at the top level, they will try to also execute for all overrides, as ESLint's configs cascade.
I already showed it in examples. I think we need to improve docs for that.


Bad error message thrown when creating a symbolic link

Steps to reproduce
## I intend to create a symbolic link to a directory.
## However, I incorrectly specified the target directory path as the argument to `-Path`.
mkdir F:\temp\bar
New-Item -ItemType SymbolicLink -Path F:\temp\bar -Value F:\temp\foo

Expected behavior
Error message should be meaningful and useful
Actual behavior
PS:62> New-Item -ItemType SymbolicLink -Path F:\temp\bar -Value F:\temp\foo
New-Item : NewItemIOError
At line:1 char:1
+ New-Item -ItemType SymbolicLink -Path F:\temp\bar -Value F:\temp\foo
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ResourceExists: (F:\temp\bar:String) [New-Item], IOException
    + FullyQualifiedErrorId : NewItemIOError,Microsoft.PowerShell.Commands.NewItemCommand

Environment data

> $PSVersionTable
Name                           Value
----                           -----
PSVersion                      6.0.0-alpha
PSEdition                      Core
BuildVersion                   <IP_ADDRESS>
CLRVersion
GitCommitId                    v6.0.0-alpha.18-54-g3e416fb6422c0c25f63bd0228edd2403ae2c78d4
OS                             Linux 4.8.0-41-generic #44~16.04.1-Ubuntu SMP Fri Mar 3 17:11:16 ...
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

@jeffbi you have a lot experiences related to symbolic link, can you please have a quick look at this issue and see if it's easy to fix?

@daxian-dbw Well, the error message is correct, as far as it goes---the name given as the symlink path does already exist.
What would be preferred? We could try to be a little more clever and if we're trying to create a symlink and a) the item on -Path already exists and b) the item on -Value does not, we could do something "git-ish" like:
Item F:\tmp\bar already exists. Did you mean "-Path F:\tmp\foo -Value F:\tmp\bar?"

Not really a prompt, just a hint. Of course we'd probably want to know if target path was given via -Value or -Target and adjust the message accordingly.
Or just a new message specific to symlinks when the path item exists? Either one would be fairly easy.

Simple Item F:\tmp\bar already exists looks good in all cases.

It looks like this is the one place in the FileSystemProvider.cs code file that an ErrorRecord is being built from a newly-constructed IOException object without going out to FileSystemProviderStrings. It just plugs that ugly, non-localized text into the error:
    WriteError(new ErrorRecord(new IOException("NewItemIOError"), "NewItemIOError", ErrorCategory.ResourceExists, path));

I think we just need a new message and to change the code to use it.

I'd really like to change the error ID from "NewItemIOError" to "SymLinkExists" if for no other reason it will make for better tests. Or would that be a breaking change?

It is a breaking change but acceptable and reasonable.

@jeffbi Thanks for the quick fix!


Add link to cross-browser Fullscreen API wrapper

… screenfull.js is a simple dependency free wrapper for cross-browser usage of the JavaScript Fullscreen API.
It helps you handling those (weird … huhu IE :wave:) vendor prefixes when using the API.

Did it to the master branch with 170a2a5 and the change should be deployed in a matter of seconds.


A Couple of memory leaks caused by left-over GL-Objects

Since i've seen a couple of issues about memory leaks (i was never able to reproduce myself) i wanted to give it a chance to test if there is actually any leaks in the Engine, so i attached the Sandbox.exe to CodeXL and ran it, didn't notice anything unusual; But, after terminating the application, i got this:

so i started looking around to check if there is any GL-Objects left over, and there was!
in OpenGLShader.cpp (line 160) in the for-loop we are detaching the shaders from the program but never actually deleting them! and since there isn't any stored reference to them, they're leaked after the function returns, so to fix it i added a glDeleteShader(id) in the loop, and re-ran the test, and:

as we can see there is still 6 objects being leaked, i have no idea where from but i'm still investigating the issue; Any ideas?

OK so here are the objects being leaked

I was going to make a PR later about some of the memory leaks I know about, but this is fine too. The memory leaks and fixes I am aware of are:

Input::s_Instance is never deleted. It should be made a Scope.
RenderCommand::s_RendererAPI is never deleted. It should be made a Scope.
Renderer::s_SceneData is never deleted. It should be made a Scope.
We are not detaching layers before deleting them in LayerStack's destructor meaning the imgui Shutdown methods are never called. Just call OnDetach before deleting each layer in the destructor of LayerStack.
The known issue of us not calling glfwTerminate. A temporary fix could be the the solution propsed by @LovelySanta here.
WindowsWindow::m_Context is never deleted. It should be made a Scope.

I used Visual Leak Detector to find these, and after fixing them no further leaks were detected. This was done before the last two commits though and I don't fully trust Visual Leak Detector to pick every leak up.
Try implementing these and seeing if you pick anything else up?

OK, i'll do that and see if it fixes the problem

OK, so for me, i'm not getting any leaks now. looks like the problem is fixed, probably?

This look realy promissing, I like all of the changes, but please make seperate PR's for each issue:

Converting to scopes so they get deleted (they can all be in 1 PR)
Detaching the layer before deleting them in layerstack
Deleting the created shaders when the program was successfully created
GLFW window counting:

Leave the glfwInit() inside the init function
Move the glfwShutdown() inside the shutdown function
You check if the count is <= 0, just check == 0 as it is an uint8_t variable anyway...

In all of them, mension issue 47 (intentionaly not linked here)


Allowing to externalise sources storage to be able to create / destroy / create again the player

When using one-page apps which will render the DOM depending on the current route, if the current route has to render the Wave.js visualizer, then it has to be destroyed then created again, it will result in the following error :
bundle.cjs.js:13 Uncaught DOMException: Failed to execute 'createMediaElementSource' on 'AudioContext': HTMLMediaElement already connected previously to a different MediaElementSourceNode.
This error occurs because the sources are being stored in the class itself which is destroyed and created again :
this.sources[element.toString()] = {
                "audioCtx": audioCtx,
                "analyser": analyser,
                "source": source
            };

For classic webpages there won't be any problem since the visualizer will normally not be destroyed, but for all modern frameworks like React, Angular, VueJS, etc.. it will fail.
I think we should allow a way to override the default sources storage if needed  by passing a setSource method which will be used instead of all such cases
this.sources[element.toString()] = {
                "audioCtx": audioCtx,
                "analyser": analyser,
                "source": source
            };

And a getSource method which will be be used as a getter in such cases :
this.sources[element.toString()].animation
I created a simple working fiddle : http://jsfiddle.net/ma3zu8n5/1/

Okay I believe I have solved this issue, nothing new is needed to make it work from the users side of things, just make sure to pass strings as the element id for "fromElement" and everything should work. Ill have the update pushed in a few days.

Okay the update has been pushed let me know if this has solved your problem.

Thanks for the great effort.
Is there any change concerning the way we import the module?
I'm not able to test it because it seems there's some issue with the import :
import Wave from '@foobar404/wave'; can no longer be used as it was before, right after updating the package

You should be able to import as you did before. I included it into a
project yesterday and it was working. If you already had the dependency in
your project, make sure to use npm update, not npm I, to get the latest
version.
On Wed, Jul 1, 2020, 1:21 AM korbav<EMAIL_ADDRESS>wrote:

Thanks for the great effort.
Is there any change concerning the way we import the module?
I'm not able to test it because it seems there's some issue with the
import :
import Wave from '@foobar404/wave'; can no longer be used as it was
before, right after updating the package
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/foobar404/Wave.js/issues/6#issuecomment-652270230,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AG22BHOJ3HJS5GYROCI3R7TRZLWW3ANCNFSM4OI7VDHQ
.

You should be able to import as you did before. I included it into a project yesterday and it was working. If you already had the dependency in your project, make sure to use npm update, not npm I, to get the latest version.
…
On Wed, Jul 1, 2020, 1:21 AM korbav @.> wrote: Thanks for the great effort. Is there any change concerning the way we import the module? I'm not able to test it because it seems there's some issue with the import : import Wave from @./wave'; can no longer be used as it was before, right after updating the package — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#6 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG22BHOJ3HJS5GYROCI3R7TRZLWW3ANCNFSM4OI7VDHQ .

I tried to update instead of installing again, the result was the same
I thus cleaned everything and reinstalled from scratch but the problem is still here

Okay I think I fixed it, just pushed a new version, update and let me know if it works. Also decreased the file size by half.

Okay I think I fixed it, just pushed a new version, update and let me know if it works. Also decreased the file size by half.

The import does work now.
Concerning, the visualization though, I don't see anything happening on the canvas when the audio is playing.
const wave = new Wave();
    wave .fromElement(
      playerId,
      canvasId,
      {
        type: 'bars',
      },
    );

I'm not sure about the origin of the issue since the code has been compressed it's pretty hard to investigate. My first thought is that would be caused by the visualizer registering its own start onplay, but if the player is already playing when the visualizer appears on the screen then it will never start

Does it start playing when you pause and replay the audio

Does it start playing when you pause and replay the audio

No it doesn't. Something I just noticed is that the first time the visualizer appears, the audio player is being paused

That's probably because its being replaced with a new audio element, can I see the code where the wave is initialized

The audio element is created at the root of the app (), once, I can smoothly switch from any view to any view without interrupting the playing, so I definitely know it's not being replaced with a new audio element.
Sure, it's a react app so it's a pretty big structure, let me simplify it :
class App extends React.Component {
// ...

render() {
 // ...
 <audio
   id="my-player"
   controls={false}
   crossOrigin="anonymous"
  >
    <track kind="captions" />
  </audio>
  // ...
  { showVisualizer && (
    <Visualizer />
  )}
 }
}

class Visualizer extends React.Component {
  // ...
  componentDidMount() {
   const wv = new WaveVisualizer();
    wv.fromElement(
      "my-player",
      "my-canvas",
      {
        type: 'bars',
      },
    );
  }

 render() {
   // ...
  <canvas
    id="my-canvas"
    width={400}
    height={400}
   />
 }
}

The library automatically makes a new audio node and replaces the old one every time you call fromElement. This is done to solve the AudioContext problem. Based on this code it looks like everything should work, try giving the audio element controls and press pause and play a few times to see if it starts to play. Also can you tell me if you have this error in your console "The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page." .

I believe the issue is that the audioContext is not being resumed, because the browser pauses it by default, it is resumed when the play button is pressed.

I tried to display the controls of the audio element and to play/pause with them instead of programmatically but the visualizer didn't show up. I don't have the error you mentioned because I'm launching the play action in result of a user click.
I'm not sure if it's a good idea to clone the audio node, in particular when we can switch from one view to another and we still want the player to play; it will definitely be impossible to handle such a situation if the cloned element disappears alongside with the Visualizer.
I know the change has been implemented about the AudioContext we raised before, but honestly it will over-complicate everything and make a lot of modern uses impossible.
I think the previous behavior was totally Ok, based on this previous behavior, I would still recommend offering the possibility to externalize the management of the sources, we can store it by default in something like windows.sources instead of this.sources as it was before.

Okay let me rework the audioContext problem real quick

It seems to work absolutely perfectly now!

phew, good


feat: http request tool + example checking on the latest fabrice issues

Related to #74
TODO: add bdd tests after merging #137 in

LOL.
Does it really work? Inane, this is not much code to write at all! I guess what would be even more amazing is to finish implementing those AI workflows in Cali, where this could be really helpful!
I hope to finish that over the weekend!


JAva

Ask us to find free certificates in a specific field that you couldn't find here and we will add it.

Hi if you're looking for Java certificates I believe there is beginner one here. https://www.hackerrank.com/skills-verification/java_basic

Closing this, let me know if you need to find any other certificates/courses.


Add method NumericHelper::isInteger

Q
A

Is bugfix?
❌

New feature?
✔

Breaks BC?
❌

Fixed issues
-

👍

👍


"No accounts requested yet..." disabled menu item?

On a new install I see this entry at the bottom of the accounts menu:

On my main instance I don't see a menu item at the bottom, so why do we need/want a disabled item there?

Same problem here, brand new install.


Enable build egress proxying

This PR forces all network traffic during the Jenkins build to go through a local sidecar proxy on the Jenkins instance. This will allow us to properly route internet-bound traffic through a smokescreen proxy instance and then prevent jenkins workers from talking directly to the internet. See http://go.corp.stripe.com/stripe-build-egress-restriction for more information.
r? @stripe/observability
cc @areitz-stripe

LGTM


[Feature Request] - Swagger File Generation

I am looking for a backend for Dart with Swagger auto-generation, similar to Java. This is a good option to add this features

Support of Swagger (OpenApi) generation like in the NestJs (https://docs.nestjs.com/openapi/introduction) would be a super usefull feature!


return false for non supported browsers

I load the library by default for different distributions, had to make a change so the library does not cause errors.
Would this be valid for a PR ?
    if (window.hasOwnProperty('speechSynthesis')) {
        speechSynthesis.getVoices();
    } else {
        console.error('this browser does not support speechSyntesis');
        return false;
    }

    if (window.hasOwnProperty('webkitSpeechRecognition')) {
        var reconocimiento = new webkitSpeechRecognition();
    } else {
        console.error('this browser does not support webkitSpeechRecognition');
        return false;
    }

Hi @Danny-Engelman ,
artyom shouldn't generate any error when loaded from unsupported browsers (if it does, you are triggering some function of Artyom that use the APIs without verifying if they're supported or not). To verify if the browser supports any of the APIs use respectively the methods recognizingSupported (for voice commands) and speechSupported (for voice synthesis):
function Talk(text){
    if(!artyom.speechSupported()){
        console.log("Cannot talk");
        return;
    }

    artyom.say(text);
}

function StartRecognition(){
    if(!artyom.recognizingSupported()){
        console.log("Cannot process commands");
        return;
    }

    artyom.initialize({
        lang:"en-GB",
        continuous:true,
        debug:true,
        soundex:true,
        listen:true
    }).then(function(){
        console.log("Artyom is listening !");
    });
}

It shouldn't return false because there are other functions used by developers like simulateInstruction, besides some browsers provide partial support for only one of the APIs, that means that returning false when the browser doesn't support Speech Synthesis would leave out the Speech Recognition and there won't be support for voice commands.


ValueError: No such layer: custom

why ？

what means "weights"  used "imagenet",

I want to konw the retrain code,How can I get it

Can I using the other dataset?

Hi, can you please follow the Issues and Workarounds section in this tutorial post?
custom is a layer name that we assign by editing the model of our choice in applications module of Keras.

model = Sequential()
model.add(Dense(6, activation='softmax',input_dim=4096))
model.compile(optimizer='rmsprop',
loss='categorical_crossentropy',
metrics=['accuracy'])
model.fit(trainData, trainLabels, epochs=10, batch_size=32)
VGG16
Error when checking target: expected dense_3 to have shape (6,) but got array with shape (1,)

When using a Neural Network model using Keras, you need to give correct input_dim and specify correct output classes in the final softmax layer. Else you will get problems like that. Please refer to this example on how to use Sequential()  for handwritten digits recognition problem which could be applied here too.

can you please give code of model you trained ?
email<EMAIL_ADDRESS>


make dispatch table could add SM with rebind_policies

In the past we cannot define a dispatch table such as following:
auto dispatch_event =
    sml::utility::make_dispatch_table<OperationalLogic::emptyEvent, 0 /*min*/,
                                      20 /*max*/, StateMachine>(sm);

where StateMachine have rebind policies, such as:
sml::sm<logging, sml::logger<my_logger>> sm{logger};

It is because the dispatch table only allow the SM have one template input.
This patch is going to let SM with rebind_policies could have dispatch table

Coverage remained the same at 99.574% when pulling 85fcd85487bfc700bc8a7e7b7fbc823687fab20f on justwillim:master into 2095f08acaca73ad4fde89488b7611606f4a555e on boost-experimental:master.

Nice one, thanks @justwillim, could you provide a test to confirm the functionality, please? (So that the feature won't be broken in the future)

Sure, I will update it tomorrow

@krzysztof-jusiak  test added, but I'm not quite familiar with this test frame work and SML's complie frame work. As a result, I did not tested whether this test case could work or not. However, this feature I already used on my own project, and it  could work correctlly, under gcc-7.0

Awesome, thank you @justwillim, nice one :)


Replace room and building theme buttons with images

Current:

Expected:
Please replace the buttons with their respective images which can be found in /public folder and please add the theme name right below it.
Changes should be done in ThemeSelector.tsx file.

asign to me! so I keep track of it please!

I found a problem doing this, if I try to use tailwind, the images are not displayed, but I use style, they are, also, I would like to change the button elements for Divs it will be easy to make bigger so the images are shown properly
<button           key={item}           style={{ backgroundImage: url(/bedroom-${item.toLowerCase()}.jpg)}}           className={clsx(             "border rounded-lg px-4 py-2 text-xs md:text-sm",             item === selected && "border-primary text-primary",             "bg-cover bg-center",             "bg-no-repeat",             "bg-center"             //bg-[url(/bedroom-${item.toLowerCase()}.jpg)]           )}           onClick={() => onChange(item)}         >           {item}         </button>

why don't you just put the image inside the button with Image tag
also, divs are not recommended since it's will have keyboard accessibility issue

Please reasing this task to another person, I'm loosing my temper, the images are not working, and I run out of ideas,  and with the light theme it's almost imposible to see anything, because it's not properly implemented.

no problem @GrumpyArdias
Thanks for your effort 🙏🏻

I dont like to ragequit, so I try again and make it, I'm gonna push the solution

@GrumpyArdias please note that there is already a PR for this by @lausuarez02
maybe you can pick another issue

Ok sorry did not see that chancel my pr

Hi, I found a error:


Remove IO error storage tests from quarantine

Signed-off-by: Alex Kalenyuk<EMAIL_ADDRESS>
What this PR does / why we need it:
Following the standard protocol of waiting 14 days,
these have been green since https://github.com/kubevirt/kubevirt/pull/7455.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
https://search.ci.kubevirt.io/?search=should+pause+VMI+on+IO+error&maxAge=336h&context=1&type=bug%2Bjunit&name=&excludeName=&maxMatches=5&maxBytes=20971520&groupBy=job
Release note:

NONE

Please include CI search https://search.ci.kubevirt.io/?search=should+pause+VMI+on+IO+error&maxAge=336h&context=1&type=bug%2Bjunit&name=&excludeName=&maxMatches=5&maxBytes=20971520&groupBy=job

Please include CI search https://search.ci.kubevirt.io/?search=should+pause+VMI+on+IO+error&maxAge=336h&context=1&type=bug%2Bjunit&name=&excludeName=&maxMatches=5&maxBytes=20971520&groupBy=job

Added in PR description

/retest

/cc @dhiller
Can you approve?

/approve
/override pull-kubevirt-e2e-kind-1.23-vgpu
Overridden vgpu failure due to failure to delete cluster although tests have passed.
FYI @EdDev

/retest


Use Blob objects for storing file data

ArrayBuffer objects have the disadantage that they always have to live in memory. So if your file entries contain ArrayBuffer objects which describe the file contents, that means that the whole file contents is read into memory whenever the IDB entry is read.
However if you use Blob objects to hold the data, that means that that only the metadata about the Blob needs to be read at the time when the IDB entry is read. The actual Blob contents doesn't need to be read into memory until the Blob is read using FileReader.
Another advantage that Blob gives is that it enables the IDB implementation to store the Blob data outside of the database. This improves performance of the database since it can be kept more compact. Firefox currently does this, though I think IE does not. Not sure what chrome does since they only recently added Blob support (not sure if it's even landed yet).
The lack of Blob support in Chrome might be the main sticking issue here though...

I now need this for dealing with media streams. Investigating.

https://github.com/nolanlawson/state-of-binary-data-in-the-browser#readme is useful as you ponder this, esp. for cross-browser support of blobs.

Don't try to store Blobs directly in IndexedDB, unless you want to cry.

Ugh, this sound like more of a headache than it's worth.


Added optional separator argument to TcpIo constructor

When communicating with a simulated device using an ascii protocol I found that the StreamReader.read() method returns inconsistent number of bytes. Even the documentation alludes to this inconsistency:
If n is positive, this function try to read n bytes, and may return
less or equal bytes than requested, but at least one byte. If EOF was
received before any byte is read, this function returns empty byte
object.
As the majority of devices that communicate using an ascii based protocol rely on a termination character to determine the end of a message I have added this as an optional parameter in the tickit.adapters.io.TcpIo class.

Have you run the pre-commit linters and checkers on this?

Sorry no I forgot to do the pre-checks, I have tested you changes though and it all seems to work thanks

@abbiemery Are you OK to approve this so it can be merged and released?

Power cycling CI


hello everyone, i am new to leaflet and working on leaflet-draw toolbar, i want to change marker/boxes created at the coordinate points. Actually i even don't know the exact name of this property.

[ ] I'm reporting a bug, not asking for help
[ ] I'm sure this is a Leaflet.MarkerCluster code issue, not an issue with my own code nor with the framework I'm using (Cordova, Ionic, Angular, React…)
[ ] I've searched through the issues to make sure it's not yet reported

How to reproduce

Leaflet version I'm using:
Leaflet.MarkerCluster version I'm using:
Browser (with version) I'm using:
OS/Platform (with version) I'm using:
step 1
step 2

What behaviour I'm expecting and which behaviour I'm seeing
Minimal example reproducing the issue

[ ] this example is as simple as possible
[ ] this example does not rely on any third party code

Using http://leafletjs.com/edit.html or any other jsfiddle-like site.

as this image shows boxes and i want to change them into circles.

this is custom leaflet icon use the inspect tool on your browser to access its style.

U can change them by applying css properties,
in leaflet.css on line 561
leaflet-div-icon
On Thu, Sep 10, 2020, 12:26 AM davincikab<EMAIL_ADDRESS>wrote:

this is custom leaflet icon use the inspect tool on your browser to access
its style.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/Leaflet/Leaflet.markercluster/issues/989#issuecomment-689768289,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APDVP2WOQWSVNFYGG4BE7BLSE7JEZANCNFSM4MER5GBA
.

Can closed with this answer: https://stackoverflow.com/a/63939495/8283938

Hi, great to hear that you find Leaflet useful!
However, this issue tracker is used for reporting bugs and discussing new features. For questions on using Leaflet, please use gis.stackexchange.com or stackoverflow.
If you are really sure that this is a bug in leaflet, or a feature request, please change the wording to make it look like a bug report.


1.8.2

#219
#218

Hey, sorry, this needs backporting too https://github.com/meower-media-co/Meower-Svelte/commit/2c8eda1294d64b1c3e1d1f2b87609dfdde4a02e0

Hey, sorry, this needs backporting too 2c8eda1
i was working on that as soon as i got the notification

This is just going to be the 1.8.2 PR which back ports commits from develop.


Can't build docker Container

When I build a docker container following the instructions in https://github.com/lowRISC/ibex-demo-system/tree/main/container, I have the following error.
My system is Mac.
It seems there is no python3 in the docker environment /usr/bin/env.
>  => [internal] load build definition from Dockerfile                                                                                0.0s
 => => transferring dockerfile: 3.88kB                                                                                0.0s
 => [internal] load .dockerignore                                                                                0.0s
 => => transferring context: 2B                                                                                0.0s
 => [internal] load metadata for docker.io/library/ubuntu:20.04                                                                                2.0s
 => [ 1/17] FROM docker.io/library/ubuntu:20.04@sha256:f2034e7195f61334e6caff6ecf2e965f92d11e888309065da85ff50c617732b8                               0.0s
 => [internal] load build context                                                                                0.0s
 => => transferring context: 543B                                                                                0.0s
 => CACHED [ 2/17] RUN ln -sf /bin/bash /bin/sh                                                                                0.0s
 => CACHED [ 3/17] RUN OBS_URL="https://download.opensuse.org/repositories";     OBS_PATH="/home:/phiwag:/edatools/xUbuntu_20.04";     REPO_URL="${O  0.0s
 => CACHED [ 4/17] COPY container/apt-requirements.txt /tmp/apt-requirements.txt                                                                      0.0s
 => CACHED [ 5/17] RUN echo "verilator-4.210" >> /tmp/apt-requirements.txt     && sed -i -e '/^$/d' -e '/^#/D' -e 's/#.*//' /tmp/apt-requirements.tx  0.0s
 => CACHED [ 6/17] COPY container/get-toolchain.py /tmp/get-toolchain.py                                                                              0.0s
 => ERROR [ 7/17] RUN /tmp/get-toolchain.py -r 20220210-1     && rm -f /tmp/get-toolchain.py                                                          0.2s
------
 > [ 7/17] RUN /tmp/get-toolchain.py -r 20220210-1     && rm -f /tmp/get-toolchain.py:
0.180 /usr/bin/env: 'python3': No such file or directory
------
Dockerfile:57
--------------------
  56 |     COPY container/get-toolchain.py /tmp/get-toolchain.py
  57 | >>> RUN /tmp/get-toolchain.py -r ${RISCV_TOOLCHAIN_RELEASE_TAG} \
  58 | >>>     && rm -f /tmp/get-toolchain.py
  59 |     ENV PATH "/tools/riscv/bin:${PATH}"
--------------------
ERROR: failed to solve: process "/bin/sh -c /tmp/get-toolchain.py -r ${RISCV_TOOLCHAIN_RELEASE_TAG}     && rm -f /tmp/get-toolchain.py" did not complete successfully: exit code: 127

I just tested this command on my Ubuntu 20 machine from the root of the repo:
sudo docker build . -t ibex -f container/Dockerfile
This successfully build a Docker image for me. Can you confirm that you ran the same command? Unfortunately I don't have a Mac machine available for me to test this on.
I also see that it is pulling a cached version for step 5/17 in your build log, which is where python3 gets installed. Do you have an earlier version of the log to check whether python3 is successfully installed by apt?
Also can you tell me the version of Docker that you are using? This is mine:
$ docker --version
Docker version 24.0.5, build 24.0.5-0ubuntu1~20.04.1

I've also made a release that includes a docker image in case you want to skip the building phase: https://github.com/lowRISC/ibex-demo-system/releases/tag/v0.0.3

Thank you very much! That works for me :D


You stole my bitcoins

Where are my bitcoins for particl copy wallet?

please Helping comiunity, thanks, No TransactionDustOutputs of 0.0020 BTC: Could not build tx: bitcore.Error: Dust amount detected in one output


[feat] Implement Ctrl-R to open query history

When I have selected the field to enter CQL statement, I'd like the UNIX Ctrl-R combination to show/search the history.
Up/Down key should also work to go through the history.

@hshimizu I dont think this is possible - theres an issue with that Ctrl-R. I cant quite rememver what it was @mhmdkrmabd ?

@millerjp @hshimizu  I think you're mentioning macOS as it reserves the CTRL (UP/DOWN) arrow keys, for CTRL-R I believe there's no issues, I like this option on Linux as well, maybe we can add one in the following way:

User presses CTRL-R combination.
The history list will show up (we'll add a search input field at the bottom), it'll be auto focused.
As the user types in this input field the related statements will be added to the cql statements input.

@mhmdkrmabd that sounds like a good approach


User password lost when trying to reset it.

Hi,
I use mailgun to deliver mails from my site, it can track outgoing mails. Just now I trid to change my admin password, but I didn't receive the password-reset mail, and mailgun has no message delivery record about it. The smtp host and user and password of the mailgun mailer are all correct.
If mailgun can not work with wellcommerce, what is your favorate choice? Can that be gmail?
Please help, Thank you!

Gmail is okay for me, in face, if you can set up your mail account on outlook or other email clients, that mail can be used as a mailer.


Restore about/team page

@mdo before the merge we need docs' CSS file to be generated; I can't do it myself because clean-css behaves differently on Windows

Pushed a commit to simplify things and remove the CSS outright.


MacOS: Force uses Nvidia Graphic card.

In MacOS, the alacritty force switches to the Nvidia Graphic card.
Is possible to use Intel graphic card in order to save the battery.

This is a duplicate of #210.


How to test Web API with Jwt Bearer Authentication

Can you please include samples to test a Web API request with Jwt Bearer token which uses AspNetCore Identity?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 77889d43-fedb-f8b4-8fea-379ec946555c
Version Independent ID: f499b131-8b14-7e10-1728-543fdd5a5656
Content: Integration tests in ASP.NET Core
Content Source: aspnetcore/test/integration-tests.md
Product: aspnet-core
GitHub Login: @guardrex
Microsoft Alias: riande

Hello @buchajmal ... Yes, you've opened a sister issue to other asks for enhancements to the topic+sample along these lines:

https://github.com/aspnet/Docs/issues/6882
https://github.com/aspnet/Docs/issues/7526

It will take a little while before one of us can get to this with the 2.2 release coming out soon. We'll schedule this for work as soon as possible.

Thanks for contacting us.
We don’t have the resources to invest in this area, so we are closing the issue. Should your request generate enough  👍 responses, we’ll reconsider.
We'll take a look at this issue when we refresh the doc.


Add IborIndexObservation

Matches same concept for other indices
Rename properties on Ibor future and cap/floor
Add resolve methods to Ibor and FX indices

Performance benchmarks show no significant effect.


Error: Input buffer has corrupt header

Question about an existing feature
What are you trying to achieve?
Using sharp
But I get this error:
Error: Input buffer has corrupt header: magickload_buffer: Magick: improper image header `' @ error/tga.c/ReadTGAImage/219 (null)
libvips installed globally by brew, but I tried to use from sharp
ImageMagick 7.1.0-29 Q16-HDRI x86_64 19841
vips-8.12.2-Tue Jan 25 09:34:32 UTC 2022

When you searched for similar issues, what did you find that might be related?
Nothing
Please provide a minimal, standalone code sample, without other dependencies, that demonstrates this question
import { ReadStream } from 'fs-capacitor';

async optimizeImage(inputStream: ReadStream) {
    const transform = sharp();
    console.log(await inputStream.pipe(transform).metadata());
}

  {
    jpeg: {
      id: 'jpeg',
      input: { file: true, buffer: true, stream: true },
      output: { file: true, buffer: true, stream: true }
    },
    png: {
      id: 'png',
      input: { file: true, buffer: true, stream: true },
      output: { file: true, buffer: true, stream: true }
    },
    webp: {
      id: 'webp',
      input: { file: true, buffer: true, stream: true },
      output: { file: true, buffer: true, stream: true }
    },
    tiff: {
      id: 'tiff',
      input: { file: true, buffer: true, stream: true },
      output: { file: true, buffer: true, stream: true }
    },
    magick: {
      id: 'magick',
      input: { file: true, buffer: true, stream: true },
      output: { file: true, buffer: true, stream: true }
    },
    openslide: {
      id: 'openslide',
      input: { file: true, buffer: false, stream: false },
      output: { file: false, buffer: false, stream: false }
    },
    dz: {
      id: 'dz',
      input: { file: false, buffer: false, stream: false },
      output: { file: true, buffer: true, stream: true }
    },
    ppm: {
      id: 'ppm',
      input: { file: true, buffer: false, stream: false },
      output: { file: true, buffer: false, stream: false }
    },
    fits: {
      id: 'fits',
      input: { file: true, buffer: false, stream: false },
      output: { file: true, buffer: false, stream: false }
    },
    gif: {
      id: 'gif',
      input: { file: true, buffer: true, stream: true },
      output: { file: true, buffer: true, stream: true }
    },
    svg: {
      id: 'svg',
      input: { file: true, buffer: true, stream: true },
      output: { file: false, buffer: false, stream: false }
    },
    heif: {
      id: 'heif',
      input: { file: true, buffer: true, stream: true },
      output: { file: true, buffer: true, stream: true }
    },
    pdf: {
      id: 'pdf',
      input: { file: true, buffer: true, stream: true },
      output: { file: false, buffer: false, stream: false }
    },
    vips: {
      id: 'vips',
      input: { file: true, buffer: false, stream: false },
      output: { file: true, buffer: false, stream: false }
    },
    jp2k: {
      id: 'jp2k',
      input: { file: true, buffer: true, stream: true },
      output: { file: true, buffer: true, stream: true }
    },
    raw: {
      id: 'raw',
      input: { file: false, buffer: true, stream: true },
      output: { file: false, buffer: true, stream: true }
    }
  }

System:
    OS: macOS 12.3.1
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 347.24 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 14.17.3 - ~/.nvm/versions/node/v14.17.3/bin/node
    Yarn: 1.22.18 - ~/.nvm/versions/node/v14.17.3/bin/yarn
    npm: 6.14.13 - ~/.nvm/versions/node/v14.17.3/bin/npm
  npmPackages:
    sharp: ^0.30.3 => 0.30.3

Please provide a sample image that generates this error.

Hi @lovell ! I used this images:

Images

Archive of this images:
Images.zip

These images appear to be valid so I'm unsure what's happening here. Is there a reason you need to use the brew-installed vips package rather than the prebuilt binaries provided by sharp? Perhaps run brew update && brew upgrade to ensure you're using the latest version of everything.

Thank you. I tried to use sharp with prebuild vips by deleting vips in brew, but this didn't work (of course with reinstalling sharp in project). Now, I decide to delete all my brew packages, not only vips because I don't have necessary packages. It's work, and it doesn't matter to me which package (prebuild or global) to use. I don't no what is the problem of brew vips

So, what was the fix, guys?


Guessing

Add a method for participants to guess which music was submitted by who before the actual answer is revealed.
One possibility is to implement it as a "drag 'n drop" system of pairing the recommenders with the music.
Then when the real pairings are revealed in the last phase, there should be some indication of people's correct and incorrect guesses

This was broken into #37 and #38


Optional sorting of predicates

Fix #206.
I added a new boolean parameter. I opted to have it before buffer_size as it is common from both kNN and spatial searches, while the  parameters after it are specific (buffer_size to spatial, which to kNN). This choice made the patch slightly larger than it could have been.
I also decided to keep the default to sorted as of now. I'm not married to it, but this allows us to still be able to compare benchmark results with older runs.

Just to note: running with sorting disabled indeed makes our standard benchmark slower. But we knew that.

Did you consider having a struct that agglomerate all possible options?

I did. I don't see much difference, and then one to also have to remember which parameters make sense in which function. I think longer term this indeed would be the right way to go, though. If you feel strongly about it, I could do that (introduce TraversalPolicy or something similar).

This is ready for review. @dalg24 I addressed your comments.


Feature request: Switch to get sample data instead of error for undefined request parameter.

I think it would be useful if you did not have to define all test data.
It would be nice, if you would have a configuration parameter, with which you can decide, that Virtualan
gives the sample data from an OAS3 specification as default response instead of an error message for undefined requests.

@networkinss , You have use the script option to send the default messages if mock not defined check
Mock data record 9 and 10 for more details.
https://live.virtualandemo.com/virtualan-ui.html#/
I am happy to setup and show how it works.
Thanks for patience.

due no activity closing the issue

Would be resolved with what is described in #212.


Change IPFS Path format

Is your feature request related to a problem? Please describe.
Currently sharing an IPFS url in the browser isn't as straightforward as a http url. I need to copy the the "IPFS Path" first, (/ipfs/bafy...), and then manually replace the prefix /ipfs/ with ipfs:// in order to have a link that can be pasted in another browser using IPFS Companion.
Also, having a "shareable Link" suggest that the other links (e.g IPFS path) are not shareable. Maybe it would be good to rename Shareable Link to something else (e.g HTTP Link, Web2 Link, ...) to emphasize that other links are also shareable.
Describe the solution you'd like

Change the IPFS Path format from /ipfs/bafy... (interpreted as a file), to ipfs://bafy... that can be resolved by a browser.
The same with IPNS Path
Rename Shareable Link to HTTP Link, Web2 Link or something else.

Describe alternatives you've considered
I don't know much about browsers, but an alternative (even better?) solution could be to have the ipfs://bafy... directly in the url bar, that was it is easier to copy paste and share.
Having the following urls (respectively CID and IPNS name) in the url bar isn't very insightful for the end user (especially the .ipfs.localhost:8080 part). Sure, under the hood it is served by a local http server, but the end user should not have to care about it.
http://bafybeic6dlhlnsmzkvzdx3htx4jr6xqgu6ecbrm5dhqmkgvhsi3sbqpxci.ipfs.localhost:8080/2023-how-to-host-dynamic-content-on-ipfs/#use-case-edge-computed-applications
http://blog.ipfs.tech.ipns.localhost:8080/2023-how-to-host-dynamic-content-on-ipfs/#use-case-edge-computed-applications
But again, maybe it is something that cannot be changed in browsers, it is just a "nice to have" if it is possible.

Good point about  missing option to copy ipfs://cid – but   ipfs://cid is no longer a "Path" – you copy URI with CID as the authority component.
Note it is easy to reason about labels for simple /ipfs/cid, but you need to consider UX ramifictions for IPNS and DNSLink websites.
For example, on http://en.wikipedia-on-ipfs.org.ipns.localhost:8080/wiki/ we have:

"Copy Shareable Link" →  https://en.wikipedia-on-ipfs.org/wiki/
(for DNSLlink we use Canonical HTTP URL from website itself, and not public gateway, because it is arguably better security and UX for end user that does not use IPFS)
"Copy Snapshot Link" → https://ipfs.io/ipfs/bafybeiaysi4s6lnjev27ln5icwm6tueaw2vdykrtjkwiphwekaywqhcjze/wiki/
(we show this only on /ipns/ namespace, purpose is the same as previous one, but we always copy HTTP URL to immutable snapshot)
"Copy IPFS Path" → /ipfs/bafybeiaysi4s6lnjev27ln5icwm6tueaw2vdykrtjkwiphwekaywqhcjze/wiki/
(immutable path, useful for all CLI tooling, and also importing to MFS via IPFS Desktop GUI.  Currently, ipfs://cid is not supported there – which is a gap we should close before we remove this)
"Copy IPNS Path" → /ipns/en.wikipedia-on-ipfs.org/wiki/
(mutable path, we show this only for /ipns/)

So I see two open questions:

If we want to change label for "Copy Shareable Link", we  need to figure out what to do with "Copy Snapshot Link" too
We should not remove "Copy IPFS Path" until all tooling understands ipfs:// and ipns://

Due to this, I would not replace, but add a separate menu item for copying ipfs://cid instead of /ipfs/cid, and keep existign ones


Feature request: remove '.' if passing empty 'pre' prefix

In my app, I want the build number in the semver format to be just a simple integer, because its being parsed and written as version codes in cordova.
I would love to use your package for managing the build number on TeamCity, however, its forcing me to prefix the build with a '.' character. I am suggesting that if you specify --pre '' (empty string) that it would not add the . separator.
For example:
package.json has 2.1.5, if i run release-version -b 100 --pre '' I would like to get 2.1.5-100
If passing an empty value to --pre is not favorable, then we could instead do something like --no-prefix as a flag that will not prefix the build number at all.
Let me know what you think, I dont mind submitting a PR as well if its something you want to support.

That is good idea. Thanks.
I have added the feature to the code. Please pull 1.0.1.


2.2.x, pac4j 1.8

Great! It looks very good to me. @nielsdraaisma : any feedback on the PR?

I created the 2.2.x branches on both demos to update them with the play-pac4j 2.2.x branch (after the merge).

This looks pretty similar to the work I've done in my fork a while ago, would be great to get this in.

I just merged in and I also updated the README (master and 2.2.x) to make things clearer.
@andriykuba : would you mind updating the 2.2.x branches of the demos (https://github.com/pac4j/play-pac4j-java-demo/tree/2.2.x & https://github.com/pac4j/play-pac4j-scala-demo/tree/2.2.x) with the new 2.2.0-SNAPSHOT version of play-pac4j? Thanks

@leleuj: I will look.
In a short - in the case of HttpConstants.TEMP_REDIRECT the org.pac4j.play.PlayWebContext.getResponseLocation() returns null.
But org.pac4j.play.PlayWebContext.getJavaContext().response().getHeaders() has the correct location header.
I found that I changed the test testRedirectToOriginallyRequestedUrl() from
assertEquals("Location must be equal to " + expected, expected, result.header("Location"));
to
assertEquals("Location must be equal to " + expected, expected, result.header("Location").get());
As I see that was wrong. So please, hold on with the release, I will figure it out.

@leleuj: I found the reason of this problem:

PlayWebContext inherits BaseResponseContext
BaseResponseContext  has  getResponseLocation method

...
protected final Map<String, String> responseHeaders = new HashMap<>();
...

public String getResponseLocation() {
  return this.responseHeaders.get(HttpConstants.LOCATION_HEADER);
}

PlayWebContext does not have this method and I cannot figure out how it could set the responseHeaders of the parrent class because it shadows the setResponseHeader method

...
protected final Response response;
...

@Override
public void setResponseHeader(final String name, final String value) {
  response.setHeader(name, value);
}

So I am wandering how it works in a previous version.
I propose the "fall back" fix to the setResponseHeader method of the PlayWebContext class:

@Override
public String getResponseLocation() {
  String location = super.getResponseLocation();
  if(location == null){
    location = response.getHeaders().get(HttpConstants.LOCATION_HEADER);
  }
  return location;
}

With this fix all test was passed and "play-pac4j-java-demo" works correctly

Apart from the test, do the demos work with the current code?
Because it's normal to have the location via the getResponseLocation method as it's used by the DefaultHttpActionAdapter:  https://github.com/pac4j/play-pac4j/blob/master/src/main/java/org/pac4j/play/http/DefaultHttpActionAdapter.java#L32
So I would keep the code as is, check the demos work and update (or remove) the test accordingly.

Hello @leleuj, I spent some time for the deeper look.

Apart from the test, do the demos work with the current code?

Tests are not the issue, they are correct. That was a glance, and now I see that they have nothing to this issue.
No, demos does not work in the current code. (and yes, test are correct, they just not cover this problem)

Because it's normal to have the location via the getResponseLocation method

Yes, but this method works incorrectly for the Play. I tried to explain this in my previous comment. Here is the more detailed explanation.
I found that the 2.1.0 version of play-pac4j have the same issue:

In the case of 'HttpConstants.TEMP_REDIRECT' the 'org.pac4j.play.PlayWebContext.getResponseLocation()' returns null

It obvious from the code but I did verification on the live program.
The reason that example works in the 2.1.0 with Play 2.4.x is that in Play 2.4.x redirect((String) null); does not throw an exception, but in Play 2.5.x it throws the java.lang.NullPointerException: Response header 'Location' has null value! exception, so example fails.
And another question why then it works in 2.1.0 if it redirects to null?
In the org.pac4j.play.java.RequiresAuthenticationAction.redirectToIdentityProvider, actually before action adapter is called there is a code
final IndirectClient currentClient = (IndirectClient) currentClients.get(0);
currentClient.redirect(context, true);

And in the IndirectClient.redirect the code is
...
context.setResponseHeader(HttpConstants.LOCATION_HEADER, action.getLocation());
...

So, before it calls to redirect((String)null), the header is already set. Yeh, look on my previous post, PlayWebContext sets the header into the Play response object correctly.
Play put more priority on the response headers than parameter of the redirect function. For example the next code will redirect to the "http://www.google.com":
  ctx().response().setHeader("Location", "http://www.google.com");
  return redirect("https://www.bing.com");

So it's completely clean that PlayWebContext must be fixed for the Play 2.5.x.
If you strictly do not want to change the code of pac4j-play 2.2.x then, as a temporary solution for the examples, I can just implement DemoHttpActionAdapter as a HttpActionAdapter (actually mix the current DemoHttpActionAdapter witht the default DefaultHttpActionAdapter) and use some string as the redirect parameter to avoid the NullPointerException. Like this:
...
} else if (code == HttpConstants.TEMP_REDIRECT) {
  String location = ((PlayWebContext)context).getJavaContext().response().getHeaders().get(HttpConstants.LOCATION_HEADER))
  return redirect(location);
...

It works on both demos for branch 2.1.x, but following your explanations, it seems be a luck more than anything else.
And with the change in Play 2.5 (exception when redirection is null), it doesn't. And I admit that things are a bit messy between all components: PlayWebContext, IndirectClient.redirect, HttpActionAdapter...
I'm in line with you: my feeling is that the easiest solution would be to change the DefaultHttpActionAdapter. Can you go that way?

There are requests
https://github.com/pac4j/play-pac4j/pull/110
https://github.com/pac4j/play-pac4j-java-demo/pull/32
https://github.com/pac4j/play-pac4j-scala-demo/pull/30


Unable to connect to cloudmqtt site using pubsubclient via ssl port

"mqtts://m23.cloudmqtt.com"
this form was working with nodejs but when I tried the ESP8266 code to send data it didn't make connection to server I can do it with normal port but with SSL port here is the problem

What network client are you using with this library? Does it support ssl connections?

pubsubclient library

No, that is this library.
When you create an instance of this library you pass it an instance of a network library that knows how to create the TCP connection. What library are you using for that?
The ESP example sketch the library provides uses WiFiClient which cannot make ssl connections. You need to use a network client that can. I have not personally used any so don't know the names of any to suggest. But I'm sure a quick search on Google will help you.

okay thank you