Vampire
05/20/2025, 4:21 PM[main] INFO org.jetbrains.kotlin.org.apache.http.impl.execchain.RetryExec - I/O exception (org.jetbrains.kotlin.org.apache.http.NoHttpResponseException) caught when processing request to {s}-><https://bindings.krzeminski.it:443>: The target server failed to respond
when executing workflow scripts, both locally and on GitHub Actions.
They still work as in that condition it is retried and the 2. to 3. request is successful.
But there seems to be "some" issue still.LeoColman
05/20/2025, 6:36 PMLeoColman
05/20/2025, 6:37 PMVampire
05/20/2025, 6:37 PMPiotr KrzemiĆski
05/20/2025, 7:13 PMVampire
05/20/2025, 8:37 PMPiotr KrzemiĆski
05/21/2025, 11:52 AMVampire
05/21/2025, 11:53 AMPiotr KrzemiĆski
05/21/2025, 11:54 AMVampire
05/21/2025, 11:55 AMLeoColman
05/21/2025, 11:57 AMVampire
05/21/2025, 12:01 PMPiotr KrzemiĆski
05/21/2025, 12:03 PMThe target server failed to respond
means - did Kotlin get any response, or it timed out when waiting for it (then I'd expect a timeout-related message)?Piotr KrzemiĆski
05/21/2025, 12:03 PMNoHttpResponseException
- now it's clearVampire
05/21/2025, 12:07 PMfor i in {01..100}; do echo $i; rm -rf ~/.m2/repository/actions/checkout*; .github/workflows/build.main.kts; done
and it failed on 5th try.Piotr KrzemiĆski
05/21/2025, 12:08 PMPiotr KrzemiĆski
05/21/2025, 12:08 PMVampire
05/21/2025, 12:08 PMVampire
05/21/2025, 12:08 PMVampire
05/21/2025, 12:10 PMVampire
05/21/2025, 12:12 PMPiotr KrzemiĆski
05/21/2025, 12:13 PMPiotr KrzemiĆski
05/21/2025, 12:15 PMgit bisect
on the latest changes (last ~1-2 weeks)Vampire
05/21/2025, 12:16 PMPiotr KrzemiĆski
05/21/2025, 12:17 PMPiotr KrzemiĆski
05/22/2025, 7:17 PMPiotr KrzemiĆski
05/22/2025, 8:36 PMPiotr KrzemiĆski
05/23/2025, 6:14 AMPiotr KrzemiĆski
05/23/2025, 6:25 AMPiotr KrzemiĆski
05/23/2025, 8:50 AMVampire
05/23/2025, 8:57 AMPiotr KrzemiĆski
05/26/2025, 8:42 AMPiotr KrzemiĆski
05/28/2025, 7:27 AMPiotr KrzemiĆski
05/28/2025, 7:33 AM2025-05-28T09:32:13.915810+02:00 ritalee dockerd[979]: time="2025-05-28T09:32:13.915473868+02:00" level=error msg="copy stream failed" error="reading from a closed fifo" stream=stdout
âą 2025-05-28T09:29:58.698701+02:00 ritalee sshd[1721918]: Connection closed by authenticating user root 185.188.181.61 port 45810 [preauth]
âą 2025-05-28T09:32:26.442243+02:00 ritalee sshd[1727114]: Connection closed by invalid user odoo 196.251.84.225 port 56226 [preauth]
they may be completely unrelated to the problem we're investigating, but still...Vampire
05/28/2025, 7:36 AMI occasionally see messages about reloading the config, but without info what's wrongShould just mean you edited the file and thus it is reloaded, what is the exact message?
Trying to reproduce the issue - no reproduction right nowAt least yesterday it still reproduced during normal usage
Piotr KrzemiĆski
05/28/2025, 7:38 AM2025-05-28T07:35:47.548992769Z Log4j2-TF-5-Scheduled-3 INFO Configuration source at `/app/resources/log4j2.xml` was modified on `2025-05-28T07:35:46.654Z`, previous modification was on `2025-05-28T07:09:02.257Z`
2025-05-28T07:35:47.562640458Z Log4j2-TF-4-ConfigurationFileWatcher-4 WARN RollingFileAppender 'Rolling File Appender': The bufferSize is set to 8192 but bufferedIO is not true
2025-05-28T07:35:47.563870305Z Log4j2-TF-4-ConfigurationFileWatcher-4 INFO Starting configuration XmlConfiguration[location=/app/resources/log4j2.xml, lastModified=2025-05-28T07:35:46.654Z]...
2025-05-28T07:35:47.563968376Z Log4j2-TF-4-ConfigurationFileWatcher-4 INFO Start watching for changes to /app/resources/log4j2.xml every 5 seconds
2025-05-28T07:35:47.564278738Z Log4j2-TF-4-ConfigurationFileWatcher-4 INFO Configuration XmlConfiguration[location=/app/resources/log4j2.xml, lastModified=2025-05-28T07:35:46.654Z] started.
2025-05-28T07:35:47.565135842Z Log4j2-TF-4-ConfigurationFileWatcher-4 INFO Stopping configuration XmlConfiguration[location=/app/resources/log4j2.xml, lastModified=2025-05-28T07:09:02.257Z]...
2025-05-28T07:35:47.565367256Z Log4j2-TF-4-ConfigurationFileWatcher-4 INFO Configuration XmlConfiguration[location=/app/resources/log4j2.xml, lastModified=2025-05-28T07:09:02.257Z] stopped.
and my original surprise was caused by seeing it multiple times after I edited. Now I realized that it might be because of broken refreshing of logs in PortainerPiotr KrzemiĆski
05/28/2025, 7:39 AMAt least yesterday it still reproduced during normal usagejust observed the issue
Piotr KrzemiĆski
05/28/2025, 7:41 AMVampire
05/28/2025, 7:41 AMbroken refreshing of logs in PortainerYou might want to display the logs for one container, not the service. When showing the service logs, also the logs of shut down containers are mixed in, which then gives these strange interleaved logs that are hard to read.
Piotr KrzemiĆski
05/28/2025, 7:42 AMVampire
05/28/2025, 7:43 AMPiotr KrzemiĆski
05/28/2025, 7:53 AMVampire
05/28/2025, 8:42 AMhttp <https://bindings.krzeminski.it/refresh/actions/setup-java/v4/setup-java-v4.pom>
should at least log "something".Piotr KrzemiĆski
05/28/2025, 8:43 AMVampire
05/28/2025, 8:46 AMPiotr KrzemiĆski
05/28/2025, 8:49 AMVampire
05/28/2025, 9:02 AM... from ...
logs that also were not showing up in the Portainer web viewVampire
05/28/2025, 9:02 AMALL
logging on the root logger no netty logs appearVampire
05/28/2025, 9:13 AMio.netty
set to ALL
, there are some Netty logs during ramp up.
Maybe something additional needs to be set to make Netty log, like with Ktor where you needed to add a plugin.Piotr KrzemiĆski
05/28/2025, 9:15 AMVampire
05/28/2025, 9:23 AMVampire
05/28/2025, 9:23 AMVampire
05/28/2025, 9:25 AMis...Enabled
call at startup and persist that, it would just be pretty stupid to do so as logging config can change at runtime.
But well, that is not the problem.
Netty just seems not to log anything or it needs to be enabled explicitly like for ktor.Vampire
05/28/2025, 12:09 PMLeoColman
05/28/2025, 12:10 PMLeoColman
05/28/2025, 12:10 PMPiotr KrzemiĆski
05/28/2025, 12:11 PMVampire
05/28/2025, 12:13 PMLeoColman
05/28/2025, 12:18 PMLeoColman
05/28/2025, 12:29 PMLeoColman
05/28/2025, 12:35 PMPiotr KrzemiĆski
05/28/2025, 12:36 PMPiotr KrzemiĆski
05/28/2025, 12:38 PMVampire
05/28/2025, 12:38 PMVampire
05/28/2025, 12:38 PMPiotr KrzemiĆski
05/28/2025, 12:39 PMVampire
05/28/2025, 1:55 PMPiotr KrzemiĆski
05/28/2025, 1:57 PM