Authentication Failure in SMS

(6 posts) (2 voices)

Tags:

No tags yet.

  1. bushraj, Member

    Hey ,

    I'm using the SMS extension of Clickatell .. I have edit the user,password and api_id in extension.init and then created the report with following code..

    DROP PROCEDURE IF EXISTS sp_DBR_sms
    $$
    CREATE PROCEDURE sp_DBR_sms()
    BEGIN

    select 'dbr.sms';

    select '923322487907', 'Hello from myDBR';

    END
    $$

    Where '923322487907' is the phone number and 'Hello from myDBR' is message .
    But when i execute the report it gives the following error.

    "Warning: file(http://api.clickatell.com/http/auth?user=XXXXXX&password=&api_id=YYYY) [function.file]: failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in C:\wamp\www\mydbr\extensions\sms\sms_sender.php on line 62" And Authentication failure..

    What Im doing wrong here?

    Regards,
    Bushra

    (edited credentials)

  2. myDBR Team, Key Master

    Either your server cannot make connection to Clickatell server (firewall?) or Clickatell server is down (unlikely). Also, make sure your Clickatell credentials are correct.

    --
    myDBR Team

  3. bushraj, Member

    When i enter this URL "http://api.clickatell.com/http/auth?user=XXXXXX&password=&api_id=YYYY" with my credentials .. It gives the message 'OK'.. It means the credentials are correct. What else can be the issue?

  4. myDBR Team, Key Master

    Are you running the query in the server or in your own workstation?

    You can try out the PHP example from Clickatell:

    http://www.clickatell.com/apis-scripts/scripts/php/

    --
    myDBR Team

  5. bushraj, Member

    it is giving the following error

    file(http://api.clickatell.com/http/auth?user=XXXXXX&password=&api_id=YYYY") [function.file]: failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

  6. myDBR Team, Key Master

    Looks like your server is blocked from accessing the Clickatell server. Check your network setup.

    --
    myDBR Team


Reply

You must log in to post.