mgp25 / SC-API

Snapchat’s private API
MIT License
334 stars 106 forks source link

AtTestStation Not Currently Functional #211

Closed pcrumm closed 9 years ago

pcrumm commented 9 years ago

It appears that @liamcottle's AtTestStation isn't currently functional:

PHP Warning: file_get_contents(http://attest.casper.io/attestation): failed to open stream: php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known in /Users/phil/Development/snapcorgi-mk2/vendor/mgp25/snapapi/src/snapchat.php on line 164

This occurs during authentication, preventing any other functionality from working.

teknogeek commented 9 years ago

sigh that is not an issue on his end. that means you have no connection or an error within your connection on your machine. here you go i'll fucking google it for you

REGARDLESS that isn't a problem that is even relevant since that URL isn't even used in our API anymore. please at least try some things before complaining

pcrumm commented 9 years ago

Er, yes, that is exactly what it means... Because attest.casper.io currently resolves to a server that any responding on port 80. Did you try it?

On Sunday, September 20, 2015, Joel Margolis notifications@github.com wrote:

Closed #211 https://github.com/mgp25/SC-API/issues/211.

— Reply to this email directly or view it on GitHub https://github.com/mgp25/SC-API/issues/211#event-414357844.

Sent from mobile

teknogeek commented 9 years ago

do i need to write you a step by step guide on how to debug a simple problem?

liamcottle commented 9 years ago

@pcrumm It looks like you haven't downloaded the latest version of the library. The http://attest.casper.io server url hasn't been used for quite a while now. It has been changed, and also the structure of the requests have changed.

If you grab the latest version of the lib, it'll be fine.

pcrumm commented 9 years ago

Currently rocking 9.14.2.0 via composer--looks like that's what's most recent on packagist also. I see that develop has changed significantly since then; I'll give that a try. Thank you for your help.

On Sunday, September 20, 2015, Liam Cottle notifications@github.com wrote:

@pcrumm https://github.com/pcrumm It looks like you haven't downloaded the latest version of the library. The http://attest.casper.io server url hasn't been used for quite a while now. It has been changed, and also the structure of the requests have changed.

If you grab the latest version of the lib, it'll be fine.

— Reply to this email directly or view it on GitHub https://github.com/mgp25/SC-API/issues/211#issuecomment-141880573.

Sent from mobile

liamcottle commented 9 years ago

Cool as! I don't maintain the library so not too sure how to update, other than downloading via the ZIP link. I just own and maintain the Casper system. Which the library uses for getting Attestations and Client Auth Tokens.