Open nikitagugale opened 3 months ago
Hi, it does not look anything is missing rather there is something off with docker/kubernetes setup you are using. I can't help much here but my guess is that something is not exposed in docker/accessible outside it.
Below is my docker file, if that helps to understand the issue.
`Use Ubuntu as the base image
FROM debian:latest
Avoid prompts from apt ENV DEBIAN_FRONTEND=noninteractive ENV TERM=xterm
Install required packages RUN apt-get update && \ apt-get install -y curl build-essential pkg-config libssl-dev git protobuf-compiler clang libclang-dev llvm-dev librocksdb-dev jq make && \ rm -rf /var/lib/apt/lists/*
Install Rust RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs/ | sh -s -- -y ENV PATH="/root/.cargo/bin:${PATH}"
Verify Rust installation RUN rustc --version && cargo --version
Copy the source code into the image COPY . /app WORKDIR /app
Build the Rust project RUN cargo build --release && \ rm -rf /app/target/debug
Expose the necessary ports EXPOSE 30333 30343 9944
Make the release and scripts directories and its contents executable RUN chmod +x /app/target/release RUN chmod +x /app/scripts RUN chmod +x /app
Keep the container running CMD ["/bin/sh", "-c", "/app/scripts/run_nodes.sh"]`
Did you read the documentation and guides?
Is there an existing issue?
Description of the problem
As per instructions I have aleph-node running(by running scripts/run_nodes.sh), it is accessible through local host but on deployment to docker /kubernetes I am not able to connect to network through rpc url. (Example: wss://node.mynetwork.in) Is there any flag missing while running the node so that I can access it publically?
Information on your setup.
Steps to reproduce
No response
Did you attach relevant logs?