Forum

> > News > Server Move
Forums overviewNews overviewLog in to reply

English Server Move

50 replies
Page
To the start Previous 1 2 3 Next To the start

old Re: Server Move

DC
Admin Off Offline

Quote
@user MikuAuahDark: Changed those links to HTTPS. My long term goal would be to make HTTPS default. Not sure if I can enable HSTS. I still have to allow HTTP for CS2D because it does not support HTTPS unfortunately (it's required for avatar downloads etc)

Also fixed some errors on the USGN page and added files_pub with the map format spec

I think mails are not working in general right now (required for registration and password lost functions. well be fixed ASAP).

Edit
Mails should work now
edited 1×, last 13.06.20 01:36:06 am

old Re: Server Move

MikuAuahDark
User Off Offline

Quote
This one still doesn't

user DC has written
I still have to allow HTTP for CS2D because it does not support HTTPS unfortunately

I think you can update CS2D which sent special, private header to every request in UnrealSoftware and let the UnrealSoftware web server check for the presence of that header. If the header is present, allow normal HTTP request. Otherwise, issue 302 redirect to HTTPS website. You can also check for the User-Agent header, like if it's a browser then force it to visit the HTTPS website by issuing 302 redirect to the HTTPS website.

You can choose to send Strict-Transport-Security regardless or only send it if the header you wanted is not present.

EDIT: User-Agent
EDIT2: Oh I forgot to mention that all download links in cs2d.com still points to non-HTTPS.
edited 2×, last 13.06.20 06:50:22 am

old Re: Server Move

Gaios
Reviewer Off Offline

Quote
user The Dark Shadow has written
@user DC: Can't you create a system that automatically redirects you to HTTPS from HTTP?

@user The Dark Shadow:
user DC has written
Not sure if I can enable HSTS. I still have to allow HTTP for CS2D because it does not support HTTPS unfortunately (it's required for avatar downloads etc)

old Re: Server Move

medeiros
User Off Offline

Quote
Since this update, many CS2D servers can't be joined and players get stuck at the "verifying USGN login" screen.

I'm almost certain that it's not a problem on my end because 1) there's servers that I can join and 2) the ones which are affected by this almost always had players on them and now they're always at 0 players. And yes, even though CS2D doesn't have as many players as it once did, there's still at least 1 or 2 Standard servers that fill up daily... well, until this update.

--- Edit ---
Hmmm, weird, I can now enter on those specific servers by logging off of my USGN account, and one of them (specifically [Q] Complex de_dust) now shows a player count while it was always "0" when I was logged in.
However, once I log back in, I still get the same issue, can't join the servers.
And yes, I checked before writing this post and after this edit; my usgn.dat file starts with this line:
1
81.169.236.243|usgn.de
I just find it odd that there's servers which I can join with my account and others that I can't, whereas before I could.
edited 1×, last 15.06.20 06:32:06 pm

old Re: Server Move

TrialAndError
User Off Offline

Quote
I have the same problem as @user medeiros:. I can't even join my own dedicated server and test my scripts anymore, it just gets stuck on "Verifying USGN login" and in the server console, it says that I'm "not logged in".

Edit: Okay, DC responded as I was typing so we'll be waiting

old Re: Server Move

medeiros
User Off Offline

Quote
@user Merlungo: what him and I reported are different issues than the one that's fixed by what's in the first post.
Thanks for looking into it, user DC!

old Re: Server Move

DC
Admin Off Offline

Quote
Okay. I think login verification should be fixed now.
Same for people staying in the "playing XYZ"-state forever.

Please let me know if it works for you or if you still have problems!

old Re: Server Move

DC
Admin Off Offline

Quote
You're right. Oh no.
Okay... back to work.

Edit:
Okay, had another really stupid bug in there. Should be fine now!

old Re: Server Move

MikuAuahDark
User Off Offline

Quote
CS2D version checking still fails.
Log >


When the version check fails, CS2D stuck at "trying to login". Restarting CS2D and skipping the version checking as fast as possible allows me to login in-game, but USGN verification still fails.

old Re: Server Move

DC
Admin Off Offline

Quote
@user MikuAuahDark: You must still have the wrong (old) USGN IP in your sys/usgn.dat (see my edit in the thread). This must be updated for client AND server!

Or your connection to the new server is blocked by something for some reason (I can't help then because it's not on my end. it works for other people)

old Re: Server Move

MikuAuahDark
User Off Offline

Quote
Of course I've updated my usgn.dat. I'd be very dumb if I didn't do that in the first place prior reporting.

Also everything was work prior the server move and as user DC said before, rewriting the USGN masterserver. CS2D version checking and USGN verification works prior this. I'd really love to solve this problem together, but I also understand USGN masterserver code is something that shouldn't be known by normal user like me so our best bet is guessing.

old Re: Server Move

DC
Admin Off Offline

Quote
@user The Dark Shadow: You normally shouldn't get unexpected USGN masterserver messages. When does this happen?

@user MikuAuahDark: Sounds super weird. I'll try to find out what's going wrong but it's complicated to do so because it works fine when I use CS2D with USGN on my side. It's weird that you're also getting these unexpected masterserver messages. That shouldn't happen.
To the start Previous 1 2 3 Next To the start
Log in to replyNews overviewForums overview