The ping place is not working

i did everything that the document said and still this place is not working
No description
45 Replies
Codercord
Codercord2w ago
What are you creating this issue for?
Alex{ ᵐᶜ }
Alex{ ᵐᶜ }OP2w ago
also i cannot change the Workspace Schedule
Alex{ ᵐᶜ }
Alex{ ᵐᶜ }OP2w ago
No description
Luna Lovegood
Luna Lovegood2w 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 Lovegood2w ago
Check on this on template settings
No description
Alex{ ᵐᶜ }
Alex{ ᵐᶜ }OP2w ago
Great This is working but still idk how to fix the other problem
Atif
Atif2w ago
hi @Alex{} could you open a GitHub issue? with your Coder version and setup(how Coder is installed)
Alex{ ᵐᶜ }
Alex{ ᵐᶜ }OP2w ago
I did that
Alex{ ᵐᶜ }
Alex{ ᵐᶜ }OP2w ago
No description
Alex{ ᵐᶜ }
Alex{ ᵐᶜ }OP2w ago
That one is not working
Phorcys
Phorcys2w ago
hey, could you send a link to the GH issue that you opened?
Alex{ ᵐᶜ }
Alex{ ᵐᶜ }OP2w 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
Phorcys2w ago
hey @Alex{}, could you send a screenshot of the health page? (it's under Administration)
Alex{ ᵐᶜ }
Alex{ ᵐᶜ }OP2w 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
Phorcys2w ago
i am not sure what you mean, could you elaborate a bit?
Alex{ ᵐᶜ }
Alex{ ᵐᶜ }OP2w ago
No description
Alex{ ᵐᶜ }
Alex{ ᵐᶜ }OP2w ago
i get white screen now because i change the port from default to 3033
Phorcys
Phorcys2w ago
did you change the port on the reverse proxy that's in front of coder?
Alex{ ᵐᶜ }
Alex{ ᵐᶜ }OP2w ago
i use that coder server --http-address 127.0.0.1:3033 and change the port in nginx
Phorcys
Phorcys2w 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{ ᵐᶜ }OP2w 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
Phorcys2w ago
can you send your nginx logs as well? should be somewhere in /var/log/nginx
Alex{ ᵐᶜ }
Alex{ ᵐᶜ }OP2w ago
Loading failed for the module with source “https://host.developer.krd/assets/index-S7nMPwvk.js”. thats the error
Alex{ ᵐᶜ }
Alex{ ᵐᶜ }OP2w ago
No description
Alex{ ᵐᶜ }
Alex{ ᵐᶜ }OP2w ago
this is the error in the console and there is no error for the nginx
Phorcys
Phorcys7d ago
if you go to that url, what does it look like?
Alex{ ᵐᶜ }
Alex{ ᵐᶜ }OP6d 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
Phorcys6d 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{ ᵐᶜ }OP5d ago
Thank you Idk how to fix that 😂
Trung™
Trung™5d ago
Did u config right url in coder.env file
Alex{ ᵐᶜ }
Alex{ ᵐᶜ }OP4d ago
It was working before i change the port and i didnt config the coder.env
Trung™
Trung™4d 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™4d ago
@Alex{ ᵐᶜ } you should access the URL that u set in the env coder access url
Alex{ ᵐᶜ }
Alex{ ᵐᶜ }OP4d ago
Let me test
Alex{ ᵐᶜ }
Alex{ ᵐᶜ }OP4d ago
this is the config
No description
Trung™
Trung™4d ago
I think it should be exposed to 0.0.0.0 I guess go to dms
Alex{ ᵐᶜ }
Alex{ ᵐᶜ }OP2d 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
Phorcys22h ago
okay, could you send a screenshot of the health page? (it's under Administration)
Alex{ ᵐᶜ }
Alex{ ᵐᶜ }OP5h ago
Ok On mobile its like this
Alex{ ᵐᶜ }
Alex{ ᵐᶜ }OP5h ago
No description
Phorcys
Phorcys3h ago
This is the latency section, there is a health page in the Administration section
Alex{ ᵐᶜ }
Alex{ ᵐᶜ }OP2h ago
it is not working
No description
Alex{ ᵐᶜ }
Alex{ ᵐᶜ }OP2h ago
No description
Phorcys
Phorcys2h ago
this one here
No description
Alex{ ᵐᶜ }
Alex{ ᵐᶜ }OP1h ago
No description

Did you find this page helpful?