access_token to server API VK
The problem is next. ♪ ♪
There's a server (s++, libcurl). He's applying for receipt.
access_tokenand gets it. But using it.
secure.checkTokenThere is a mistake:
"User authorization failed: access_token was given to another ip address."
User token is offline. And if I go ssh to the server and generate from the console.
access_token, there's no error checking.
What could be the difference between programme receipts
access_tokenAnd get it out of the console, what's a mistake like this?
P.S.: FB receipt
access_tokenIt is similar and follow-up checks are in progress.
Problem solved. Turns out if you send a request out of the console, for some reason the request goes through the ip4 interface. And if the same request is sent in software, it goes through the ip6 interface. "Fucked" in the building on the ip6 server and it worked.