pepzwee / node-csgo-web-tradebot

Web based CS:GO trade bot. Similar to CSGOSell.
MIT License
147 stars 59 forks source link

still - literally impossible to login into steam #148

Closed coooool123 closed 6 years ago

coooool123 commented 6 years ago

https://imgur.com/a/PDLrC

Whenever I try to login into steam this is the error I get, halp.

iDefineHD commented 6 years ago

Have you configured nginx to be a reverse proxy? And are you running the node file?

pepzwee commented 6 years ago

You're running Nginx and that conflicts with this Node script which also wants to run on port 80. Either turn off Nginx or set it up as a reverse proxy.

coooool123 commented 6 years ago

Oh sorry for posting on that old lock thread, didn't see your comments here - How exactly do I do that? Which would you prefer for me to do, close it or create a reverse proxy?

pepzwee commented 6 years ago

I don't have a preference. You decide.

coooool123 commented 6 years ago

I’ll try them out and give you guys an update - thanks.

iDefineHD commented 6 years ago

Use https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-16-04 if you choose reverse proxy or straight up juat run the node app.

pepzwee commented 6 years ago

I made this gist a year ago on how csg0.trade was reverse proxied. https://gist.github.com/pepzwee/2e1f4e0f7f9ec29c7dfca8fabd48dfa5

iDefineHD commented 6 years ago

Yeah or use that. Forgot about that. :kissing_heart:

coooool123 commented 6 years ago

If I disable it will it affect my SSL that I plan on putting in within the cfg?

coooool123 commented 6 years ago

sudo update-rc.d -f nginx disable Would this work? Dont want to be hasty

pepzwee commented 6 years ago

There's three ways you can add SSL to this script.

  1. Nginx reverse proxy with SSL
  2. Cloudflare proxy with SSL
  3. Add it to the script itself, which is slightly harder than the options above

If you don't have any nginx websites online and you don't need it, you can just disable it correct.

coooool123 commented 6 years ago

Whats the command to open up the nginx config so I can change it?

coooool123 commented 6 years ago

Anything?

coooool123 commented 6 years ago

I have a new error now “Apache/2.4.18 (Ubuntu) Server at [my domain] Port 80” I deleted nginx and this is what happened

iDefineHD commented 6 years ago

You also have apache installed.

coooool123 commented 6 years ago

What do you mean?

coooool123 commented 6 years ago

its still not working after i uninstalled apache2

coooool123 commented 6 years ago

I typed “httpd -k uninstall“ and it says that there was no httpd found

coooool123 commented 6 years ago

I just went on file zilla and just deleted the files manually because nothing seemed to work and I still get the same error, can you guys help me?

pepzwee commented 6 years ago

This is all you need to follow - https://steamapis.com/projects/node-csgo-web-tradebot/

coooool123 commented 6 years ago

I been following that guide but now I'm still getting the "Apache/2.4.18 (Ubuntu) Server at [my domain] Port 80" I just want to fix the login issue which has been bothering me for the past 2-3 days and I can't find a solution on it - I really need your help. pls

coooool123 commented 6 years ago

52bd171c6d93eda62dfd68a26c1f1c75 ffs I dont know what I been doing wrong - I did the guide STEP by STEP like 5x already and this shit still doesn't work

coooool123 commented 6 years ago

https://gyazo.com/8c02103bae5d46a601a81c120f0e4811 Does this mean I have these things installed? Because i've typed in the commands to remove them but I'm assuming they aren't working

pepzwee commented 6 years ago

You are not following the guide properly. Where does the guide tell you to use update-rc.d? That disables Apache from automatically starting on boot, it does not disable it while it's running.

sudo systemctl stop apache2

coooool123 commented 6 years ago

those commands literally do nothing i've typed them in so many times and got 0 back from typing them in

pepzwee commented 6 years ago

Not all commands return something when you execute them.

coooool123 commented 6 years ago

But it still does nothing and I still get redirected to the same 404 error page

coooool123 commented 6 years ago

???

coooool123 commented 6 years ago

I've fixed the issue - All I had to do was just delete the droplet and create a new one lol