Comments (14)
On line 134 of src/SteamAuth.php, $result is now always an empty string due to the requested resource now returning 403 as described by the PHP warning:
file_get_contents(https://steamcommunity.com/openid/login): failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden
Because of this, the validate() function never returns a steamid, and login validation always fails.
This came to my attention about 5 days ago when I was getting messages that registration on my site stopped working. This issue entirely prevents this script from working, for everyone.
Yes we also have a problem file_get_contents(https://steamcommunity.com/openid/login): failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden
from steam-auth.
@Syntats @Rodion15 I am not able to replicate this on my system.
Can you guys try the following things:
First: Use the sample code from readme and try on localhost, if you are still getting an error then remove the API key and get a new one and try.
if still, you are getting the error: provide the PHP version.
from steam-auth.
@vikas5914 localhost(OpenServer) ok, A subdomain problem
[warn] [pid 20996] sapi_apache2.c(351): [client 77.37.228.186:36512] PHP Warning: file_get_contents(https://steamcommunity.com/openid/login): failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden\r\n in /home/c/ce96696/rodion1/public_html/vendor/vikas5914/steam-auth/src/SteamAuth.php on line 134
PHP 7.2
from steam-auth.
@Rodion15 Can you try this link and tell if its working or not : https://steamauth.herokuapp.com/
from steam-auth.
@vikas5914 Works, seems from for hosting
from steam-auth.
Try wget http://steamcommunity.com/openid/id/xxxxxxxxxxxxxxxxx (replace x with a steam id) and check your response state in your server.
from steam-auth.
@vikas5914
PHP Warning: file_get_contents(http://steamcommunity.com/openid/id/76561198036039898): failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden\r\n in /home/c/ce96696/rodion1/public_html/steam.php on line 6
from steam-auth.
@vikas5914 I read another forum, the reason is that steam is blocking my ip server
from steam-auth.
from steam-auth.
@Rodion15 Yeah, steam is blocking your ip address.
Can you try with a VPN and check ?
from steam-auth.
@vikas5914 vpn everything also, it is just necessary to change IP the server but not from the client
from steam-auth.
@Rodion15 You can try with different server IP or you can try to contact steam support.
from steam-auth.
Can confirm, script works fine on alternate webserver.
Looks like valve banned some IPs a couple weeks ago... not a clue as to why.
Will contact Valve. Thanks.
from steam-auth.
Thanks for confirming, I will close this issue.
from steam-auth.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from steam-auth.