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

IronCore\HttpException Object ( [message:protected] => http error: 401 | {"msg":"Invalid project/token combination"} #61

Open
igelsomino opened this issue Jul 15, 2015 · 3 comments

Comments

@igelsomino
Copy link

Recently we've update library to version 4.0.0

We've modify the code with:

// The call looks like

        $ironmq = new \IronMQ\IronMQ(array(
            "token" => "xxx",
            "project_id" => "xxx",
        ) );

but the system response:

IronCore\HttpException Object ( [message:protected] => http error: 401 | {"msg":"Invalid project/token combination"}

What is happening?

Thanks

@thousandsofthem
Copy link
Contributor

See https://github.com/iron-io/iron_mq_php#branches
You do need version 2.x. Library version 4.0.0 intended to be used in conjunction with IronMQv3 which consumes own token/project_id combinations

@igelsomino
Copy link
Author

Thanks

@lauriek
Copy link

lauriek commented Oct 12, 2016

Has Iron done something which has permanently broken the Laravel 4.2 queue stuff, because I cannot get this to work any more on either IronMQ V2 or V3 queues.

I only ever get the error message in the original post, when I either try to add a queue subscriber or push anything to the queue. I've tried V1.* and V3.* of the library and no difference. I've checked my Laravel queue config values are correct, they appear to tie up with my Iron queues.

I notice on the Iron site I can no longer go to settings for a V2 queue. but as I say I've tried this with a V3 queue and the appropriate library version and still no good.

What am I missing?

Edited to add: This was working fine until 2-3 weeks ago.

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