Giter VIP home page Giter VIP logo

Comments (14)

Rodion15 avatar Rodion15 commented on September 18, 2024

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.

vikas5914 avatar vikas5914 commented on September 18, 2024

@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.

Rodion15 avatar Rodion15 commented on September 18, 2024

@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.

vikas5914 avatar vikas5914 commented on September 18, 2024

@Rodion15 Can you try this link and tell if its working or not : https://steamauth.herokuapp.com/

from steam-auth.

Rodion15 avatar Rodion15 commented on September 18, 2024

@vikas5914 Works, seems from for hosting

from steam-auth.

vikas5914 avatar vikas5914 commented on September 18, 2024

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.

Rodion15 avatar Rodion15 commented on September 18, 2024

@vikas5914 image
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.

Rodion15 avatar Rodion15 commented on September 18, 2024

@vikas5914 I read another forum, the reason is that steam is blocking my ip server

from steam-auth.

Rodion15 avatar Rodion15 commented on September 18, 2024

@vikas5914
image

from steam-auth.

vikas5914 avatar vikas5914 commented on September 18, 2024

@Rodion15 Yeah, steam is blocking your ip address.

Can you try with a VPN and check ?

from steam-auth.

Rodion15 avatar Rodion15 commented on September 18, 2024

@vikas5914 vpn everything also, it is just necessary to change IP the server but not from the client

from steam-auth.

vikas5914 avatar vikas5914 commented on September 18, 2024

@Rodion15 You can try with different server IP or you can try to contact steam support.

from steam-auth.

Syntats avatar Syntats commented on September 18, 2024

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.

vikas5914 avatar vikas5914 commented on September 18, 2024

Thanks for confirming, I will close this issue.

from steam-auth.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.