Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9100869
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T00:58:32+00:00 2026-06-17T00:58:32+00:00

I have a Rails app on Heroku with code to send a UDP packet

  • 0

I have a Rails app on Heroku with code to send a UDP packet (on certain user actions) to HostedGraphite (I’m just trying out the free version).

I have pointed the “socket.send” call at my own UDP server hosted elsewhere, so I know that the UDP packets are being sent from Heroku.

I know that the API key from HostedGraphite is correct (checked this countless times).

I have also modified the format of the data being sent – including and excluding the “\n” at the end of the line (the docs specify to include the “\n”).

I’ve also tried to send the packets from my development environment.

And then finally I’ve tried this:

echo "YOUR-API-KEY.test 1" | nc carbon.hostedgraphite.com 2003

My ruby code to send the packet is:

sock.send(data, 0, 'carbon.hostedgraphite.com', 2003)

Clearly from the docs Ruby’s UDPSocket can handle a hostname instead of an IP address, so that surely is not an issue.

Ok it’s possible that none of the UDP packets actually arrive…seems highly unlikely though.

Other than that I’m at a dead end and I don’t know what else to try. Has anyone else used this service successfully (especially with a Rails app hosted on Heroku)? I’m starting to suspect that maybe I need to pay them money…

Next I’m going to rewrite it to POST to HostedGraphite (but I’m still putting up this question because it’s UDP specific).

I also tried POSTing with a curl request (can’t add any more links so you’ll have to find the doc for that yourselves), and again, nothing appears on the HostedGraphite side of things (where you can do a search for your metrics).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T00:58:34+00:00Added an answer on June 17, 2026 at 12:58 am

    We (Hosted Graphite) just fixed an issue affecting authentication for new users created in the last couple of days, and I think you were caught by this.

    Sorry you had a poor first experience. We’re adding alerting for that condition so it won’t happen again.

    I’m not sure how OK it is to provide commercial support in a forum like this, but we’re pretty responsive to support requests over email and twitter, so give that a shot next time. 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have deployed a rails 3.1 app to Heroku Cedar stack, and am trying
I have a Rails app deployed on Heroku with the Heroku scheduler add-on successfully
I have a Rails app hosted in Heroku. If I go the the site
I have a Rails app running Mongoid on Heroku and I need to set
I have a Rails 3.2 app that I'm deploying on the Heroku Cedar stack.
I have a single-threaded Rails app running on thin in single-threaded mode on Heroku
I have a rails app that runs on Heroku using their standard postgres database
I'm trying to deploy my first rails app on Heroku. I was using devise
I have a rails app running on Heroku. I am using paperclip for some
We're running a Rails app on Heroku and have it connected to a database

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.