iron-io / issues

For Iron.io services issue tracking. Public facing issue tracking for behind the scenes issues.
5 stars 0 forks source link

After latest update it shows 404 error #105

Closed kanggit closed 9 years ago

kanggit commented 9 years ago

Yesterday when i did composer update, ironmq was updated to dev-master, so it was throwing "Class IronMQ not found" issue. After going through issue discussions here I downgraded to 3.0.1. Previous error disappeared but getting 404 Not found error.

When i debugged it was an issue with _apiversion in latest version of code.

Below url throws 404. _https://mq-aws-us-east-1.iron.io:443/3/projects/xxxxxxxxx/queues/my_queue/messages_

After changed _apiversion in IronMQ class as below it worked.

protected $default_values = array( 'protocol' => 'https', 'host' => 'mq-aws-us-east-1.iron.io', 'port' => '443', 'api_version' => '1', //changed here );

But i am not sure where to change this api version in my dashboard https://hud.iron.io/mq/aws.

It would be helpful to handle this in future(or, did I miss something for update?)

thousandsofthem commented 9 years ago

Please try library version "1.*"

thousandsofthem commented 9 years ago

Short summary. I'll update README Branches:

kanggit commented 9 years ago

Got it. I will fallback to 1.*