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

Workaround for Failing Nomad Links #66

Open
piotrzarzycki21 opened this issue Nov 8, 2024 · 0 comments
Open

Workaround for Failing Nomad Links #66

piotrzarzycki21 opened this issue Nov 8, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@piotrzarzycki21
Copy link
Contributor

piotrzarzycki21 commented Nov 8, 2024

@MarkProminic reported that url is not opening in some cases. I will gather more details soon.

UPDATE from Joel; When testing on customer Nomad servers (which are additional servers rather than standalone) we have been seeeing an issue like this:

  1. In SHI, click a Nomad link to the local Nomad server
  2. Nomad opens. Go through the login process
  3. Nomad reports that the database could not be opened. Checking the error message, it shows that Nomad attempted to open the database on a different server.
  4. From Nomad, try to open the original server
  5. The database list populates, but on further inspection, we see that it is the database list for the second server.

We consider this to be a Nomad issue, and @MarkProminic has reported it to HCL. So far we haven't gotten a response.

This week we stumbled upon a possible workaround. Rather than using the server in the common (nomad-1.acme.com) or abbreviated (nomad-1.acme.com/ACME), we use the canonical format (CN=nomad-1.acme.com/O=ACME). This loads the correct server list when opening the appolication from Nomad.

I confirmed a link in this format works with the Notes client. Note that the / in the canonical name needs to be encoded:

notes://CN=nomad-1.acme.com%2FO=ACME/MyDatabase.nsf/MyView?OpenView

I think this Nomad link should work as well (but I am having trouble getting any links to work at the moment):

https://nomad-1.acme.com/nomad/#/notes://CN=nomad-1.acme.com%2FO=ACME/MyDatabase.nsf/MyView?OpenView

This issue was created to experiment with this workaround. This will probably be an agent-side change.

@piotrzarzycki21 piotrzarzycki21 added the bug Something isn't working label Nov 8, 2024
@piotrzarzycki21 piotrzarzycki21 self-assigned this Nov 8, 2024
@piotrzarzycki21 piotrzarzycki21 changed the title Url not opening in some cases Database url not opening in some cases Nov 8, 2024
@JoelProminic JoelProminic self-assigned this Nov 8, 2024
@JoelProminic JoelProminic changed the title Database url not opening in some cases Workaround for Failing Nomad Links Nov 8, 2024
JoelProminic added a commit that referenced this issue Nov 9, 2024
…ested, and test cases were updated, but needs practical tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants