Has anyone successfully put varnish in front of web service?

I've got server app 3.2.1 on a mac mini server.  love the machine, but want to put varnish in front of the web service.  so far it's been a hassle.  I can't even get the 0000_any_80_site.example.com.conf file to listen on 127.0.0.1:80...
I start varnish on port 8081, confirm it is running, tell it to look at the backend and apache won't talk to it.  I've added the "Listen 127.0.0.1:80" directive to the http_server_app.conf file in the /Library/Server/Web/apache2/Config folder. 
I tried to edit the any_80 conf file for the virtual host I want to test, and I've tried it all.  I've tried to change the <VirtualHost *:80> to <VirtualHost 127.0.0.1:80>, I've added the Listen 127.0.0.1:80 line to the conf file, and no matter what, varnish reports that the backend is sick and it can't get the file.
To clarify, I browse to the virtual host's domain and add 8081, so the browser is site.example.com:8081 and when going I get varnish responses, but varnish says it can't backend to respond.  Varnish is set up to probe 127.0.0.1 on port 8081.
has anyone done this successfully?

I'm using varnish 4.0.0 installed via homebrew.  Here's the backend definition from the vcl:
backend server1 {
  .host = "127.0.0.1";
  .port = "80";
  .max_connections = 300;
  .probe = {
  #.url = "/";
  .request =
  "HEAD / HTTP/1.1"
  "Host: localhost"
  "Connection: close";     
  .interval = 5s; # check the health of each backend every 5 seconds
  .timeout = 1s; # timing out after 1 second.
  # If 3 out of the last 5 polls succeeded the backend is considered healthy, otherwise it will be marked as sick
  .window = 5;
  .threshold = 3;
  .first_byte_timeout     = 300s;   # How long to wait before we receive a first byte from our backend?
  .connect_timeout        = 5s;     # How long to wait for a backend connection?
  .between_bytes_timeout  = 2s;     # How long to wait between bytes received from our backend?

Similar Messages

  • Has anyone successfully put an SSD in an iPod Photo?

    Most of the posts on the web are dated, and I haven't really run across any recent useful and accurate info.

    The iPod second gen. cannot run iOS 5, which you need to use iCloud.  So the answer is no, you won't be able to use iCloud.

  • Has anyone successfully used a "WD My Book for Mac" via NAS (plugged into USB port on router) as a Time Machine back-up drive?

    Has anyone successfully used a "WD My Book for Mac" via NAS (plugged into USB port on router) as a Time Machine back-up drive? Apple support tech tried to tell me it wasn't possible and that the only NAS Time Machine could back up to is the Time Capsule, but I'm not buying it. I know it's doable, but I'm having a hard time figuring out which External HDDs will work and which ones won't.  If not My Book for Mac, is there an External HDD that will work? (Running OS X 10.9.1 - Mavericks, btw...)

    Given the nature of backups, my recommendation has always been to use a strategy that is unequivocally supported by Apple. As you already determined Apple Support unequivocally informed you that your proposal will not work, unless your router is an Apple AirPort Extreme or Time Capsule.
    The exhaustive list of devices supported by Time Machine amounts to the following:
    AirPort Time Capsule's built-in hard disk (any model)
    External USB hard disk drive connected to a Time Capsule (any model)
    External USB hard disk drive connected to an AirPort Extreme (current model only)
    A hard disk drive directly connected to your Mac
    That is all.
    Use whatever backup device you want, but you should be aware that this site is full of reports of misery from hapless individuals who had been using NAS devices for Time Machine backups, only to find that they were incomplete, corrupted, or useless when they were required. Apple won't care if you lose your data while using a Time Machine configuration specifically excluded from their technical support documents.

  • Has anyone successfully connected an AEBS to the new Panasonic TVs with built-in WiFi?  If so, please describe the requirements and process.  Thanks.

    Has anyone successfully connected an AEBS to the new Panasonic TVs with built-in WiFi?  If so, please describe the requirements and process.  (TV subscription is through DirecTV and ISP is TWC.)  Thanks.

    If you wish to use the cellular capabilities of a device, you will need a SIM (unless the carrier uses CDMA which doesn't use SIMs) and you will have to pay a cell carrier. No cell company provides service for free. The only way you will get free Internet is via WiFi to a free and open WiFi access point, as sometimes is offered in public buildings or by some businesses.
    Regards.

  • Has anyone successfully transferred contacts from a Blackberry to an iPhone?

    Has anyone successfully transferred contact info from a Blackberry to an iPhone?

    Hi Friend,
    If it's possible to export contacts from Blackberry to the SIM card, then you can place that SIM card into iPhone and import them to iPhone (settings>>mail,contacts,calendars>>import contacts from the SIM Card.
    Hope it helps

  • Has anyone successfully got a refund on graphics card fault

    My Mac Mini (mid 2011) purchases in February 2012 has died. The graphics chip has gone and the display is some funky colours at boot before it crashes and reboots. I'm unable to login at all, even via safe mode.
    It's almost 3 years old to the day and i'm covered by UK law for 6 years. But has anyone successfully got a refund or replacement?
    I'm concerned they might want to take it in to test and try to repair it, but presumably that would mean an entirely new motherboard and i can't be without a Mac (my main computer) for so long. Do they even make / have in stock Mid 2011 Mac Minis anyway? I'd guess not.
    Should i go ahead and buy a new one with the reassurance i'd get some money back?
    I've made no alterations to the mac other than to upgrade the ram from 4GB to 8GB.
    thanks

    Apple never mad a promise to replace the Mac. Only to fix your OR replace at Apple's option.
    Contact Apple and discuss it with them
    you can also
    - Make an appointment at the Genius Bar of an Apple store.
      Apple Retail Store - Genius Bar

  • Has anyone successfully been approved for a Paid Books account?

    I submit my completed application for a Paid Books account over 7 business days ago, and I've yet to hear so much as a confirmation of its reciept yet. Judging by the existing conversations in this forum, this is not unusal, it seems.
    Thus, my questions is this: has anyone successfully been approved for a Paid Books account? One success story would be enough to inspire some hope while the nail-biting waiting for a response continues.

    It took a while to get approved and when I submitted the iBook, it took a while to have the book approved. But today it was approved. They approved the sample and the paid ibook at the same time (eReading: The Best Thing). I submitted them on the same day. It was indeed a nailbiting affair

  • Has anyone successfully managed to get VZW to raplace Fascinate with a different phone?

    Has anyone successfully managed to get VZW to raplace Fascinate with a different phone?
    If so, could you share with me on how you convinced VZW to do it?(which department?)
    I love my Fascinate, but not when it can't get calls.  I would prefer to have a Fascinate with
    zero problems, but that appears unlikely.   So I guess my best option is to get a different
    phone(Samsung, Motorola, or others)
    Thanks!

    I successfully got a swap out of my Fascinate with a Droid Incredible 2. 
    I private messaged VZW agents on these forums the following message and through the course of 3-5 days I successfully was granted an expception and allowed to swap out my device (with no contract extension or upgrade eligiblity extenstion). This was after several phone calls and numberous wasted hours trying to convince them the Fascinate was not a good phone. 
    If I have been rude in any way during this message, I sincerely apologize, I did not mean it. I am a frsutrated owner of a bad piece of electronics. I am aware it is not VZW's fault, but I think you need to stand beind the phones you sell and rectify situations that are bad. 
    I am a Samsung Fascinate owner and to say the least this phone has been the biggest source of frustration I have ever had to endur in the 20+ years I have owned a cellular phone. 
    The have been number rous issues with my original phone and the replacement (certified replacement) phone I have gotten. These issues include, but are not limited to:
    1. glitchy UI
    2. constant forecloses and freezes
    3 auto reboots 
    4. inoperable phone for 20 - 30 minutes at a time. Can't access apps, can't make calls, can't send texts, phone is useless to me.
    5. not receiving calls/texts
    6. missing voicemails
    7. increased battery drain
    8. random flickering of screen lights while using the phone.
    Now I have performed the following steps at the suggestion of VZW tech support on both my orginal phone an replacement phone
    1. Hard resets, factory resets 
    2. Soft resets,
    3. Clear cache on the phone
    4. Removing apps 
    5. Updating roaming capabilities 
    After all these issues and all the suggestion on fixes, the phone still performs poorly and is not a reliable phone at all. Like I stated previously i am beyond frustrated. 
    I am aware these problems are software issues not a hardware issue; a refurbed Fascinate will not correct them. Hard resets do not fix the problems. I have scoured the message boards on this website (VZW forums) and I am aware the VERIZON is aware of all these issues with multiple Fascinate users.
    I am asking to be allowed to swap my Fascinate for another, DIFFERENT model of phone. I am fine if that is a refurb, as long as it is a DIFFERENT model of phone and not a Fascinate. I know this is possible because users on your very own forum are stating it has been done. I am asking it be done in my case
    Best thing I can say is stick to it....sitck to you guns and don't back down and don't be allowed to think there is afix when there is not. 

  • Has anyone successfully set up scan to smb to mac os 10.7.x from a Konica Minolta bizhub

    Has anyone successfully set up scan to smb to mac os 10.7.x from a Konica Minolta bizhub. I'm using 10.7.3 on MacBook Pro. Don't care what model bizhub is being used as I have access to many. I've seen the posts for FTP workarounds but want to use SMB if that is an option. Any suggestions? Thank you!

    petermtnbk wrote:
    I've read other discussions that have suggested changing the format of the username and password when having login problems. I'm not familiar with NT-Status Codes. Could changing the format of the username make any difference? Something like... "workgroup/username" or "username@domain" or "domain/username" or some other combination of workgroup, domain, username, computername.
    The issue has nothing to do with the format of the user authentication. What you are reading is about the Lion Mac connecting to a Windows computer that is part of domain or workgroup. The method changed slightly compared to Snow Leopard.
    KM does support FTP so that is still an option, but I would ideally would like to set up SMB scanning. I'm not sure if KM is going to support AFP anytime soon.
    With the lack of SMB support and KM offering no alternative at this stage then I suggest you look at using FTP. While Lion removed the option to enable FTP via the Sharing pane in System Preferences, it can still be enabled via Terminal using the following command
    sudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist
    You will be prompted to authenticate using your Mac's admin account & password. Once this is done, you can then configure the address on the copier to push scan using FTP. The keys are;
    The host name requires just the IP address. No leading slashes like SMB
    The path will be the folder that you want to scan to, also entered without a leading slash. For example, Desktop
    The user name will be the short name of the account who's folder you want to scan to.
    The only other option may be WebDAV if the KM supports it. We have this with our imageRUNNER ADVANCE and with a document scanned to a shared folder in the copier hard drive, we can then connect to that folder by using Finder's > Go > Connect to Server facility. You then just enter
    http://ipaddress/share
    which connects you to the shared folder and lets you see the document you scanned. You also have the facility to set subfolders for security of users documents.

  • Has anyone successfully reset their Skype account ...

    I've posted on this before, but none of you good people have shared your thoughts on this. Unfortunately, Skype Customer Service don't appear to have a "standard response" e-mail template to address my problem.
    Nine days after I first reported that my Skype account has been hacked I am still going round in circles, with "standard response" e-mails from the Skype Customer Support people asking me to do something which I have already tried but which was not the correct thing to do to reset my Skype Account password.
    My Skype Account password has been changed by a hacker.
    My Microsoft Account, which is linked to Skype, has not been hacked and the password has been changed (three times in a week ..... see below).
    I need to change only my Skype account password but the password reset links take me through to Microsoft and I end up changing my Microsoft account password.  This does not resolve the Skype Account Password situation.
    Has anyone successfully reset their unknown or forgotten password from a Skype account which has been linked to their Microsoft account?
    Does anyone know whether Skype themselves can unlink a Skype Account from a Microsoft Account? Unfortunately I can only do it with the password I do not have!!!  I feel that this could be one way of changing my password without being redirected to the Microsft Account Password Reset option.

    Well, it's me again.  However, I now have a new name on the Community Forum as I have had to re-register as I no longer seem to exist.
    I contacted Skype Customer Support via their web chat service and the operator unlinked my Skype Account (which, if you've read any other posts from my original name alison01326) you will recall was hacked and I was unable to make a change to the password as I kept getting through to the Microsoft account password change which was not the password that needed changing.
    I would have said, that if you need to unlink the two accounts, just ask.  But now I am not so sure.  My Skype Account (the one which was hacked, and still has someone else's password on it) has vanished, taking with it £10 of Skype Credit and the World Minutes which I receive monthly as part of Office 365.
    I now have five or six different customer service references to quote, and not only can I not get my account verified (as my memory doesn't stretch back to when I first had a Skype account) I also appear to have lost £10 and a valuable "free" service.
    Have been in tears over this as 11 days have passed since the hacking and nothing positive has been achieved.  Does anyone else have the same experiences, and what was the outcome?

  • Has anyone successfully used the ZTE Open C with an AT&T microcell?

    I have a ZTE Open C and have had no issues with initial setup w/AT&T. However, like most newer phones the voice signal reception is very weak.
    I've had an AT&T Microcell before, but I don't have one now. For those that are unaware, the microcell allows 3G phones to connect via a 3G signal, but the call is routed through a home broadband internet connection.
    Has anyone successfully used a ZTE Open C w/Firefox OS AND used an AT&T microcell? If yes, did you need to do anything special on the phone or with Firefox OS.

    I don't use a ZTE Open C, however, I do have a ZTE Open (Original) on AT&T and so I'll see if I can help ;D
    I know someone who has a Microcell, and I have used it myself a few times. However, the microcell only works if you have entered in your phone number into settings of the Microcell.
    Check the Microcell settings.
    Check the data connection settings on your FxOS device
    Make sure your Microcell is properly connected to WiFi
    and check the AT&T support page for more info
    For a while, it actually hasn't actually worked for me. I apologize if this doesn't solve your problem :D

  • Has anyone successfully used the Intuit Quicken compatible with Lion upgrade for investment tracking?

    Has anyone successfully used the Intuit Quicken compatible with Lion upgrade for investment tracking?

    Although I gave up investment tracking for personal reasons (I had used Quicken Deluxe 2002 for many years for that reason), my understanding is that the new Quicken 2007 for Lion/Mt. Lion is completely the same feature wise as Quicken 2007 for PPC.  It will run on Snow Leopard, too.
    For $15, why not download it and just try it and LET US KNOW!

  • Has anyone successfully printed on Konica Minolta Magicolor 2530DL on Mac OS X 10.9

    Has anyone successfully printed on the Konica Minolta Magicolor 2530DL after upgrading to Mac OS X 10.9?
    Also has anyone successfully printed on the Epson EPL-5700i after upgrading to Mac OS X 10.9?

    I realize that most people tend to visit the forums to report problems rather than visit the forums to report successes after an upgrade. And I appreciate John Blanchard1's taking the time to reply to my posting.
    Dakoda mentions problems printing to a Konica Minolta C280 and the thread that John Blanchard1 posted refers to problems printing to both Konica Minolta BizHubs (C652 & 501).
    However, the existence of these problems with other KM printer models does not let me know if anyone has been successful printing to the Konica Minolta Magicolor 2530DL after upgrading to Mac OS X 10.9 or even if anyone has had a problem with printing to the 2530DL after upgrading to 10.9.
    On October 28, 2013, a Konica Minolta technical support agent told me -- after checking with his supervisor -- that regarding the Konica Minolta Magicolor 2530DL that they will not be upgrading the 2530DL printer driver. In fact they have not upgraded the driver since 10.6. I learned on their support site that the 10.6 driver has continued to work with 10.7 and 10.8. They have not yet updated their support site for compatibility of their line of printers with 10.9.
    So I would like to find evidence that this printer has continued to work for someone after the upgrade to 10.9 rather than upgrade and then have to downgrade to still be able to use this printer.

  • Has anyone successfully installed a SimpleWifi antennae on Os 10.6.8?

    Has anyone successfully installed a SimpleWifi antennae on OS 10.6.8?

    Looking at their website I don't see any driver section.  For USB that would be especially important.  Direct to ethernet though wouldn't typically be a problem.  I would contact their support and ask what they have available for your machine, and/or your WiFi router you use.  The router is whatever distributes the internet wirelessly from your modem (sometimes the modem itself).  If you are trying to pickup someone else's WiFi, note the security of it may not always be reliable unless you know their WPA2 password is fairly good.

  • Has anyone successfully downloaded their Norton 360 online backup onto a new iMac?

    My PC had a BSOD without warning and  restoring efforts have failed.  I've used the opportunity to move to a new iMac.  Unfortunately, my backup is with Norton 360 online.  Has anyone successfully migrated a norton backup file onto their iMac?

    You will probably find most on here recommend you stay as far away from Norton software as possible with a Mac.  The Norton Anti-virus software is the worst of the worst and does damage to the Mac OS X.  Just be aware that you are likely to get recommendations to use the backup that comes with the Mac, Time Machine.  Or make a clone of your drive with programs like Carbon Copy Cloner or SuperDuper.

Maybe you are looking for

  • Step by Step Guide needed for external drives.... Help!

    I know this has probably been done to death already but I can't seem to make any of the suggestions work in this case. I guess what I need is someone to tell me like I'm a 5 year old on how to do this. I want to move my music library to an external d

  • Capturing data from ALV grid

    Dear experts. Can anyone help me to capture data from ALV grid to pass to a BAPI FM. My ALV grid has the check box as first column and I want to capture only the rows in the grid with these checkboxes checked. I would prefer to do it without OO. Rega

  • Trying to configure survivability.tcl but no luck

    Hi, I'm trying to configure the survivability.tcl service but I can't seem to get it to work.  I've followed the instructions on the CVP config/admin guide but no luck.  Attached is the config from a 2811 I'm using on the LAB. My setup: ICM 8.5 serve

  • FLV files in dreamweaver....??

    Hello, I have just started creating websites and thus this is all still new to me so let me try to explain.  A client has asked for a website and got a Graphic designer to create a moving animation for me to put on the site.  He supplied the file as

  • Archiving Message PI with Seeburger AS2

    Hello Experts, we have an AS2 Scenario with incoming Invoic. Now my question: It is possible to archive our incomming messages after the as2 adapter has decrypt the message an before the message is processed in the pi. Where can i configure the archi