andrewscofield / parse.com-php-library

246 stars 137 forks source link

Failed to connect to api.parse.com port 443: Timed out #159

Open TonyTesng opened 10 years ago

TonyTesng commented 10 years ago

Hello: I want to use php POST data to data browser then push notification to iPad,so I used parse.com-php-library. But when I want to query that I create a class named MobileMsg and add column unit. I use below code:

in parseConfig.php: <?php

class parseConfig{ const APPID = 'bhYl7FlK63o7Y9UQ5kkmEzXQKOX2bnXagL6Q7SXX'; const MASTERKEY = 'k1BQHwoSVYkuetxhNhlnDN6aBs6i5rcE2xjq40XX'; const RESTKEY = 'Z1V5R9zPEnYvQLTcM8okaEqf8vHgfinVWWabV4XX'; const PARSEURL = 'https://api.parse.com/1/'; ?> } and create Query.php:

<?php include 'parse.php';

function storeInParseDB ($unit) { $parse = new parseQuery('MobileMsg'); $parse->whereEqualTo('unit', $unit); $result = $parse->find();

    echo "RESULT: ";
    print_r($result);

} storeInParseDB('test'); ?>

but when I run Query.php,there show an error:Failed to connect to api.parse.com port 443: Timed out

what can I do?

cinder92 commented 7 years ago

same issue here! there is any port do i need to open in serveR?