Closed troykelly closed 1 year ago
More info:
Container seems to be working
========================================
HTTPS-PORTAL v1.17.2
========================================
[cont-init.d] 00-welcome: exited 0.
[cont-init.d] 20-setup: executing...
RSA key ok
[cont-init.d] 20-setup: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
Server listening on: http://0.0.0.0:5000
root@dapp001:~# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
b8d65b451ea1 wifi.dnp.dappnode.eth:0.2.8 "/bin/sh -c 'iw dev'" 1 second ago Up Less than a second funny_archimedes
6dd8b96e10d9 https.dnp.dappnode.eth:0.1.3 "/init" About an hour ago Up 30 minutes 0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp DAppNodeCore-https.dnp.dappnode.eth
f91848cd5cbb wireguard.wireguard.dnp.dappnode.eth:0.1.1 "/init" About an hour ago Up About an hour 0.0.0.0:51820->51820/udp, :::51820->51820/udp DAppNodeCore-wireguard.wireguard.dnp.dappnode.eth
0a8b8eb48f1a api.wireguard.dnp.dappnode.eth:0.1.1 "node src/index" About an hour ago Up About an hour DAppNodeCore-api.wireguard.dnp.dappnode.eth
275c51888362 wifi.dnp.dappnode.eth:0.2.8 "/usr/bin/entrypoint…" About an hour ago Up About a minute DAppNodeCore-wifi.dnp.dappnode.eth
0c08ee85d855 ipfs.dnp.dappnode.eth:0.2.16 "/sbin/tini -- /usr/…" About an hour ago Up About an hour 5001/tcp, 4001/udp, 0.0.0.0:4001->4001/tcp, :::4001->4001/tcp, 0.0.0.0:4002->4002/udp, :::4002->4002/udp, 8080-8081/tcp DAppNodeCore-ipfs.dnp.dappnode.eth
a1f83f21b547 dappmanager.dnp.dappnode.eth:0.2.51 "docker-entrypoint.s…" About an hour ago Up About an hour DAppNodeCore-dappmanager.dnp.dappnode.eth
bad23899e5ed bind.dnp.dappnode.eth:0.2.6 "supervisord" About an hour ago Up About an hour 53/udp DAppNodeCore-bind.dnp.dappnode.eth
Hey!
Can you try to run
docker exec DAppNodeCore-https.dnp.dappnode.eth cat /etc/nginx/nginx.conf
command in your dappnode and verify that towards the end of the output you have this part
server {
server_name dappnode.local;
listen 80;
listen [::]:80;
resolver 172.33.1.2;
allow 10.0.0.0/8;
allow 172.16.0.0/12;
allow 192.168.0.0/16;
allow fc00::/7;
deny all;
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://my.dappnode;
}
}
Thank you @3alpha - the file is basically empty...
➜ ~ docker exec DAppNodeCore-https.dnp.dappnode.eth cat /etc/nginx/nginx.conf
# This file will be compiled into /etc/nginx/nginx.conf
user nginx;
worker_processes 1;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
ssl_protocols TLSv1.2 TLSv1.3;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}
access_log off;
error_log /dev/stderr error;
sendfile on;
keepalive_timeout 65;
gzip on;
gzip_disable "msie6";
gzip_vary on;
gzip_proxied any;
gzip_comp_level 6;
gzip_buffers 16 8k;
gzip_http_version 1.1;
gzip_types application/javascript application/json application/rss+xml application/vnd.ms-fontobject application/x-font application/x-font-opentype application/x-font-otf application/x-font-truetype application/x-font-ttf application/x-javascript application/xhtml+xml application/xml font/opentype font/otf font/ttf image/svg+xml image/x-icon text/css text/javascript text/plain text/xml;
server_tokens off;
server_names_hash_max_size 4096;
server_names_hash_bucket_size 128;
resolver 127.0.0.11;
include /etc/nginx/conf.d/*.conf;
# Prevent Nginx from leaking other server configurations on the same machine
server {
listen 80 default_server;
listen 443 ssl default_server;
ssl_certificate /var/lib/https-portal/default_server/default_server.crt;
ssl_certificate_key /var/lib/https-portal/default_server/default_server.key;
server_name _;
return 444;
}
}
and there is nothing in the conf.d
either
➜ ~ docker exec DAppNodeCore-https.dnp.dappnode.eth ls -al /etc/nginx/conf.d/
total 12
drwxr-xr-x 1 root root 4096 Mar 7 2022 .
drwxr-xr-x 1 root root 4096 Dec 17 2020 ..
Did you try restarting HTTPS package? Somethimes something breaks during the startup and that server configuration doesn't get injected.
@3alpha we should find out the root problem, should we create an issue the HTTPS package related to this?
@3alpha this is easily reproducible - just run the iso or install script - it fails every time for me.
I just did a fresh install on a test machine. Can't reproduce your error either.
Not sure what to say - I've tried multiple times, ISO install and script install - always fails. Happy to close because I've given up and doing something else with the resources.
What hardware are you using and what's your network connection? We'd much rather solve a bug if it's there, we just need to figure out why this is happening for you. Because there's obviously some sort of issue based on your provided logs and outputs.
I've just been testing on a Poweredge 410
, and esxi 7
VM's
10Gigabit network core, 2Gigabit link to Poweredge, 10 on the esxi box.
1Gigabit links to peers for Internet.
Does something need to download in a particular timeframe, or could latency cause this?
I've been messing with a Solana validator as well - and, there are no validators close enough (by latency/speed) to get the snapshot fast enough.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions!
@alexpeterson91 should I give up?
How are you trying to access. You can’t access the local proxy on a non local server. It’s not even a good feature locally. Very limited. No ssl. Your logs showed 443 you can’t access that over that port nor anything else ui related for that matter really. You must be inside the local docker network of dappnode to access the UIs which is. Why a VPN is needed or other special connection. We offer WireGuard (preferred) and openVPN . For dappnode.local you have to be on the same LAN and use port 80. But it’s buggy and can only access one of the many UIs. You need to ssh to the nodes public IP get WireGuard credentials install them on your local device. Connect to the vpn. Then access at HTTP://my.dappnode
. I don’t know if I missed something but it looks like you never were actually trying to connect properly. At least from this issue’s comments. You need to connect over VPN to access the UI, it’s auto generated wifi hotspot or from the LAN Proxy. Let me know if you’ve been trying to access any of these ways. Or if you need more help let me know. Sent from my iPhoneOn Dec 15, 2022, at 11:11 PM, Troy Kelly @.***> wrote:
@alexpeterson91 should I give up?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions!
This issue or pull request has been automatically been closed due to inactivity.
Describe the bug After a clean install from ISO - the web server response is empty. After a clean install from script - the web server response is empty.
To Reproduce
Install DAppNode-v0.2.56-debian-bullseye-amd64
Try and open the server per instructions
Receive an empty response
or...
sudo apt update && sudo apt -y install wget
sudo wget -O - https://prerequisites.dappnode.io | sudo bash
sudo wget -O - https://installer.dappnode.io | sudo bash
Expected behaviour The web page should come up per the instructions
Screenshots
DAppNode version:
Additional context