Hi, I am trying to connect my surfshark VPN. Since I have surfshark it should be quite standard I image. However I keep running into the same error: Restart failed: most likely cause faulty city. But the city is not filled in as it is optional. I used the following info: VPN provider: Surfshark Protocol: wireguard wireguard address: default Then imported a wireguard .conf file and saved Tried different VPN counties in the config file as well. Thanks in advance
12 replies
Chris wrote:
Got it — this is an automatic acknowledgment from Chris. Your post is in the support queue, and we’ll get to it as soon as we can. Legend members receive priority replies. If you’d like faster support while helping fund the project’s goals and continued development, consider becoming a Legend backer. <!-- chris-support-queue-ack:v1 --
atjpatatatj wrote:
Update the logs show it is trying to connect to switzerland city peru, which is not valid. This is not the entered data in the form
atjpatatatj wrote:
Problem was solved by clean slate install with proper config at first try
Chris wrote:
Thanks for confirming. I’m glad the clean setup connected, but seeing an invalid location that was not in the form data still sounds wrong. I’ve logged this and our team is investigating it; you do not need to change anything else while the new setup is working.
infinite wrote:
Hi there. Just starting. And having same problem with vpn and city error. How do you do clean slate install or total noob guide. Thanks. Got surf Shark. In Uk
Anthony wrote:
Please don’t use Factory Reset yet—it erases app configuration and data. First, open the SparkBox dashboard’s Updates page and reply with the exact Current version shown there, plus whether you run SparkBox on Windows with WSL, Docker Desktop, Linux, or a NAS. I’ll then give you the right non-destructive next step for the Surfshark city error.
infinite wrote:
Hi Current version: 1.6.665 lastest update. And running on a ugreen nas in the uk with surfshark. Hope you can help. Still all new to this. Edit vpn settings what are the correct settings for each section. Thanks
Anthony wrote:
Thanks — that establishes a UGREEN NAS on the current 1.6.665 release. Please do not use Clean Slate or Factory Reset; neither is a verified solution for this, and either can remove your settings and data. One read-only check: on the dashboard’s VPN card, choose Edit, but do not click Save & Restart. Tell me exactly what, if anything, appears in VPN Server Countries and VPN Server Cities. Those two values are enough—please do not share the WireGuard file, private key, or full log. I’m checking whether a stale city filter is involved. Stop after that check and I’ll give the next safe action.
infinite wrote:
both blank
Chris wrote:
Thanks for checking - both blank confirms what we suspected. This matches a bug we've now tracked down: a leftover city value from an earlier setup attempt can still get used by the VPN even after the dashboard shows the city field empty, so this isn't something you're doing wrong. One more read-only check to confirm it's the same thing on your box: sudo docker logs sb-gluetun --tail 50 Tell me what country/city name shows up in the error line, if any. No changes yet - once I see that, I'll give you the exact fix instead of another reinstall.
infinite wrote:
It says when use putty for terminal ERROR VPN settings: provider settings: server selectio n: Wireguard server selection settings: endpoint port is set no city or is there another way to put in that command
Chris wrote:
That log line is all I needed - you don't need to run any more terminal commands, and I'm sorry the Putty step was awkward. What the line tells us: your box still has an old server address left over from an earlier setup attempt. When a WireGuard .conf file is imported, the dashboard fills in a "server endpoint" (an IP and port) in the hidden advanced section - and that saved value is still on the box even though the country and city boxes are empty. Provider set to Surfshark plus that leftover endpoint is exactly the "endpoint port is set, no city" error. It is not something you did wrong. The fix is in the dashboard and changes nothing else - no reset, nothing deleted: 1. Open the VPN card and choose Edit. 2. Leave VPN Provider on Surfshark. 3. Click to expand "Advanced - custom / unlisted provider". 4. Delete whatever is in the "Server IP (Endpoint)" and "Server Port" boxes so both are empty. An empty box is how the dashboard clears a saved value. 5. In "VPN Server Country" type: United Kingdom. Leave "VPN Server Cities" empty. 6. Click Save & Restart. Surfshark will then pick one of its own UK servers and the leftover endpoint is gone. Let me know what the VPN card shows after the restart and we'll take it from there.