Mythic
Mythic copied to clipboard
Failed to connect to RabbitMQ
hi im have problem after running ./mythic-cli start : Failed to connect to RabbitMQ
im using ubuntu 22.04
root@linux:/opt/Mythic# ./mythic-cli start
[+] Stopping 12/12
✔ Container mythic_react Stopped0.6s
✔ Container apollo Stopped10.3s
✔ Container mythic_postgres Stopped1.0s
✔ Container mythic_server Stopped2.1s
✔ Container athena Stopped10.3s
✔ Container mythic_nginx Stopped0.6s
✔ Container mythic_jupyter Stopped1.1s
✔ Container http Stopped0.2s
✔ Container mythic_rabbitmq Stopped6.8s
✔ Container mythic_graphql Stopped10.6s
✔ Container mythic_documentation Stopped0.8s
✔ Container medusa Stopped10.3s
[+] Building 0.0s (0/0) docker:default
[+] Running 8/8
✔ Container mythic_graphql Started0.0s
✔ Container mythic_nginx Started0.0s
✔ Container mythic_documentation Started0.0s
✔ Container mythic_postgres Started0.0s
✔ Container mythic_rabbitmq Started0.0s
✔ Container mythic_react Started0.0s
✔ Container mythic_jupyter Started0.0s
✔ Container mythic_server Started0.0s
[+] Building 0.0s (0/0) docker:default
[+] Running 4/4
✔ Container medusa Started0.0s
✔ Container apollo Started0.0s
✔ Container http Started0.0s
✔ Container athena Started0.0s
2024/08/02 10:53:00 [*] Waiting for RabbitMQ to come online (Retry Count = 10)
2024/08/02 10:53:00 [*] Attempting to connect to RabbitMQ at 127.0.0.1:5672, attempt 1/10
2024/08/02 10:53:00 [-] Failed to connect to RabbitMQ, retrying in 10s
2024/08/02 10:53:10 [*] Attempting to connect to RabbitMQ at 127.0.0.1:5672, attempt 2/10
2024/08/02 10:53:13 [-] Failed to connect to RabbitMQ, retrying in 10s
2024/08/02 10:53:23 [*] Attempting to connect to RabbitMQ at 127.0.0.1:5672, attempt 3/10
2024/08/02 10:53:26 [-] Failed to connect to RabbitMQ, retrying in 10s
2024/08/02 10:53:36 [*] Attempting to connect to RabbitMQ at 127.0.0.1:5672, attempt 4/10
2024/08/02 10:53:39 [-] Failed to connect to RabbitMQ, retrying in 10s
2024/08/02 10:53:49 [*] Attempting to connect to RabbitMQ at 127.0.0.1:5672, attempt 5/10
2024/08/02 10:53:52 [-] Failed to connect to RabbitMQ, retrying in 10s
2024/08/02 10:54:02 [*] Attempting to connect to RabbitMQ at 127.0.0.1:5672, attempt 6/10
2024/08/02 10:54:05 [-] Failed to connect to RabbitMQ, retrying in 10s
2024/08/02 10:54:15 [*] Attempting to connect to RabbitMQ at 127.0.0.1:5672, attempt 7/10
2024/08/02 10:54:18 [-] Failed to connect to RabbitMQ, retrying in 10s
2024/08/02 10:54:28 [*] Attempting to connect to RabbitMQ at 127.0.0.1:5672, attempt 8/10
2024/08/02 10:54:31 [-] Failed to connect to RabbitMQ, retrying in 10s
2024/08/02 10:54:41 [*] Attempting to connect to RabbitMQ at 127.0.0.1:5672, attempt 9/10
2024/08/02 10:54:44 [-] Failed to connect to RabbitMQ, retrying in 10s
2024/08/02 10:54:54 [*] Attempting to connect to RabbitMQ at 127.0.0.1:5672, attempt 10/10
2024/08/02 10:54:57 [-] Failed to connect to RabbitMQ, retrying in 10s
2024/08/02 10:55:07 [-] Failed to make a connection to the RabbitMQ server: <nil>
2024/08/02 10:55:07 The mythic_rabbitmq service is running, but mythic-cli is unable to connect
2024/08/02 10:55:07 [*] Waiting for Mythic Server and Nginx to come online (Retry Count = 10)
2024/08/02 10:55:07 [*] Attempting to connect to Mythic UI at https://127.0.0.1:7443, attempt 1/10
2024/08/02 10:55:07 [+] Successfully connected to Mythic at https://127.0.0.1:7443
MYTHIC SERVICE WEB ADDRESS BOUND LOCALLY
Nginx (Mythic Web UI) https://127.0.0.1:7443 false
Mythic Backend Server http://127.0.0.1:17443 false
Hasura GraphQL Console http://127.0.0.1:8080 true
Jupyter Console http://127.0.0.1:8888 true
Internal Documentation http://127.0.0.1:8090 true
ADDITIONAL SERVICES ADDRESS BOUND LOCALLY
Postgres Database postgresql://mythic_user:[email protected]:5432/mythic_db true
React Server http://127.0.0.1:3000/new true
RabbitMQ amqp://mythic_user:[email protected]:5672 false
Mythic Main Services
CONTAINER NAME STATE STATUS MOUNT PORTS
mythic_documentation running Up 2 minutes (healthy) local 8090/tcp -> 127.0.0.1:8090
mythic_graphql running Up 2 minutes (healthy) N/A 8080/tcp -> 127.0.0.1:8080
mythic_jupyter running Up 2 minutes (healthy) local 8888/tcp -> 127.0.0.1:8888
mythic_nginx running Up 2 minutes (healthy) local 7443/tcp -> :::7443, 7443
mythic_postgres running Up 2 minutes (healthy) local 5432/tcp -> 127.0.0.1:5432
mythic_rabbitmq running Up 2 minutes (healthy) local 5672/tcp -> :::5672, 5672
mythic_react running Up 2 minutes (healthy) local 3000/tcp -> 127.0.0.1:3000
mythic_server running Up 2 minutes (health: starting) local 7000/tcp -> :::7000, 7001/tcp -> :::7001, 7002/tcp -> :::7002, 7003/tcp -> :::7003, 7004/tcp -> :::7004, 7005/tcp -> :::7005, 7006/tcp -> :::7006, 7007/tcp -> :::7007, 7008/tcp -> :::7008, 7009/tcp -> :::7009, 7010/tcp -> :::7010, 17443/tcp -> :::17443, 17444/tcp -> :::17444, 7000, 7001, 7002, 7003, 7004, 7005, 7006, 7007, 7008, 7009, 7010, 17443, 17444
Installed Services
CONTAINER NAME STATE STATUS MOUNT
apollo running Up 2 minutes local
athena running Up 2 minutes athena_volume
http running Up 2 minutes http_volume
medusa running Up 2 minutes local
2024/08/02 10:55:07 [*] If you are using a remote PayloadType or C2Profile, they will need certain environment variables to properly connect to Mythic.
2024/08/02 10:55:07 Use 'sudo ./mythic-cli config service' for configs for these services.
because when I log in with the user and password mythic in the browser an error appears: HTTP 404 Error: Check Mythic logs
can you explain me how to solved this issue ?
Thanks