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

Invalid username & password combination #7

Open
skyguide opened this issue Aug 22, 2014 · 4 comments
Open

Invalid username & password combination #7

skyguide opened this issue Aug 22, 2014 · 4 comments

Comments

@skyguide
Copy link

Hi

We use your plugin and at the end of July it suddenly stopped authorising with TextMagic and we keep getting the following exception:

/Library/Ruby/Gems/2.0.0/gems/textmagic-0.5.0/lib/textmagic/executor.rb:36:in `execute`: Invalid username & password combination (TextMagic::API::Error)
    from /Library/Ruby/Gems/2.0.0/gems/textmagic-0.5.0/lib/textmagic/api.rb:103:in `send'
    from ./text-magic.rb:6:in `<main>'

Our username and password in our script are definitely correct so we thought it was a problem with TextMagic but on contacting them they said everything is fine. We then tried using Java to connect with the same username and password which worked and sent a message to our phone.

After a little debugging it seems in executor.rb the post:

response = self.post("/api", :body => options, :format => :json)

doesn't seem to be working for us, but when we replace it with

response = self.get("<with full url and url parameters")

it then works and we receive a text.

Any help would be most appreciated.

Thanks

@skyguide
Copy link
Author

We now know what the problem is, which you have already fixed with the https call to textmagic. However we notice the latest version 0.6.0 is not available via gem install. When will this be available?

Thanks

@stragaw
Copy link

stragaw commented Sep 16, 2014

textmagic-0.5.0 where you can download?

@bobes
Copy link
Owner

bobes commented Sep 16, 2014

@stragaw see https://rubygems.org/gems/textmagic for details

@stragaw
Copy link

stragaw commented Sep 16, 2014

Thanks!

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