Received: by 10.224.184.70 with SMTP id cj6mr5597343qab.3.1334077958675; Tue, 10 Apr 2012 10:12:38 -0700 (PDT) X-BeenThere: easyapns@googlegroups.com Received: by 10.229.166.138 with SMTP id m10ls35164qcy.3.gmail; Tue, 10 Apr 2012 10:12:38 -0700 (PDT) Received: by 10.224.184.137 with SMTP id ck9mr5594432qab.1.1334077958116; Tue, 10 Apr 2012 10:12:38 -0700 (PDT) Received: by 10.224.180.136 with SMTP id bu8msqab; Tue, 10 Apr 2012 01:13:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.175.78 with SMTP id w14mr874863qaz.17.1334045604217; Tue, 10 Apr 2012 01:13:24 -0700 (PDT) Authentication-Results: ls.google.com; spf=pass (google.com: domain of pogeybait4...@gmail.com designates internal as permitted sender) smtp.mail=pogeybait4...@gmail.com; dkim=pass header...@gmail.com Received: by y13g2000yqj.googlegroups.com with HTTP; Tue, 10 Apr 2012 01:13:24 -0700 (PDT) Date: Tue, 10 Apr 2012 01:13:24 -0700 (PDT) In-Reply-To: <1f0b3ede-b26e-423c-8d2d-66bc37c5ed53@pg2g2000pbb.googlegroups.com> References: <27042690.717.1332184733604.JavaMail.geo-discussion-forums@pbcwe9> <1f0b3ede-b26e-423c-8d2d-66bc37c5ed53@pg2g2000pbb.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.2.28) Gecko/20120306 Firefox/3.6.28,gzip(gfe) Message-ID: <733fd5a4-5d26-4719-bbd9-571f4d49a28a@y13g2000yqj.googlegroups.com> Subject: Re: Failed to connect to APNS: 0 . From: pogeybait4883 To: Easy APNs Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable As I said above, your information to log into the database are wrong. Look for a line similar to this in your apns.php: $db =3D new DbConnect('host', 'user', 'password, 'database'); if you are having trouble connecting, try viewing your 'mysql' database. There are two tables you need to be concerned with: db and user. look inside the 'db' table. Very the 'Host' matches the 'host' in the connection above. Same goes for Db and User. You should also have Select_priv, Update_priv, Insert_priv and Delete_priv set to a value of 'Y'. If you manually inserted the user into the 'User' table ensure when you inserted or updated the user that you used the 'Function' drop- down next to the password field and chose PASSWORD. otherwise your password is not encrypted correctly. If you manually set the user and db tables (by inserting them manually), try also clicking on the SQL tab and running this query: 'flush privileges' On Mar 29, 4:17=A0am, Steve wrote: > I have also find this issue with my APNS > > On Mar 20, 12:18=A0am, Gateway wrote: > > > Failed to connect to APNS: 0 . > > > =A0 =A0 =A0 =A0 1) APNS::__construct -> File: apns.php (line 49) > > =A0 =A0 =A0 =A0 2) APNS::_fetchMessages -> File: class_APNS.php (line 2= 24) > > =A0 =A0 =A0 =A0 3) APNS::_pushMessage -> File: class_APNS.php (line 381= ) > > =A0 =A0 =A0 =A0 4) APNS::_triggerError -> File: class_APNS.php (line 45= 1) > > > any idea why this might be happening.. Is audiotoolbox required ? > > > as test on my device I disabled the audio in the db, and tried a send