-
Notifications
You must be signed in to change notification settings - Fork 40
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
Server URL input as a dropdown #9
Comments
@Guttz Can we use database to store the URLs when they are deployed or hosted, and then fetch them in the client . Or is there any other approach to this? |
For now, as I think we have only 1, a simple array in the source code would be ok.. We can change it in the future if necessary. |
Maybe something important would be to have a checking function when the demo initializes so it actually checks if the servers are up, before showing to the user, as the servers might not always be available. |
okay @Guttz , so it's like having an array of urls harded coded and checking if it is hosted or not? |
Greetings @Guttz . I am willing to work on this issue. The blank page appears because of the following variables being null in the render function of app.js:
The root of the issue is when the request is made to hydra-docs and adidoc-graph and 404 error occurs. That's why both of the above variables are not being set
Could you please guide a bit about what might've went wrong? I also tried to solve the matter by replacing I tried by peeking into the hydra_doc_writer to create a new hydraDoc too but I think that wouldn't be necessary as sample hydrodoc is being used as default. The following output line by running
|
@Haysam-Bin-Tahir , hello may I know how are you running the client , are you running app.py . and if you are using hydrus server then the entrypoint should be http://localhost:8080/serverapi |
I am currently running the app by "npm start" into the folder "console-frontend". I also changed the entrypoint to "http://localhost:8080/serverapi" but that gave authentication error (401). |
@Haysam-Bin-Tahir okay instead running app through |
for authenication error instead running |
It resolved the authorization error but still, the resources( hydra-doc and apidoc-graph ) are not found and 404 error is being generated. Does redis_setup.sh have a role in it? Because that is the only file that is not being run currently due to a docker error of "docker daemon not running". P.S. I am still running I understand this might be a problem with my setup because I don't see other users complaining about it. So, it is okay if you are not able to detect the problem with this; I won't be taking any more time of yours on this. It is just a last try to see if we can reach somewhere. Thanks for your patience and kindness. |
Hey @Haysam-Bin-Tahir, to run the GUI you need RedisGraph running, hydrus running and then run the gui(python app.py). I would suggest that for these errors you interact with the community through our slack channel: https://join.slack.com/t/hydraecosystem/shared_invite/zt-9eudw2gz-5SN92uyOhYDBnFQHAAx9nw Thanks! |
Yes, I think that's a ok solution for now. |
Thank you so much. |
Deploy hydrus servers and input them in the Server URL input as a dropdown so when the user launches the UI he can already try some online ready server. Similar to how we have one already deployed now.
The text was updated successfully, but these errors were encountered: