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

Connect fails with 404 #39

Open
digitalfireinc opened this issue Jun 19, 2024 · 9 comments
Open

Connect fails with 404 #39

digitalfireinc opened this issue Jun 19, 2024 · 9 comments

Comments

@digitalfireinc
Copy link

It would seem that the auth URLS may have changed - I'm now getting 404 errors when trying to auth:

VERBOSE: Making token request to https://ca.ninjarmm.com:443/oauth/token
VERBOSE: Requested HTTP/1.1 POST with 218-byte payload
VERBOSE: Received HTTP/1.1 146-byte response of content type text/html
Invoke-WebRequest: 404 Not Found 404 Not Found nginx

Looks like the path should be /ws/oauth/token now.

@homotechsual
Copy link
Owner

Still working fine here using the standard path (which is the path in the docs as well!) Tested against eu. I can reach out to the API team to check if CA has changed for some reason.

@digitalfireinc
Copy link
Author

The CA instance did update last night. Also, the docs I'm seeing (both old and new version) are showing the /ws/ in the path, more so in the testing spots. Looks like they didn't update the images though.

@homotechsual
Copy link
Owner

Ninja support have confirmed the issue. There is a temporary workaround and I think it might warrant a module release to fix - I'll see about doing that tomorrow if I can!

@homotechsual
Copy link
Owner

Ninja are saying it should be fixed now :-)

@digitalfireinc
Copy link
Author

It is indeed - thanks Mikey for facilitating that!

@homotechsual
Copy link
Owner

I take no credit. All on Ninja!

@OstrichTyphoon
Copy link

Think this may have happened again! If I update the path to "/ws/oauth/token" all works fine, but otherwise I get "An error occurred. Sorry, the page you are looking for is currently unavailable. Please try again later. If you are the system administrator of this resource then you should check the error log for details. Faithfully yours, nginx."

@homotechsual
Copy link
Owner

It has - a fix has been merged already and I'm hoping to get a release out soon but adding the new 5.9 endpoints is taking time!

@digitalfireinc
Copy link
Author

It would seem the 'fix' that Ninja did to the CA tenant previously is still holding after this update, as I'm still able to connect. Perhaps they did this to other tenants this time around?

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

No branches or pull requests

3 participants