FireXStuff / firexapp

BSD 3-Clause "New" or "Revised" License
7 stars 1 forks source link

fix redis manager hostname issue when running firex on macos #19

Closed amdshrif closed 2 months ago

amdshrif commented 2 months ago

fixeapp fails to start on macos platform because gethostname() dose not return the correct host name with .local suffix

[venv] ashrif@ASHRIF-M-WFVP:~/workspace/firex/firexapp-fork ‹master›
$ firexapp submit --chain nop
[00:51:29][ASHRIF-M-WFVP] FireX ID: FireX-ashrif-240801-045129-50878
[00:51:29][ASHRIF-M-WFVP] Logs: /var/folders/jm/8cxk89jj3xb7xb5zrmqq9jyw0000gn/T/FireX-ashrif-240801-045129-50878
[00:51:30][ASHRIF-M-WFVP] Flame: http://ASHRIF-M-WFVP.local:57497