Sorry. Could not connect to selected network. Search Again

REPRODUCIBILITY (100% or how often):
BUILD ID: 3.3.0.16 (Rokua)
HARDWARE (Jolla1, Tablet, XA2,…): Xperia XA2 - Plus Dual SIM (H4493)
UI LANGUAGE: English (US)
REGRESSION: (compared to previous public release: Yes, No, ?):

DESCRIPTION:

WiFi won’t connect, neither in 2.4 nor 5 GHz mode.

PRECONDITIONS:

Used device, for a year, freshly bootloader unlocked, Sailfish X flashed.
Twice. Once with Sony’s SW_binaries_for_Xperia_Android_8.1.6.4_r1_v16_nile.img and once with SW_binaries_for_Xperia_Android_8.1.6.4_r1_v17_nile.img.
Hotspot works.

STEPS TO REPRODUCE:

  1. Switch ON
  2. Connect to Internet
  3. Give password

EXPECTED RESULT:

Connection.

ACTUAL RESULT:

“Sorry. Could not connect to selected network. Search Again”

ADDITIONAL INFORMATION:

What logs do you want?

When upgrading to 3.3.0, I got exactly the same problem, no Wifi & GSM network, after looking in the sailfish forum I found a message that provides a solution, unfortunately I can not find it, but it comes down to what is explained in:
https://together.jolla.com/question/226224/xa2-failed-sfos-update-to-33016-on-xa2-stuck-in-airplane-mode-solved/

GSM is working fine here. On Android it has connected just fine to that network.

Might seem an obvious question but have you verified that you entered the password correctly ?
And more data about the Wifi in use (encryption type, router brand) could help debugging

Yes, no error was made with the password. Wifi works fine with all other devices, and even with the XA2 Plus when there was still Android on it. And even with ’ no encryption’ the phone won’ t connect.

Another obvious question:
did you check on your router about allowing all new devices, mac filtering or even giving same IP to this (now differently named) device?

I’ve flashed a newer image and now it works.