brianmiller / phvalheim-server

PhValheim backend server
GNU General Public License v2.0
26 stars 5 forks source link

Could not connect to the remote PhValheim server #55

Closed Sluggeru closed 3 months ago

Sluggeru commented 3 months ago

PhValheim Launcher 2.0.10

PhValheim Remote Server: https://vh.noname.me Steam root directory was found: i:\program files (x86)\steam PhValheim root directory was found: C:\Users\xxxxxx\AppData\Roaming\PhValheim World root directory was found: C:\Users\xxxx\AppData\Roaming\PhValheim\worlds\vh.noname.me\MadCapCom Valheim root directory was found: I:\Program Files (x86)\Steam\steamapps\common\Valheim

Checking to see if local and remote world contexts match for 'MadCapCom'...

ERROR: Could not connect to the remote PhValheim server 'https://vh.noname.me'.

Press the Enter key to exit.

PhValheim Client is up-to-date.

All other Players have no problem starting the game and connecting. I have tried clean install of firefox browser. Checked any kind of filters. Turned off Microsoft defender. Turned off firewall. Tried reinstalling Valheim. no mods. Tried installing on C: drive.
What else can I check or test?

brianmiller commented 3 months ago

Can you resolve your PhValheim hostname from your LAN and the Internet?

vh.noname.me doesn't resolve, unless that is the sanitized name due to the public post.

Sluggeru commented 3 months ago

Yes I can resolve the server with browser. I did sanitize the name. I can send you the name privately. client

brianmiller commented 3 months ago

Can you copy the link address from the public UI and send it to me in a DM? Right click on "Launch!" and click copy link address.

Sluggeru commented 3 months ago

DM where? I sent the link to brian@phospher.com

brianmiller commented 3 months ago

Generally, our Discord. Email works too.

brianmiller commented 3 months ago

From the internet, your PhValheim server appears to be working correctly. I was able to download the MadCapCom.zip payload without issue. Can you successfully download this file from your LAN?

https://[SANITIZED]/stateful/valheim/worlds/MadCapCom/MadCapCom.zip

The file downloaded and extracted correctly.

The MD5 looks good too.

curl "https://[SANITIZED]/api.php?mode=getMD5&world=MadCapCom" d3c9278b9ccbd17d868300b824a999b7

md5sum MadCapCom.zip (local file downloaded) d3c9278b9ccbd17d868300b824a999b7

brianmiller commented 3 months ago

It looks like you're using CloudFlare. You may need to disable caching if you're updating your worlds quickly and rapidly testing.

Here's our cache rule for https://phvalheim.com image

Sluggeru commented 3 months ago

I can not download MadCapCom.zip. This site can’t be reached stateful’s DNS address could not be found. Diagnosing the problem. DNS_PROBE_POSSIBLE

This is not my server. Are you saying the server is using CloudFlare?

brianmiller commented 3 months ago

Yes. The URL you sent me in an email contained a hostname that is frontended by CloudFlare. The phvalheim-server instance appears to be working normally.

It looks like you're having local DNS issues resolving the hostname. Can you ping the phvalheim hostname you sanitized?

Sluggeru commented 3 months ago

My mistake . I didn't include the sanitized server name. Yes I can download MadCapCom.zip. So it should download the file and unzip itself? I tried coping the contents to C:\Users\sanatized\AppData\Roaming\PhValheim\worlds\sanatized\MadCapCom . Ran the dashboard and I still get ERROR: Could not connect to the remote PhValheim server .

brianmiller commented 3 months ago

You shouldn't have to do anything.

Try deleting the entire %appdata%\PhValheim directory and launch the game again from the PhValheim public UI.

Sluggeru commented 3 months ago

Deleted contents of %appdata%\PhValheim directory. ran PhValheim public UI, clicked launch nothing. Upper right corner says download PhValheim client and install. Then I see same error as message #3 above.

brianmiller commented 3 months ago

Oops,.. I meant the worlds dir. No biggie. Reinstall the phvalheim client and try to launch again.

Sluggeru commented 3 months ago

Tried Launching again. Same error. \AppData\Roaming\PhValheim\phvalheim-client contains phvalheim-client.exe. \AppData\Roaming\PhValheim\worlds\sanatized\MadCapCom is empty.

I have tried disabling ad filters, have no anti virus. Tried disabling firewall. So what's next?

brianmiller commented 3 months ago

Can you join our Discord? This requires real-time chat.

Sluggeru commented 3 months ago

Sure what's the discord name?

brianmiller commented 3 months ago

https://discord.gg/8RMMrJVQgy

brianmiller commented 3 months ago

Issue appears to be with hosting provider. Closing.