coder - server expired

#help . Hi all, I have question when I set up coder - server. I refer from https://github.com/coder/coder/blob/main/examples/web-server/apache to setup my demo. But server down after since of time . Could you share me some Idea to fix it? Best regards, Ben.Ng
GitHub
coder/examples/web-server/apache at main · coder/coder
Provision remote development environments via Terraform - coder/coder
11 Replies
Codercord
Codercord2mo ago
<#1267306580995604565>
Category
Help needed
Product
code-server
Platform
Linux
Logs
Please post any relevant logs/error messages.
Phorcys
Phorcys2mo ago
hello, could you share your final configuration for apache?
Ben.Ng
Ben.Ng2mo ago
Dear @Phorcys , I refer setup from https://github.com/coder/coder/tree/main/examples/web-server/apache But I have DNS record ( My IT team created for me) I use command line : sudo docker run -d \ --name coderver02 \ --restart always \ -e CODER_HTTP_ADDRESS=127.0.0.1:3000 \ -e CODER_ACCESS_URL="http://abcd.com" \ -e CODER_WILDCARD_ACCESS_URL="*abcd.com" \ -p 3000:3000 \ -v /var/run/docker.sock:/var/run/docker.sock \ --group-add $DOCKER_GROUP \ ghcr.io/coder/coder:latest . This is my log : Started HTTP listener at http://127.0.0.1:3000 Using built-in PostgreSQL (/home/coder/.config/coderv2/postgres) View the Web UI:http://abcd.com 2024-07-29 16:22:11.230 [info] pubsub: pubsub dialing postgres network=tcp address=localhost:35025 timeout_ms=0 2024-07-29 16:22:11.230 [info] pubsub: pubsub postgres TCP connection established network=tcp address=localhost:35025 timeout_ms=0 elapsed_ms=0 2024-07-29 16:22:11.232 [info] pubsub: pubsub connected to postgres 2024-07-29 16:22:11.232 [info] pubsub: pubsub has started But I check HTTP curl http://127.0.0.1:3000 , it show error curl: (56) Recv failure: Connection reset by peer Thank you and best regards,
GitHub
coder/examples/web-server/apache at main · coder/coder
Provision remote development environments via Terraform - coder/coder
Phorcys
Phorcys2mo ago
try setting CODER_HTTP_ADDRESS to 0.0.0.0:3000 instead
Ben.Ng
Ben.Ng2mo ago
Dear @Phorcys ,Could you confirm something with me ? If I use the free version , I only use a public coder-server with VScode GUI (https://hub.docker.com/r/codercom/code-server). If I want to use features (Login; Workspace; template; config) similar when I run the command line: [ curl -L https://coder.com/install.sh | sh ] of Localhost: 127.0.0.1:3000 (Refer https://coder.com/docs/install), I need to use Enterprise version with License. Thank you and best regards, Ben.Ng
Phorcys
Phorcys2mo ago
you don't need an enterprise version for that code-server and Coder are actually two different products!
Ben.Ng
Ben.Ng2mo ago
Dear @Phorcys .Thank you for your support. You are my hero. I have some questions and I want you to confirm. If I want to link my account with GitLab, do I need to use the Enterprise version? Best regard, Ben.Ng
Phorcys
Phorcys2mo ago
you do not, just define GitLab as an authentication source you can only use one external authentication source with the free version though if i recall correctly
Ben.Ng
Ben.Ng2mo ago
Thank you so much. I will implement it and trial Gitlab pipeline .
Have a good day! :coderwhite:
Phorcys
Phorcys2mo ago
no worries ! feel free to ask any other questions :-)
Codercord
Codercord2mo ago
@Phorcys closed the thread.
Want results from more Discord servers?
Add your server