Comments (13)
So the way of solving this, is to omit
ADD Caddyfile /caddy/
, and instead write it out fully in the run.sh. I have no idea why this is happening, but thats' the only way I could get it to work.
I was facing this problem, when running this in Kubernetes on a Debian OS.
from kafka-topics-ui.
Seems to work just fine π
$ kubectl -n kafka logs kafka-tools-1648884374-7f3jf topics-ui
Enabling proxy.
Kafka REST Proxy URL to /api/kafka-rest-proxy.
Activating privacy features... done.
http://0.0.0.0:8000
from kafka-topics-ui.
Hello, thanks for the report.
Your docker-compose file looks fine. I think that both the line and the error message point to a docker issue.
The problematic line is pretty much standard bash: https://github.com/Landoop/kafka-topics-ui/blob/master/docker/run.sh#L16
The error message (interrupted system call) doesn't come from bash but from docker itself, probably from some of the standard go libraries docker is using.
I don't know if this is something rancher specific, if you use bash on windows (a quick search seems to return this as a possible culprit), or something else.
Could you share more about your setup, like your operating system and how you access rancher? Maybe I can do some tests.
from kafka-topics-ui.
Thank you so much for your prompt response. We are running Rancher on Rancher OSs on a cluster of machines.
I tried to narrow the problem by reproducing the problem but the error happens like randomly under same docker-compose file.
from kafka-topics-ui.
I am afraid I can't help much because I can't reproduce the bug and I haven't any experience with RancherOS βnor the time to familiarize with it, unfortunately. :(
Looking a bit into rancher-compose (I guess this is what you use? ), there is a debug flag that may help you:
http://docs.rancher.com/rancher/v1.6/en/cattle/rancher-compose/
from kafka-topics-ui.
Also seeing this on MacOS
docker run --rm -it -p 8082:8000 -e "KAFKA_REST_PROXY_URL=http://kafka-rest-proxy:8082" -e "PROXY=true" landoop/kafka-topics-ui
Enabling proxy.
/run.sh: line 23: can't create /caddy/Caddyfile: Interrupted system call
Kafka REST Proxy URL to /api/kafka-rest-proxy.
Activating privacy features... done.
http://0.0.0.0:8000
from kafka-topics-ui.
What's weird is that the error comes from line 23, at the fi block. If it can't create the file, why it doesn't happen at line 21 EOF? Why cat not closing the file at EOF line?
Sorry, I didn't mean to close the issue. My mistake.
from kafka-topics-ui.
Is it possible that docker runs out of disk space?
from kafka-topics-ui.
Thanks @Arttii for following up on this. Indeed, this seems a complex issue and I never managed to reproduce it in order to debug. I will implement your workaround, thanks again!
from kafka-topics-ui.
I am facing the same problem here, running on a GCE based Kubernetes cluster.
kubectl -n kafka logs -f deploy/kafka-tools topics-ui
Enabling proxy.
/run.sh: line 53: can't create /caddy/Caddyfile: Interrupted system call
Kafka REST Proxy URL to /api/kafka-rest-proxy.
Activating privacy features... done.
http://0.0.0.0:8000
from kafka-topics-ui.
I just pushed a possible fix with commit 762792a.
Could you please pull the latest image (docker pull landoop/kafka-topics-ui:latest
) and give it a try?
from kafka-topics-ui.
Thats this helps a lot. We can apply the same fix on our other dockers as well, to make sure no such glitches come up π
from kafka-topics-ui.
Thanks both @Arttii and @Overbryd and to all people who contributed on this issue. We couldn't have solved it without you!
from kafka-topics-ui.
Related Issues (20)
- url subpath HOT 1
- KAFKA REST /api/kafka-rest-proxy CONNECTIVITY ERROR HOT 1
- Set tag for the docker images HOT 1
- Set multiple cluster by setting Docker Environment
- Docker image outdated HOT 1
- Topic list not loading when ACL denies access to some topics HOT 2
- TopicsUI doesn't fetch messages the same way than Kafka CLI? HOT 1
- KAFKA_REST problem EXPERIMENTAL_PROXY_URL HOT 1
- How to work with multi-broker? HOT 1
- kafka-topics-ui configuration for SASL_SSL enabled kafka cluster
- Ui not displaying all topics, when their amount is more than 1000
- Display First & Last Offset To Seek HOT 1
- ssl HOT 1
- local ? HOT 1
- Use Strimzi kafka bridge instead of kafka rest proxy HOT 1
- kafka topic ui connectivity error HOT 2
- Integration problem with kafka-rest version 5 HOT 1
- Does not start in new docker with error "slice bounds out of range" HOT 1
- Live Demo - not able to connect to clusters
- panic: runtime error: slice bounds out of range
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kafka-topics-ui.