The ping place is not working

i did everything that the document said and still this place is not working
No description
47 Replies
Codercord
Codercord2mo ago
What are you creating this issue for?
Alex{  }
Alex{ }OP2mo ago
also i cannot change the Workspace Schedule
Alex{  }
Alex{ }OP2mo ago
No description
Luna Lovegood
Luna Lovegood2mo ago
maybe because Workspace Schedule is managed by template, you must edit Template to allow edit schedule on workspaces "The template for this workspace does not allow modification of ..." described on your screenshot
Luna Lovegood
Luna Lovegood2mo ago
Check on this on template settings
No description
Alex{  }
Alex{ }OP2mo ago
Great This is working but still idk how to fix the other problem
Atif
Atif2mo ago
hi @Alex{} could you open a GitHub issue? with your Coder version and setup(how Coder is installed)
Alex{  }
Alex{ }OP2mo ago
I did that
Alex{  }
Alex{ }OP2mo ago
No description
Alex{  }
Alex{ }OP2mo ago
That one is not working
Phorcys
Phorcys2mo ago
hey, could you send a link to the GH issue that you opened?
Alex{  }
Alex{ }OP2mo ago
GitHub
Website ping button problem · Issue #15866 · coder/coder
Why the place that i cercle it is not working i did everything that the documention said
Phorcys
Phorcys2mo ago
hey @Alex{}, could you send a screenshot of the health page? (it's under Administration)
Alex{  }
Alex{ }OP2mo ago
The custom domain is not working now, i did install mysql database in my main code and tried to create public database so that i could use it in docker projects but it destroyed the custom domain wich was host.developer.krd
Phorcys
Phorcys2mo ago
i am not sure what you mean, could you elaborate a bit?
Alex{  }
Alex{ }OP2mo ago
No description
Alex{  }
Alex{ }OP2mo ago
i get white screen now because i change the port from default to 3033
Phorcys
Phorcys2mo ago
did you change the port on the reverse proxy that's in front of coder?
Alex{  }
Alex{ }OP2mo ago
i use that coder server --http-address 127.0.0.1:3033 and change the port in nginx
Phorcys
Phorcys2mo ago
the white page likely means that nginx isn't able to reach your Coder instance, so you should try to investigate in the nginx logs to find the root cause happy to help with that if you want
Alex{  }
Alex{ }OP2mo ago
I want that Ill send the config
server {
server_name host.developer.krd *.host.developer.krd;

# HTTP configuration
listen 80;
listen [::]:80;

# HTTP to HTTPS
if ($scheme != "https") {
return 301 https://$host$request_uri;
}

# HTTPS configuration
listen [::]:443 ssl ipv6only=on;
listen 443 ssl;
ssl_certificate /etc/letsencrypt/live/host.developer.krd/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/host.developer.krd/privkey.pem;

location / {
proxy_pass http://127.0.0.1:3033; # Change this to your coder deployment port default is 3000
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection upgrade;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
add_header Strict-Transport-Security "max-age=15552000; includeSubDomains" always;
}
}
server {
server_name host.developer.krd *.host.developer.krd;

# HTTP configuration
listen 80;
listen [::]:80;

# HTTP to HTTPS
if ($scheme != "https") {
return 301 https://$host$request_uri;
}

# HTTPS configuration
listen [::]:443 ssl ipv6only=on;
listen 443 ssl;
ssl_certificate /etc/letsencrypt/live/host.developer.krd/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/host.developer.krd/privkey.pem;

location / {
proxy_pass http://127.0.0.1:3033; # Change this to your coder deployment port default is 3000
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection upgrade;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
add_header Strict-Transport-Security "max-age=15552000; includeSubDomains" always;
}
}
Thats my config
Phorcys
Phorcys2mo ago
can you send your nginx logs as well? should be somewhere in /var/log/nginx
Alex{  }
Alex{ }OP2mo ago
Loading failed for the module with source “https://host.developer.krd/assets/index-S7nMPwvk.js”. thats the error
Alex{  }
Alex{ }OP2mo ago
No description
Alex{  }
Alex{ }OP2mo ago
this is the error in the console and there is no error for the nginx
Phorcys
Phorcys2mo ago
if you go to that url, what does it look like?
Alex{  }
Alex{ }OP2mo ago
It will show the code The intire code I think its unvisabel to the home page I tried everything to fix the nginx but it will not be fixed
Phorcys
Phorcys2mo ago
this error message means that the HTTP response was aborted in an unexpected way this is usually due to poor networking, or problems with the reverse-proxy I am not sure how to help because it does not seem like a Coder issue to me
Alex{  }
Alex{ }OP2mo ago
Thank you Idk how to fix that 😂
Trung™
Trung™2mo ago
Did u config right url in coder.env file
Alex{  }
Alex{ }OP2mo ago
It was working before i change the port and i didnt config the coder.env
Trung™
Trung™2mo ago
vMrKDh.png (Termius_lSfGOd7EUQ.png)
I just wasted 31.8 kB to show you this file
I uploaded this on 12/21/2024, 3:03:34 PM GMT +7
Trung™
Trung™2mo ago
@Alex{ ᵐᶜ } you should access the URL that u set in the env coder access url
Alex{  }
Alex{ }OP2mo ago
Let me test
Alex{  }
Alex{ }OP2mo ago
this is the config
No description
Trung™
Trung™2mo ago
I think it should be exposed to 0.0.0.0 I guess go to dms
Alex{  }
Alex{ }OP2mo ago
No I find the problem sudo ufw allow 80 sudo ufw allow 443 sudo ufw allow 3033 Those things fixed the problem @Phorcys also the problem is not solving The button is the same thing Same as that
Phorcys
Phorcys2mo ago
okay, could you send a screenshot of the health page? (it's under Administration)
Alex{  }
Alex{ }OP2mo ago
Ok On mobile its like this
Alex{  }
Alex{ }OP2mo ago
No description
Phorcys
Phorcys2mo ago
This is the latency section, there is a health page in the Administration section
Alex{  }
Alex{ }OP2mo ago
it is not working
No description
Alex{  }
Alex{ }OP2mo ago
No description
Phorcys
Phorcys2mo ago
this one here
No description
Alex{  }
Alex{ }OP2mo ago
No description
Trung™
Trung™2mo ago
Yeah It could get over that url Not a different domain
Phorcys
Phorcys2mo ago
what's the "websocket" section looking like?

Did you find this page helpful?