Strange SendGrid problem

I’m working through this bug with SendGrid support but wanted to know if anyone else experienced this problem…

A while back I signed up for a free SendGrid account through Rackspace Cloud Sites. I configured options on SendGrid and then configured a WordPress plugin (recommended by SendGrid) on my domain.

The only emails sent out were backup success/failures from another plugin. So I wasn’t really using SendGrid as it was intended (newsletters, customer interactions, etc) but I figured I would find a use for it later.

Important Story Point: The emails had my logo on them which I *think* I configured through SendGrid’s website.

Flash forward several months. I find out that you can add additional API users/keys on that same account. This way you can use one SendGrid account with different API keys on different domains so that they all have different “from” addresses. This functionality might have always existed in some form but I just found out about it.

Great! I actually have a use for SendGrid on this upcoming project and figured I could actually make some use of those free 40K emails/month.

I set up the new user and connect that user to a completely different WordPress install and domain. But when I send out the test message I see the logo from the original domain.

I scour the SendGrid site and the WordPress settings on both domains and can’t find anywhere to change it. I contact support and they say it must be in the WordPress configuration. I said that it was probably on their site at one point and that maybe they took away the newsletter “app” to encourage customers to upgrade thereby leaving my settings in database limbo.

So now I can’t use SendGrid on any other sites because I can’t figure out how to get that logo out of the emails.

Anyone else have this problem? Do you remember configuring a Newsletter Template of some sort when you signed up? I used their API Workshop (http://docs.sendgrid.com/apiworkshop/) to send an email and it has my logo in it. So it has to be something on their end, right?

=========== Answer 1 ===========

In case it happens to anyone else here’s their reply:

Thanks for the info – that actually helped me narrow down exactly where to look. It seems that when you first signed up, we gave you the option to setup the email template, and you did so, but that option actually should not have popped up for you.

Our devs have taken care of this problems, and I sent a test to confirm that the box with your logo is now gone, so you’re all set now!

Rackspace Email Marketing (spamming) – Direct to Your Clients

I discovered this week, that my customers (entered as clients in Cloud Sites control panel) – are being added to Rackspace’s general email marketing list.

I also discovered this in April

Both times I have been told it was a mistake and won’t happen again… but it did – and might again?

So beware, if you enter a client into cloud sites, they may get email marketing directly from Rackspace. Actually, they will get spam – since it is unsolicited bulk email.

My clients know that they are hosting with Rackspace – via me as a reseller – which I think made the messages that much more confusing to them. They get a message from a vaguely familiar sender (that they associate with me) – which contains (in their mind) – a bunch of confusing information about cloud this and cloud that.

One confused customer called and said – “What is this email? I thought I paid you so I didn’t have to worry about or understand this “cloud” nonsense”

This is not reseller friendly behavior.

=========== Answer 1 ===========

I have verified with a couple of customers and you are right, they are receiving Rackspace Newslletter.

One of them forwarded me an email received on August 22.

My customers also know we are Rackspace resellers but it is not good that they receive communications directly from Rackspace.

Proxy Error due to process time out

So I wanted to see if anyone else out there is running into proxy errors due to processing timeouts. Rackspace has a 30 second limit. I’ve had it happen a number of times on not so complicated things. Support gave me a canned response and blamed my method of doing it. Then suggested a work around that doesn’t work.

It’s a real shame. We have plenty of sites that have complicated reports that are called on a very limited basis – once a day or month. 30 seconds seems like such an arbitrary number too. Its not often that I say I think Rackspace has it wrong. But they do. I bet you they would satisfy 95% of our complaints about this by raising the time out to 45 seconds. In truth, the cloud servers can run slow, so these things take much longer in the cloud then they would else where. I have a table with 30k records and I am cross referencing for duplicates. Simple as that and it can’t be done. The pipe method they recommend doesn’t work either. I would even venture to say that RS’s timeout is not 30 seconds, in reality its less. I can do my call using phpmyadmin and it only takes a few seconds, then when I make the same call using php – it won’t work. REAL BUMMER. I can only say that I was easily able to find a lot of programmers that don’t like this on the web. Slowly, rackspace’s products are loosing their luster and their reputation. Cheap ass hosting that does a better job than Rackspace, I have to take you more seriously now.

=========== Answer 1 ===========

Yah, the 30 second load-balancer / proxy timeout is a real pain the the arse. But if you are coding your own script, it really isn’t that hard to work around – at least not with PHP anyway. The key is to make sure some data is sent back to the browser no more than 30 seconds apart.

I just recently wrote a script that accesses a remote web service repeatedly while building a large array of results and ultimately writing to a text file. It ran into the 30-sec timeout, or course. So in my loop where I repeatedly accessed the web service, I simply do this:

Code:
 echo " Submitted $entrynum...
";

 ob_flush();

 flush();

…and my proggy runs for about 15 minutes and finishes.

Not sure what you are doing that’s taking up time – but if it’s looping then you can do the flush as I did above. But if it’s waiting for the database to come back and the DB query is taking a long time, then you might have to find another solution.

Good luck!

Gary

=========== Answer 2 ===========

Gary I’ll give that a try and report back!

Direct newDOMAIN.com to Rackspace server?

Hello everyone!

Thank you for reading.

Simple:

I registered MYDOMAIN.com at my old webhost.

Then bought a Rackspace Cloud server.

I have the IP address of the Cloud server.

How can I redirect MYDOMAIN.com to the Cloud server?

Is the change to be done over at Rackspace Cloud management?

Or is it to be done over at the old webhost, where the domain “currently resides”?

A combination of both?

From what I have been able to research, I need to setup an ‘A’ record for MYDOMAIN.com?

Thank you!

New to this… and still trying to figure out basic stuff.

Have an awesome day!

=========== Answer 1 ===========

Well, I was reading a little bit more, and apparently, I posted this in the wrong forum sub-section.

It shouldn’t be in Cloud Sites, it should be in Cloud Servers I believe.

=========== Answer 2 ===========

When you enter a url into a web browser a series of requests happen that, ideally, result in your web browser receiving an IP address. Your web browser is not the only way, or the only application, interested in this information.

From a command line you can perform the same set of requests and receive the same, theoretically, information:

Code:
nslookup google.com

 Server:		10.6.23.4

 Address:	10.6.23.4#53

 Non-authoritative answer:

 Name:	google.com

 Address: 74.125.225.18

 Name:	google.com

 Address: 74.125.225.19

 Name:	google.com

 Address: 74.125.225.20

 Name:	google.com

 Address: 74.125.225.16

 Name:	google.com

 Address: 74.125.225.17
Code:
dig google.com

 ; <<>> DiG 9.7.3 <<>> google.com

 ;; global options: +cmd

 ;; Got answer:

 ;; ->>HEADER<

I say “theoretically” because this information is dependent on how you have your localhost configured to perform lookups and how those DNS servers are configured as well.

The bottom line is that, when your domain was hosted at another provider, the information returned by these lookups matched that provider. Now that you’ve changed to Rackspace (welcome!) that information needs to change too.

One option is to have your previous provider maintain your domain record for you but change the IP address listed to match your new Rackspace cloud server.

Another option is to have your previous provider remove the record entirely and leverage Rackspace DNS services to maintain the record going forward.

=========== Answer 3 ===========

Uh, I don’t know what that was all about, the easy answer is:

1. Login to your domain registrar (wherever you purchased the site).

2. Find or ask for help to get to your DNS management section.

3. Change the A record (primary DNS record for your domain, and not the CNAME record(s), MX (email) or anything else) to point to the IP address of your Cloud Server.

Done May have to wait up to a day or so for DNS changes to propagate throughout the internets…

Expire a video?

I’m looking for a feature, not sure if it’s readily available in Rackspace… Can we expire a video after certain period of time, meaning video still exists (not removed) in the container but needs to re-access it if it expired.

=========== Answer 1 ===========

Sounds like you’re looking for a video streaming service which has specific publication features. Cloud Files (and there’s a forum specifically for Cloud Files here as well) is just for storing files, you would have to build your own web site or web service to have that kind of feature built on top of and using Cloud Files. Try www.bitsontherun.com – they have a free tier that you might be able to make use of. (I am not affiliated with them.)

Gary

=========== Answer 2 ===========

In cyberduck, select the video

go to Get Info

Go to Distribution (CDN)

Drag bottom of requester

This reveals an Invalidate Button

Click it to “remove selected files from distribution cache)

You can upload a file of the same name if you like but there is a lag while the change propagates.

mysql concurrent connection limit

Does anyone know what the limit on concurrent connections to mysql is?

I was reviewing the stats in phpmyadmin and saw that my databases have a maximum number of at least 100 concurrent connections, and on some it goes up to 1,400. These are for development sites where often I am the only person connecting. An average of 400 concurrent connections seems very high for such a situation where there might be a handful of pageviews per day.

Are the stats on this accurate for the database or do they represent the cluster as a whole?

I would be grateful if anyone has nay insight into this.

=========== Answer 1 ===========

CloudSites has a limit of 500 concurrent connections.

Client Billing Solution

How can billing be retired? Way back in 2009 we bought into RS CS and have had a somewhat smooth three years with their service. During that period we have been able to launch around fifty sites under our “master” CS. Some where migrated from RS Managed Hosting and some have been new web sites (LAMP and IIS based, it was all good). I’ve been pleased (except for the end of life for support, which was originally an additional $3/month service option) with how billing is handled.

How can they end of life the billing service Aug. 31st, if we are pleased with the functionality?

Does anyone understand FreshBook migration option referenced in their email about Cloud Sites Client Billing Retirement?

Do any members of this forum have experience with the EC2 platform, and if so is it a viable alternative.

=========== Answer 1 ===========

We’ve had many battles with RS regarding Cloud Sites. Some we’ve won, but most we’ve lost. Some we are still fighting (eg Backup solution).

What I found is that if a feature change impacts less than a few percent of Cloud Site users (even though 1% might be 100 clients), then RS won’t hesitate to do what they want to with that feature, so as long as it doesn’t violate any legal promises.

And I can’t entirely blame them. Some features that they (or Mosso) thought was a good idea a few years back no longer are inline with their current strategy. What’s a firm to do? Piss off a few customers, or be restricted as to what they have to do to be competitive or what they are willing to continue supporting.

Cloud Sites is becoming less and less of a complete reseller solution and more of a PAAS for ASP and PHP hosting. I think you might be surprised at how many of us just don’t use the billing service. For me, it just didn’t have enough features.

I wish you best of luck in moving to a new billing platform. I’m afraid this is a fight you won’t win.

=========== Answer 2 ===========

if i did use the feature i assume i would feel much the same as you do but since ive never used the billing, we couldnt since we are outside the usa, we do all our billing through xero unconnected to rackspace. Having that billing crap in the hosting panel just wastes my life having to click through the tick box to not do billing. good riddance to it from my pov

=========== Answer 3 ===========

control panel is so much faster for adding sites now, omg so nice. if we could just get rid of the domain rego thing that im never going to use and set a default template for the number of mysql databases, and stop making me put stuff into the client account profile details it would almost make the time to add a site disappear.

=========== Answer 4 ===========

I use the billing solution.. I just spent 8 hours trying to find a service for recurring billing. They are all outrageously expensive and cumbersome. I have no idea what to do. This is going to be a HUGE hassle and will probably end in me leaving rackspace. I really liked the service they’ve given me over the years but there are cheaper shared cloud hosts that will offset the cost of me having to pay for a merchant service with recurring payments. To sum it up, this sucks.

=========== Answer 5 ===========

It’s beyond me how RS elected to remove functionality with a working product that required little to no maintenance cost for their team. Must be too busy and want to cull off some of the sites…

=========== Answer 6 ===========

I use the billing solution.. I just spent 8 hours trying to find a service for recurring billing. They are all outrageously expensive and cumbersome. I have no idea what to do. This is going to be a HUGE hassle and will probably end in me leaving rackspace. I really liked the service they’ve given me over the years but there are cheaper shared cloud hosts that will offset the cost of me having to pay for a merchant service with recurring payments. To sum it up, this sucks.

Are you willing to hold out for the CloudSite API? If it becomes reality, you might be able to commission someone to make your own simple billing system.

Recent updates to Cloud Sites

I find it interesting that on April 5th RS announced a slurry of updates to Cloudsites and yet no one on these forums mentioned it.

The news seemed to have flew under the radar and made no headlines. In fact I didn’t even see the blog post until today after receiving a notice that one of the wishlist items were completed (no suitable nodes) http://feedback.rackspacecloud.com/forums/71021-product-feedback/suggestions/997177-eliminate-the-dreaded-no-suitable-nodes-error

First I’d like to say THANK YOU THANK YOU THANK YOU to RS for finally working on these items after so many years:

  • Improving no suitable nodes (I’m taking their word on this one)
  • Speeding up the Control Panel (definitely improved – it is bearable now but I still get a lot “Oops!” messages)
  • Adding DNS functionality. API is awesome, but not as useful to me. However, ability to add SRV/TXT records has been recently added to the CP (whoohoo!)
  • Added PHP 5.3 (FINALLY!)… and with that they updated PDFLIB and Imagemagick, ioncube, and more I think
  • I think they updated MySql versions too
  • Updated PhpMyAdmin (which I never use but many people do)I think we’ll all agree that these are long overdue. Some might argue that these updates are so overdue that this only brings RSC on par (if even that) with its competition. Perhaps no one made much hoopla because many of you left RS already?Whatever the case, I am still here and I am glad to see progress. I also am getting much better with the AWS console

    Gary

    PS I am still holding my breath for these:

  • Improve MySQL service so other malicious account holders don’t bring down the Mysql daemon and my site.
  • Option to PAY MONEY to backup Cloud Sites
  • Option to PAY MONEY to increase email storage

 

=========== Answer 1 ===========

I noticed the changes, but didn’t see anything announced either. They probably rolled it all in with their OpenStack stuff this past week.

While the changes are nice, the service is still lacking. I still get the feeling we’re lowest on the totem pole. We’re only still here because we have 300+ sites already setup and I don’t want to move them again. But there are times where I just wish they had an API for Cloudsites so I can have our guys code up a page for me to use to setup sites. It’s a pain having to manually click through everything when I have 8 sites to setup at once. Cloudservers and CloudFiles are more important revenue streams though. :/

=========== Answer 2 ===========

the dns updates especially are welcomed

=========== Answer 3 ===========

Good to see .Net 4

=========== Answer 4 ===========

Hi All,

Thanks for the positive words. There is a lot of positive work happening and we have a dedicated team on Cloud Sites thats really cranking.

I expect that we’re in a position now where we’re going to be able to release enhancements every month.

We have a broader communication we are working on right now that details some of the things we’re working on (including things like a better MySQL option for customers who need it).

-Josh

=========== Answer 5 ===========

I appreciate the upgardes and improvements but there are many things to improve yet.

Your billing system is lacking some controls. How it is possible that, by mistake, this month we have been charged for 2,452.2805 GB of Disk space overage when we have used 287GB. We have been using approximately 260Gb overage storage for months and from one month to another you charge my account for 2,452.2805 GB and your system did not fire any alert. How on earth we can upload 2.165GB in one month. It seems you are processing our resource usage manually and someone made a big mistake when sending data to billing department.

I have opened a ticket and support department confirmed there was an error and that the correct disk space overage is 287GB instead of 2,452.2805 GB.

Once this is confirmed i have talked to billing department and i was told they they are not allowed to refund my credit card. So they need to send the case to an account manager and now we have to wait 24 hs until account manager decide if our credit card can be refunded.

Unacceptable, this kind of things should be taken care immediately. I want my money back and i do not want to pay for months of services in advance.

Very upset.

URL for API

Question:

Hi,

I am a new python. Can you help me with this please?

I setup http://github.com/rackspace/python-cloudservers tool and it’s ok for me. But this source is difficult.

I want to use simple url to send request to server API and get response.

Example: https://auth.api.rackspacecloud.com/v1.0/flavors

But I dont know how to set API KEY and user for this link

Can you help me please?

Thanks

Answers:

You can find your API key in the control panel under “Your Account” -> “API Access”.

Your first request to cloud files needs to be to authenticate with the Rackspace Cloud auth system. You will then be given a token that you will use for each subsequent request until the token expires. The language bindings (Python in your case) abstract this process and offer a simpler way to access Cloud Files.

You can find this entire process, and more, described in our developer docs. http://docs.rackspacecloud.com/files/api/cf-devguide-latest.pdf

Medium Trust and Cloud Files .NET API

Questions:

I’m using Cloud Files for about a month now and I’m working on application which store files in Cloud Files.

I used .NET API for Cloud files to get Stream for File in Cloud and return content of file via ASP.NET HTTP Handler.

It works fine on my Development Server but as soon as I transfer it into Cloud Sites I get this while connecting to Cloud Files:

Request for the permission of type ‘System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’ failed.

The command which I get this error is:

Connection CloudConnection = new Connection(new UserCredentials(ServerUsername, ServerPassword));

Is there anything which I need to done to be able to run application on Cloud Sites?

On my development Server I set Trust Level to Medium and I got same error!!! So I think it’s about Medium Trust, but I don’t have any idea if it’s possible to make it work on RackSpace Cloud Sites?

I really appreciate any help.

Answers:

Make sure you have the latest version of the Cloudfiles API. I was getting this with the older API. Authentication is different in the new API and it works in Medium Trust.

======================

I’m having this exact same problem, using a recent version of the API.

Does the Cloud Files .NET API definitely work in medium trust?

======================

Definitely works. i use it every day.