Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discourse get stuck on loading page #1403

Closed
A-Harby opened this issue Nov 12, 2023 · 8 comments
Closed

Discourse get stuck on loading page #1403

A-Harby opened this issue Nov 12, 2023 · 8 comments
Assignees
Labels
playground type_bug Something isn't working
Milestone

Comments

@A-Harby
Copy link
Contributor

A-Harby commented Nov 12, 2023

Description

I tried a few Discourse deployments, and it usually works, but sometimes it gets stuck on this page (I kept waiting for more than a day and nothing happened).

image

Deployment details.

[
  {
    "version": 0,
    "contractId": 25668,
    "nodeId": 5,
    "name": "dcztcjs",
    "created": 1699789151,
    "status": "ok",
    "message": "",
    "flist": "https://hub.grid.tf/tf-official-apps/forum-docker-v3.1.2.flist",
    "publicIP": null,
    "planetary": "300:9c4a:29ac:6e0b:eccf:c3c1:f392:f76e",
    "interfaces": [
      {
        "network": "nwsoxle",
        "ip": "10.20.4.2"
      }
    ],
    "capacity": {
      "cpu": 1,
      "memory": 2048
    },
    "mounts": [
      {
        "name": "disktzi",
        "mountPoint": "/var/lib/docker",
        "size": 16106127360,
        "state": "ok",
        "message": ""
      }
    ],
    "env": {
      "SSH_KEY": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCvmSYj5BKWkizdNyIziMfMm0CRrgq0UxFtBfBdArUMXSFkU30rtExbg6dlVFJCufw6UsCESm/QBSwlOyYKRdpsfVARcAw5G5OG0iX/22n+tYmCcWpmOJLJZaAmSynF1kwpBx3XDy40mFL6OMXjqFcU3DirbcucIL185XfAsTzrq3tDtSvmYPwbXMVMbs1ZAZValxOQNuaLty4qGD2awxVNZq4vtAzgpz3FFo3cs2g70jsGiPq/rsH+NxZHYmqvYnF/S0aPGBrbOe2yW8Cz0mqq5CzqbjYd+Qorkmt7uyJrlCBI43ky+pUuiAYeE1eJlWl5svA+ibWk5yYoa6svLUkaL1kcOMeZWLzDjL3OCrno9gglNp8zUkdSagHROoYlGgpc5fnzMGX4MKDLpHdE9xdk4NjpjB2Iq3hV3DamexXAhLEirLYv9fSilSyKVf/2kvYAa9o+NS4DgBVvXg9J54By/mAVsydD4lbpNe/2pX/WoFGCczmoQfWdHgJPYVCf2vU= harby@ahmed-Saleh-Harby",
      "DISCOURSE_HOSTNAME": "dc579dcztcjs.gent01.test.grid.tf",
      "DISCOURSE_DEVELOPER_EMAILS": "asdf@adf.ads",
      "DISCOURSE_SMTP_ADDRESS": "smtp.gmail.com",
      "DISCOURSE_SMTP_PORT": "587",
      "DISCOURSE_SMTP_ENABLE_START_TLS": "false",
      "DISCOURSE_SMTP_USER_NAME": "asd@asdf.gfd",
      "DISCOURSE_SMTP_PASSWORD": "r%b7FgjdA$1F",
      "THREEBOT_PRIVATE_KEY": "Nx6SdiITzLTOZIvVsHGS/1RLlmF//dSCBaofe7OPpG8=",
      "FLASK_SECRET_KEY": "T8vCyOYZ"
    },
    "entrypoint": "/sbin/zinit init",
    "metadata": "{\"type\":\"vm\",\"name\":\"dcztcjs\",\"projectName\":\"discourse/dcztcjs\"}",
    "description": "",
    "rootfs_size": 524288000,
    "corex": false,
    "gpu": [],
    "deploymentName": "dcztcjs",
    "projectName": "discourse/dcztcjs",
    "billing": "No Data Available",
    "wireguard": "[Interface]\nAddress = 100.64.20.3/32\nPrivateKey = caBnIOkQeGb9XktnOQS/8gdfVwQfpUwQCBuN5c1bBZs=\n\n[Peer]\nPublicKey = QYq1FCJMQc52X9jysVFjR6Z94725QDWvHaBIegLuJFc=\nAllowedIPs = 10.20.0.0/16, 100.64.20.0/32\nPersistentKeepalive = 25\nEndpoint = 185.206.122.131:5597"
  }
]```
@A-Harby A-Harby added type_bug Something isn't working playground labels Nov 12, 2023
@ramezsaeed ramezsaeed added this to the 2.3.0 milestone Nov 15, 2023
@ramezsaeed
Copy link
Contributor

@sabrinasadik please assign someone to investigate.

@PeterNashaat
Copy link
Member

  • Discourse installation tested and working fine

image

[
  {
    "version": 0,
    "contractId": 54504,
    "nodeId": 31,
    "name": "forumtest",
    "created": 1700485612,
    "status": "ok",
    "message": "",
    "flist": "https://hub.grid.tf/tf-official-apps/forum-docker-v3.1.2.flist",
    "publicIP": null,
    "planetary": "300:bfec:963b:e662:6eee:642e:e70b:b6df",
    "interfaces": [
      {
        "network": "nwp2qv1ngmt",
        "ip": "10.20.4.2"
      }
    ],
    "capacity": {
      "cpu": 2,
      "memory": 2048
    },
    "mounts": [
      {
        "name": "diskqy44za2",
        "mountPoint": "/var/lib/docker",
        "size": 53687091200,
        "state": "ok",
        "message": ""
      }
    ],
    "env": {
      "SSH_KEY": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDXOFVIhlU7g2nPd8Y8We7Undygicr0la8Y5wPvo+QnyPzeX3XTi6swMVOuREDaVaWgppo1eaNcmSrhEygJ4JmCDDFMXF7uUw0rrBltc7l3rkSSlIyyaH1/v2iT7iSebnD0dDRt5hd1p+YNxpo4JhAPAvtLWtQEd8HL0SJzSGbRWs+X0Gmmu1p+c6G+Za9K7m7iyzCp4DU99hklX126U/eViabC0VIddhIXjhzoHerZ0U1KV72IBUS5MuqYIjs/DziRmAVUzrfp92/3FRXUS7BxoGoWI6zpv1VT7vCya4EwlQUUI5+LSXze8wfICCbTGHzSMnGcKjyckBKufUjqyqUx @samir",
      "DISCOURSE_HOSTNAME": "dc604forumtest.gent01.grid.tf",
      "DISCOURSE_DEVELOPER_EMAILS": "peter@codescalers.com",
      "DISCOURSE_SMTP_ADDRESS": "smtp.gmail.com",
      "DISCOURSE_SMTP_PORT": "587",
      "DISCOURSE_SMTP_ENABLE_START_TLS": "false",
      "DISCOURSE_SMTP_USER_NAME": "testforum90@gmail.com",
      "DISCOURSE_SMTP_PASSWORD": "123@R00t3r",
      "THREEBOT_PRIVATE_KEY": "4JmjZBeIyvcbVNS1IdIt2FwI8hiNk/106Y1qnCVn6Ts=",
      "FLASK_SECRET_KEY": "Iz71qcBV"
    },
    "entrypoint": "/sbin/zinit init",
    "metadata": "{\"type\":\"vm\",\"name\":\"forumtest\",\"projectName\":\"discourse\"}",
    "description": "",
    "rootfs_size": 524288000,
    "corex": false,
    "gpu": []
  }
]
  • But found issue while entering gmail smtp account password
    Passwords can be more than 15 characters.
    photo_2023-11-20 15 52 35

@khaledyoussef24
Copy link
Contributor

it worked but took to much time
image
and then no verification mail was sent to the admin mail
image
image

so could not try the solution

@khaledyoussef24 khaledyoussef24 moved this from In Verification to In Progress in 3.13.x Dec 21, 2023
@A-Harby
Copy link
Contributor Author

A-Harby commented Dec 24, 2023

Testnet, 2.2.0-rc6.
I deployed 3 instance and still get the same error.
image
image

@A-Harby
Copy link
Contributor Author

A-Harby commented Dec 24, 2023

so could not try the solution

FInally the fourth one worked with me but I got stuck with the same error as khaled.
image

@MohamedElmdary MohamedElmdary moved this from In Progress to In Verification in 3.13.x Feb 4, 2024
@khaledyoussef24
Copy link
Contributor

Screenshot 2024-02-12 at 9 23 03 AM (2)
deployed many deployments always end up giving me bad gateway.
Should this be a separate issue?

@khaledyoussef24 khaledyoussef24 moved this from In Verification to Accepted in 3.13.x Feb 12, 2024
@khaledyoussef24
Copy link
Contributor

update : one of the deployment is reachable but still did not get the activation mail
Screenshot 2024-02-12 at 10 25 31 AM (2)

@xmonader xmonader added this to 3.14.x Feb 26, 2024
@xmonader xmonader removed this from 3.13.x Feb 26, 2024
@xmonader xmonader modified the milestones: 2.3.0, 2.4.0 Feb 26, 2024
@xmonader xmonader modified the milestones: 2.4.0, 2.5.0 Apr 14, 2024
@AlaaElattar AlaaElattar self-assigned this May 19, 2024
@AlaaElattar AlaaElattar moved this to Pending Review in 3.14.x May 19, 2024
@AlaaElattar AlaaElattar mentioned this issue May 19, 2024
5 tasks
@AlaaElattar AlaaElattar moved this from Pending Review to In Verification in 3.14.x May 20, 2024
@khaledyoussef24
Copy link
Contributor

verified and fixed on devnet
version : cb47e59
deployed discourse and worked fine
the waiting time is acceptable now.

Image
Image
Image
Image

https://app.testlodge.com/a/26076/projects/40893/suites/234374?expand_section=422332#case_4150344

@khaledyoussef24 khaledyoussef24 moved this from In Verification to Done in 3.14.x May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
playground type_bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

7 participants