Nginx connect() failed error

August 28th 2014, 6:29 amCategory: Web 0 comments

I don't know why I got this error every time I tried to open the page:

2013/04/06 17:52:19 [error] 5040#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: "GET /info.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost:8080"

I'm using Phonegap3 http://phonegap.com/install/ but I'm facing an issue with plugins:

After creating project using

phonegap create my-app
phonegap local build android

then I added a camera plugin using

phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-camera.git

http://docs.phonegap.com/en/edge/cordova_camera_camera.md.html#Camera

then build project using

phonegap local build android

it was working fine but suddenly it stopped working, after investgating the issue I found that plugins are not copied to the android project although I can list all plugins using

phonegap local plugin list

After searching and testing the issue was that add plugin command adds to plugin files to platforms project too, so the build command not copying these files during the build phase, so all I had to do is to removeplugins/ folder content and platforms/ content then I did those steps:

phonegap local build android
phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-camera.git

After all the add plugins commands should run only after all your platforms are added

During upgrading for apache2.2 to apache2.4 I got this error when trying to access localhost via a browser:

AH01630: client denied by server configuration

I checked my site folder permissions using:

sudo chmod 777 -R *

There are 3 ways to communicate between Activity and services:

  1. BroadcastReceivers
  2. Messengers
  3. AIDL

I think that BroadcastReceivers is the easiest way to communicate but I'm wondering why and when to use other ways? or in other words in which cases messengers or AIDL will be the best practice to use than broadcastreceivers?

Seeloz Logo
 

We are very excited to announce that Seeloz (a hyper-local shopper engagement plateform), one of BADR big clients, has raised $2.45M in seed round fund.

 

In a nutshell, Seeloz platform is a comprehensive digital marketing solution utilizing advanced data science and predictive modeling to deliver hyper-personalized messaging and promotional offers to individual shoppers via any channel.

 

Seeloz uses a cloud-based data mining engine to process billions of data signals from retailer systems. Based on a data science super-charged engine, Seeloz delivers:

Hyper-Local Targeting - personalized offers and engaging to customers at home, on the go, and in-store.
Enhanceed customer loyality and brand percense - through a robust mobile app ecosystem.

 

It was a very nice journy for BADR to be the main technical arm for Seeloz from the beginning of it's stroy. Keep tuned for the official lunch at the end of next September Insha'Allah.