Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LawinServerV2 problems #2

Closed
Repressoh opened this issue Oct 15, 2022 · 56 comments
Closed

LawinServerV2 problems #2

Repressoh opened this issue Oct 15, 2022 · 56 comments

Comments

@Repressoh
Copy link

Repressoh commented Oct 15, 2022

So, after setting up the server and logging in, I wanted to try some of the new features like the friend requests and parties.

I used 2 clients on 7.30 (with FortniteLauncher.exe -NOSSLPINNING -skippatchcheck -epicportal -HTTP=WinINet as args ) connected to a LawinServerV2 with Figlet to redirects Fortnite servers, this is the script I use .

Then after successfully logging in on both clients, i sent the friend requests to each other, but the friend request appear only after logging out and relogging in, same thing for accepting it.

After accepting the friend requests, I logged out and relogged in but both profiles appear offline from the friend list.

So, in resume, seems like the client doesn't receive (or send) updates from LawinServerV2.

HOW TO RESOLVE = #2 (comment)

@AntogamerYT
Copy link

AntogamerYT commented Oct 15, 2022

I helped him and I would like to know if there's a way to not use port 80 for xmpp, since I already have a webserver on that port because i host lawinserver on a vps
EDIT: Season X and higher also block on the queue check

@AntogamerYT
Copy link

@Lawin0129 sorry to bother you, but do you have any idea of what's causing this? (friend requests and party that don't work, season X and higher that gets stuck on the queue checking)

@Lawin0129
Copy link
Owner

I helped him and I would like to know if there's a way to not use port 80 for xmpp, since I already have a webserver on that port because i host lawinserver on a vps EDIT: Season X and higher also block on the queue check

Sadly on localhost there isn't really another way because even if you change the xmpp port from "CloudStorage/DefaultEngine.ini" fortnite will still use port 80

@Lawin0129
Copy link
Owner

And also what launcher are you using for season x

@AntogamerYT
Copy link

@Lawin0129 I'm using a launch.bat with this args:

FortniteClient-Win64-Shipping_EAC.exe -NOSSLPINNING -skippatchcheck -epicportal -HTTP=WinINet

(I have to start with EAC because if i don't fortnite crashes)

@Lawin0129
Copy link
Owner

Yeah that's why it's not working, you can use this launcher https://github.com/NeoniteDev/NeoniteV2/raw/aac5e039a98dea00b4d0bf46ddc4a17d05e44076/public/launcher.zip
but don't expect builds 9.40-10.40 to have xmpp because cloudstorage is disabled on those builds

@Lawin0129
Copy link
Owner

@Repressoh The reason that you're having issues with friend requests and friends not being online is because your clients aren't connected to xmpp

@AntogamerYT
Copy link

@Repressoh The reason that you're having issues with friend requests and friends not being online is because your clients aren't connected to xmpp

That's strange, how does the client connect to xmpp then? Do i have to only redirect .ol.epicgames.? because I'm currently redirecting .epicgames. on fiddler

@AntogamerYT
Copy link

Yeah that's why it's not working, you can use this launcher https://github.com/NeoniteDev/NeoniteV2/raw/aac5e039a98dea00b4d0bf46ddc4a17d05e44076/public/launcher.zip but don't expect builds 9.40-10.40 to have xmpp because cloudstorage is disabled on those builds

image
uhhhhhhhhhh

@Lawin0129
Copy link
Owner

Show me your fiddlerscript

@Lawin0129
Copy link
Owner

@Repressoh The reason that you're having issues with friend requests and friends not being online is because your clients aren't connected to xmpp

That's strange, how does the client connect to xmpp then? Do i have to only redirect .ol.epicgames.? because I'm currently redirecting .epicgames. on fiddler

Check "CloudStorage/DefaultEngine.ini", I use cloudstorage to redirect it

@AntogamerYT
Copy link

Yep, that was the issue, i figured it out a minute before you answered lol, tysm

@Lawin0129
Copy link
Owner

No problem :)

@Repressoh
Copy link
Author

Another question, on my local pc its stuck on the queue, but on my second pc isn't. I tried to redownload the build but i have the same problem. I saw on the console that looks like that a ssl request fails. Any idea of what I can do?

image

The logs for the error:

LogOnlineAccount: Display: [UOnlineAccountCommon::ContinueLoggingIn] Login: Checking Epic services queue... (LoginWaitingRoom)

LogHttp: Warning: 00007FE58D23FB40: request failed, libcurl error: 35 (SSL connect error)

LogHttp: Warning: 00007FE58D23FB40: libcurl info message cache 0 ( Trying 3.211.219.60...)
LogHttp: Warning: 00007FE58D23FB40: libcurl info message cache 1 (TCP_NODELAY set)
LogHttp: Warning: 00007FE58D23FB40: libcurl info message cache 2 (Connected to fortnitewaitingroom-public-service-prod.ol.epicgames.com (3.211.219.60) port 443 (#3))
LogHttp: Warning: 00007FE58D23FB40: libcurl info message cache 3 (ALPN, offering http/1.1)
LogHttp: Warning: 00007FE58D23FB40: libcurl info message cache 4 (Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@strength)
LogHttp: Warning: 00007FE58D23FB40: libcurl info message cache 5 (TLSv1.2 (OUT), TLS header, Certificate Status (22):)
LogHttp: Warning: 00007FE58D23FB40: libcurl info message cache 6 (TLSv1.2 (OUT), TLS handshake, Client hello (1):)
LogHttp: Warning: 00007FE58D23FB40: libcurl info message cache 7 (TLSv1.2 (IN), TLS handshake, Server hello (2):)
LogHttp: Warning: 00007FE58D23FB40: libcurl info message cache 8 (TLSv1.2 (IN), TLS handshake, Certificate (11):)
LogHttp: Warning: 00007FE58D23FB40: libcurl info message cache 9 (TLSv1.2 (IN), TLS handshake, Server key exchange (12):)
LogHttp: Warning: 00007FE58D23FB40: libcurl info message cache 10 (TLSv1.2 (IN), TLS handshake, Server finished (14):)
LogHttp: Warning: 00007FE58D23FB40: libcurl info message cache 11 (TLSv1.2 (OUT), TLS handshake, Client key exchange (16):)
LogHttp: Warning: 00007FE58D23FB40: libcurl info message cache 12 (TLSv1.2 (OUT), TLS change cipher, Client hello (1):)
LogHttp: Warning: 00007FE58D23FB40: libcurl info message cache 13 (TLSv1.2 (OUT), TLS handshake, Finished (20):)
LogHttp: Warning: 00007FE58D23FB40: libcurl info message cache 14 (TLSv1.2 (IN), TLS alert, Server hello (2):)
LogHttp: Warning: 00007FE58D23FB40: libcurl info message cache 15 (error:140943FC:SSL routines:ssl3_read_bytes:sslv3 alert bad record mac)
LogHttp: Warning: 00007FE58D23FB40: libcurl info message cache 16 (Closing connection 3)

@AntogamerYT
Copy link

Show me your fiddlerscript

@Lawin0129 I fixed the update problem, but the launcher you gave me redirects all the requests to localhost:5595

This is the fiddlerscript btw

import Fiddler;

class Handlers
{
    static function OnBeforeRequest(oSession: Session) {
        if (oSession.hostname.Contains(".epicgames."))
        {
            if (oSession.HTTPMethodIs("CONNECT"))
            {
                oSession["x-replywithtunnel"] = "FortniteTunnel";
                return;
            }

            oSession.fullUrl = "http://redacted_ip:8080" + oSession.PathAndQuery;
        }
    }
}

@Lawin0129
Copy link
Owner

Show me your fiddlerscript

@Lawin0129 I fixed the update problem, but the launcher you gave me redirects all the requests to localhost:5595

This is the fiddlerscript btw

import Fiddler;

class Handlers
{
    static function OnBeforeRequest(oSession: Session) {
        if (oSession.hostname.Contains(".epicgames."))
        {
            if (oSession.HTTPMethodIs("CONNECT"))
            {
                oSession["x-replywithtunnel"] = "FortniteTunnel";
                return;
            }

            oSession.fullUrl = "http://redacted_ip:8080" + oSession.PathAndQuery;
        }
    }
}

Change the backend port to 5595

@AntogamerYT
Copy link

oh and forgot to say, the launcher doesn't open again after i close it

@PRO100KatYT
Copy link
Contributor

Close fiddler, open the launcher and then open fiddler again.

@AntogamerYT
Copy link

@PRO100KatYT thank you

@AntogamerYT
Copy link

@Lawin0129 i host the backend on a vps (and that's why i censored the ip), should i just redirect all the localhost:5595 requests to the vps ip?

@Lawin0129
Copy link
Owner

yes

@AntogamerYT
Copy link

yes

doesn't work

image

image

@Lawin0129
Copy link
Owner

hostname only contains "localhost"

@Lawin0129
Copy link
Owner

change oSession.hostname == "localhost:5595" to oSession.fullUrl.Contains("localhost:5595")

@AntogamerYT
Copy link

@Lawin0129 thank you, you're the best!

@AntogamerYT
Copy link

Yeah that's why it's not working, you can use this launcher https://github.com/NeoniteDev/NeoniteV2/raw/aac5e039a98dea00b4d0bf46ddc4a17d05e44076/public/launcher.zip but don't expect builds 9.40-10.40 to have xmpp because cloudstorage is disabled on those builds

Why is cloudstorage disabled btw?

@Lawin0129
Copy link
Owner

It's to bypass an error which closes your game

@Lawin0129
Copy link
Owner

@Repressoh What launcher are you using?

@Repressoh
Copy link
Author

@Lawin0129
Copy link
Owner

What does it show in fiddler?

@Repressoh
Copy link
Author

What does it show in fiddler?

Sorry for the long time, for me was night

image

@Lawin0129
Copy link
Owner

@Repressoh Can I see your fiddler script?

@Repressoh
Copy link
Author

Repressoh commented Oct 16, 2022

@Repressoh Can I see your fiddler script?

@Lawin0129 https://pastebin.com/ZuPyf3uV

@AntogamerYT
Copy link

@Lawin0129 forgot to say (I also asked this in lawinserver v1), how do I put cosmetics in the item shop?

@Lawin0129
Copy link
Owner

You can't do it in Lawin V2

@AntogamerYT
Copy link

You can't do it in Lawin V2

Then what's the use of this file?

@Nightmaresuwu
Copy link

You can't do it in Lawin V2

is it working with atlas mongo db?

@AntogamerYT
Copy link

You can't do it in Lawin V2

is it working with atlas mongo db?

I guess so, you just need a mongodb database, it should work

@Nightmaresuwu
Copy link

You can't do it in Lawin V2

is it working with atlas mongo db?

I guess so, you just need a mongodb database, it should work

yeah but idk i cant log in

@Repressoh
Copy link
Author

You can't do it in Lawin V2

is it working with atlas mongo db?

I guess so, you just need a mongodb database, it should work

yeah but idk i cant log in

just go on the dashboard, click connect, connect your application, nodejs on top and copy the link that gives and change password to the user password you created in mongo. then paste it in the configuration and you're done

@Lawin0129
Copy link
Owner

You can't do it in Lawin V2

Then what's the use of this file?

It's there because I could add it in the future

@Lawin0129
Copy link
Owner

@Repressoh did you fix it?

@Repressoh
Copy link
Author

@Repressoh did you fix it?

nop

@Lawin0129
Copy link
Owner

I saw your other closed issue, is that the same issue or not?

@Repressoh
Copy link
Author

I saw your other closed issue, is that the same issue or not?

i think it is, but its not a build problem because i redownloaded it and i have the same issue

@Nightmaresuwu
Copy link

I saw your other closed issue, is that the same issue or not?

i think it is, but its not a build problem because i redownloaded it and i have the same issue

i have the same problem
Screenshot 2022-10-16 170644

@Repressoh
Copy link
Author

i think its more appropriate to move to issue #1 at this point

@Lawin0129
Copy link
Owner

It's clearly a launcher issue, I can't really do anything sadly

@Lawin0129
Copy link
Owner

i think its more appropriate to move to issue #1 at this point

yeah I'll close this down as completed

@Nightmaresuwu
Copy link

It's clearly a launcher issue, I can't really do anything sadly

i dont use a launcher i using the launcher.bat

@AntogamerYT
Copy link

You can't do it in Lawin V2

Then what's the use of this file?

It's there because I could add it in the future

oh kk

@Lawin0129
Copy link
Owner

It's clearly a launcher issue, I can't really do anything sadly

i dont use a launcher i using the launcher.bat

that's why

@Lawin0129
Copy link
Owner

Everyone with logging in issues go to #1
I'm closing this issue down as completed

@AntogamerYT
Copy link

It's clearly a launcher issue, I can't really do anything sadly

i dont use a launcher i using the launcher.bat

that's why

I also use the launcher.bat on season 7 with the custom fortnitelauncher and it works fine,

@Nightmaresuwu
Copy link

then what should i use?

@Lawin0129
Copy link
Owner

It's clearly a launcher issue, I can't really do anything sadly

i dont use a launcher i using the launcher.bat

that's why

I also use the launcher.bat on season 7 with the custom fortnitelauncher and it works fine,

if you use custom fortnitelauncher that'll work

AntogamerYT added a commit to AntogamerYT/LawinServerV2 that referenced this issue Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants