Hi San,
Thank you for getting back to me. I'm encountering issues when trying to configure the Voila server, and I hope you can assist.
(1)Issue with --host
0.0.0.0:
I attempted to use the flag --host 0.0.0.0, but encountered an error.
log:
2023-08-22 09:22:17,168 (PID:826954) - INFO - Command: /work/saijou/MAJIQ/env/bin/voila view /work/saijou/MAJIQ -p 8889 --host 0.0.0.0 --enable-passcode
2023-08-22 09:22:17,169 (PID:826954) - INFO - Voila v2.4.dev102+g2cae1507
2023-08-22 09:22:17,169 (PID:826954) - INFO - config file: /tmp/tmp3pp2otlq
2023-08-22 09:22:55,346 (PID:826954) - INFO - Using index: /work/saijou/MAJIQ/deltapsi/minus-plus.deltapsi.voila
2023-08-22 09:22:55,347 (PID:826954) - INFO - Passcode access:
http://0.0.0.0:8889/WA9eIWl1ZCUSTXRyJV142023-08-22 09:22:55,351 (PID:826954) - ERROR - [Errno 98] Address already in use
(2)Issue with --host "$HOSTNAME" --enable-passcode:
When I used the flag --host "$HOSTNAME" --enable-passcode, I encountered an error on my local browser.
log:
2023-08-22 09:23:16,866 (PID:827091) - INFO - Command: /work/saijou/MAJIQ/env/bin/voila view /work/saijou/MAJIQ -p 8889 --host horn --enable-passcode
2023-08-22 09:23:16,866 (PID:827091) - INFO - Voila v2.4.dev102+g2cae1507
2023-08-22 09:23:16,866 (PID:827091) - INFO - config file: /tmp/tmpve0pabi_
2023-08-22 09:23:57,583 (PID:827091) - INFO - Using index: /work/saijou/MAJIQ/deltapsi/minus-plus.deltapsi.voila
2023-08-22 09:23:57,583 (PID:827091) - INFO - Passcode access:
http://horn:8889/KyVMhxFLDUUdrySVJnEVServing on
http://horn:8889Serving on
http://horn:8889To connect to the server, I executed the following command in my Mac terminal:
"ssh -N -f -L localhost:3000:localhost:8889 saijou@horn".
Afterward, I tried accessing the server through my browser using the address localhost:3000. I entered the given passcode (in this instance, KyVMhxFLDUUdrySVJnEV), but was met with an "Invalid credentials" error.
I appreciate any guidance you can provide to resolve these issues.
Warm regards,