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

RTM API Server inaccessible #29

Open
progers-de opened this issue Aug 8, 2024 · 8 comments
Open

RTM API Server inaccessible #29

progers-de opened this issue Aug 8, 2024 · 8 comments

Comments

@progers-de
Copy link

Every command I try with rtm (except I think logout?) produces a "cannot access API server" error, which makes this tool unusable:

>rtm
Logged In As: hujhax
> ls
× Could not get tasks (Network Error: Could not make request to RTM API Server)
> logout
√ Logged Out
> login
 Authorization Required:
× Could not get Login URL (Network Error: Could not make request to RTM API Server)
> exit

I've noticed this on all my Windows machines; they're all running Windows 11 Pro.

@beauraines
Copy link
Contributor

beauraines commented Aug 8, 2024 via email

@beauraines
Copy link
Contributor

@progers-de I've edited my comment because I sent it too soon!

@progers-de
Copy link
Author

progers-de commented Aug 8, 2024

Thanks for your reply!

  1. Are you running this from the repo or from the npm package?

I was downloading an executable directly. I just tried pulling the latest windows exe and got the same results.

However, I did just install the tool from npm and everything works as expected. (!!) So, thanks for that question :)

  1. if you run rtm whoami does it return your auth token?

With the exe, when I tested whether logout would work, I could no longer log back in via login (not my smartest move), so I couldn't test whoami. (As you'd expect, the npm version works fine.)

@hlslaughter
Copy link

I used this app many times a day. Very sad to see it doesn't work anymore.

I tried the fork at https://github.com/beauraines/rtm-cli. It installs but does not work. There is a syntax error :( I suck at javascript and really hate node :) so I can't debug.

@beauraines
Copy link
Contributor

beauraines commented Aug 31, 2024

@hlslaughter I've been publishing my fork to NPM you can install it from https://www.npmjs.com/package/@beauraines/rtm-cli I use my version on a daily basis

If that doesn't help, what error are you getting?

Worse comes to worse, open an issue there and I'll check it out https://github.com/beauraines/rtm-cli/issues

@hlslaughter
Copy link

Thank you. I would love to see this project continue. I'm a backend developer who spends most of his time on the Linux CLI. This tool saves me a lot of back and forth.

I hate working with anything js, but I'm happy to help debug. I'll post what I did and the results. It's reporting a syntax error and exiting, but I can't understand error output from node (even though I deal regularly with error messages from the rest of the lamp stack :)

@hlslaughter
Copy link

@beauraines I was submitting a ticket to your project and realized that node upgrades major versions several times a day. I tried updating everything as best I could given the horrific lack of accurate documentation for the node things. I finally got at least node/npm/npx/n etc... updated. I had to add NODE_NO_WARNINGS=1 to my ENV to shut up deprecation warnings, and it now works fine.

Thanks!

@beauraines
Copy link
Contributor

Cool. I'm glad it's working!

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