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

Windows: Fix EOSdash startup Closes #436 #447 #450

Merged
merged 1 commit into from
Feb 9, 2025

Conversation

Lasall
Copy link
Collaborator

@Lasall Lasall commented Feb 8, 2025

  • On Windows use 127.0.0.1 as default config host (model defaults) and
    addionally redirect 0.0.0.0 to localhost on Windows (because default
    config file still has 0.0.0.0).
    Use 0.0.0.0 as default otherwise (e.g. Linux/Docker) to allow EOS
    being accessible on local network (not just same host).
    Note: Docs generation on Windows is incompatible with the Github
    pipeline tests. Address this in the nested-config feature branch.
  • Update install/startup instructions as package installation is
    required atm and Docker on Windows has to be accessed at localhost or
    127.0.0.1 even though the server log says 0.0.0.0 (which is required
    to be available outside the container).
  • Fix EOSdash startup with read_only: true (support session key via
    EOS_SERVER__EOSDASH_SESSKEY variable). Backport of feature branch.
  • Remove root_path, causing Windows to fail load swagger UI (/docs).
  • test on windows (Docker + cmdline)
  • test on Linux (Docker + cmdline)

@Lasall
Copy link
Collaborator Author

Lasall commented Feb 9, 2025

This has the disadvantage that (at least on Linux) the server is not accessible from within the local network, just from the same host. So maybe keep 0.0.0.0 except for Windows..

Edit: Reverted back so Windows ist 127.0.0.1 and all others are 0.0.0.0.

@Lasall Lasall force-pushed the dl_dev-windows2 branch 3 times, most recently from 50bba27 to a35366f Compare February 9, 2025 19:31
Copy link
Collaborator

@NormannK NormannK left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a hint in the readme to find the docs under http://127.0.0.1:8503/docs would be great. feature branch has that so main might not need it until then.

…#447

 * On Windows use 127.0.0.1 as default config host (model defaults) and
   addionally redirect 0.0.0.0 to localhost on Windows (because default
   config file still has 0.0.0.0).
   Use 0.0.0.0 as default otherwise (e.g. Linux/Docker) to allow EOS
   being accessible on local network (not just same host).
   Note: Docs generation on Windows is incompatible with the Github
   pipeline tests. Address this in the nested-config feature branch.
 * Update install/startup instructions as package installation is
   required atm and Docker on Windows has to be accessed at localhost or
   127.0.0.1 even though the server log says 0.0.0.0 (which is required
   to be available outside the container).
 * Fix EOSdash startup with read_only: true (support session key via
   EOS_SERVER__EOSDASH_SESSKEY variable). Backport of feature branch.
 * Remove root_path, causing Windows to fail load swagger UI (/docs).
@Lasall
Copy link
Collaborator Author

Lasall commented Feb 9, 2025

Updated the README

@NormannK NormannK merged commit b380624 into Akkudoktor-EOS:main Feb 9, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants