Questions tagged [iron.io]

iron.io is a cloud-based message queueing and task processing service

iron.io is a cloud-based message queueing (IronMQ) and task processing (IronWorker) service with client libraries for many popular programming languages such as ruby, php, go, java, node and .net.

Their documentation is available at http://www.iron.io/developers.

83 questions
9
votes
2 answers

How to bundle Python dependancies in IronWorker?

I'm writing a simple IronWorker in Python to do some work with the AWS API. To do so I want to use the boto library which is distributed via PyPi repository. The boto library is not installed by default in the IronWorker runtime environment. How…
David Laing
  • 7,605
  • 10
  • 33
  • 44
7
votes
1 answer

Data array not send in email view

I'm sending emails with Laravel 4 : $data = Input::all(); Mail::queue(array('text' => 'e-Text', 'html' => 'e-Html'), $data , function($message) use ($data) { $message->to($temp['data'], $data['nom']) …
Fractaliste
  • 5,777
  • 11
  • 42
  • 86
5
votes
2 answers

How do I connect to a database in IronWorker using ActiveRecord?

I have a Rails application that is using IronWorker and I need to connect to my database from the worker. How do I do that?
Travis Reeder
  • 38,611
  • 12
  • 87
  • 87
3
votes
0 answers

Laravel queues & push

I am using the library: https://github.com/davibennun/laravel-push-notification I am trying to convert this (100% working) example: Queue::push(function() { $push = PushNotification::app('SomeApp') ->to('some_recipient') …
FooBar
  • 5,752
  • 10
  • 44
  • 93
3
votes
2 answers

parse.com or iron.io returns ssl error

I use iron.io to call the following parse.com function to get Facebook details of my user's friends. var getDetailsForID = function (fbID) { var thePromise = new Parse.Promise(); // TODO: maybe we can batch several users together into a single…
NatashFine
  • 31
  • 2
3
votes
2 answers

When will IronWorkers support Ruby 2.0?

The default language version for ruby on IronWorkers is 1.9.3. When will it be bumped to 2.0? http://dev.iron.io/worker/reference/environment/#default_languages_versions Is there an easy way to upgrade to ruby 2.0 without too much delay when…
dimroc
  • 1,172
  • 1
  • 16
  • 26
3
votes
1 answer

Debugging mail delivery in IronWorker

I'm trying to use the mail gem to send an email from an IronWorker task. Running the script works on my local system (OS X), but fails when run on IronWorker with the same parameters. I'm new to IronWorker and the mail gem, so I'm at a loss of where…
Eric Andres
  • 3,417
  • 2
  • 24
  • 40
3
votes
2 answers

IronMQ empty message body from push queue when read from Node.JS / Express.JS

I'm playing with node + express + IronMQ and I'm encountering a little problem. In my express.js POST callback I'm getting {} as request body but I'm sure that the message content is being pushed from my IronMQ message queue. Any hint ?
thomas.g
  • 3,894
  • 3
  • 29
  • 36
3
votes
1 answer

How to require ''pg" gem on iron.io with iron_worker

.worker file runtime "ruby" name "UserMailer" merge_gem "activerecord", "=3.2.8" merge_gem 'actionmailer', '=3.2.8' merge_gem 'devise', '=2.1.2' merge_gem 'pg', "=0.14.0" merge_file "../app/views/user_mailer/new_user.html.erb" ,…
Mukesh
  • 1,257
  • 11
  • 27
2
votes
1 answer

How to use Gemfile in iron.io worker

I'd like to use gems specified from Gemfile that I uploaded. However, I keep getting /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- capybara (LoadError) from…
RubyCat
  • 155
  • 11
2
votes
2 answers

python TypeError: must be encoded string without NULL bytes, not str - docker iron requirements.txt

I have been trying to deploy a python script to Iron.io. They recommend using docker to test locally before uploading. I have completed their provided docker/iron tutorial without error. So I started to modify the provided requirements.txt from…
Devin
  • 205
  • 2
  • 13
2
votes
1 answer

Laravel mail queue - will attachments go through iron servers?

I'm using Iron.io push queues. Please explain what happens with attachments if I use code like this: Mail::queue( 'email', array('body' => 'msg body here'), function($message) { $message ->to('email@gmail.com') …
2
votes
1 answer

Laravel 5.1 and Iron.io

I just updated a project to 5.1 yesterday and noticed that Queue::marshal() has been deprecated: Iron.io "push queues" have been deprecated in favor of typical Iron.io queues and queue listeners. Okay, great - so how exactly do I use "typical…
NightMICU
  • 9,000
  • 30
  • 89
  • 121
2
votes
1 answer

Laravel 4 and Iron.io multiple queue / PHP

I started to take a look Iron.io as service for my queue process. With the easy set up in laravel I make it work in a couple of minutes but there is something that is not clear to me. I subscribed a new queue called resizer using the artisan command…
Fabrizio Fenoglio
  • 5,767
  • 14
  • 38
  • 75
2
votes
1 answer

Failed to decode JSON in HTTP request

I am using Parse Cloud Code to make a 'DELETE' HTTP Request to Delete Multiple Messages from Iron.io. It is using exactly the same headers and url as 'GET' request to Get Message from the Queue: headers: { 'Content-Type':…
Dmitri Zaitsev
  • 13,548
  • 11
  • 76
  • 110
1
2 3 4 5 6