Can connect through putty but browser says server is offline

**What is the problem? cannot connect to octoprint server in browser

**What did you already try to solve it?**my pi can see my wifi network when I scan in putty but idk what else too do

Logs (syslog, dmesg, ... no logs, no support)login as: pi

pi@'s password:
Linux octopi 4.19.97-v7l+ #1294 SMP Thu Jan 30 13:21:14 GMT 2020 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue May 12 21:35:48 2020 from
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: cannot import name get_versions

Access OctoPrint from a web browser on your network by navigating to any of:


https is also available, with a self-signed certificate.
This image comes without a desktop environment installed because it's not
required for running OctoPrint. If you want a desktop environment you can
install it via

    sudo /home/pi/scripts/install-desktop
OctoPrint version : unknown
OctoPi version    : 0.17.0

pi@octopi:~ $ sudo apt-get update
[sudo] password for pi:
Hit:1 buster InRelease
Hit:2 buster InRelease
Reading package lists... Done
pi@octopi:~ $ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  binutils binutils-arm-linux-gnueabihf binutils-common libbinutils
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
pi@octopi:~ $ sudo iwlist wlan0 scan
wlan0     Scan completed :
          Cell 04 - Address: 3C:90:66:AE:96:AC
                    Frequency:2.442 GHz (Channel 7)
                    Quality=64/70  Signal level=-46 dBm
                    Encryption key:on
                    ESSID:"fuck_off 2.4g"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Extra: Last beacon: 10ms ago
                    IE: Unknown: 000D6675636B5F6F666620322E3467
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 030107
                    IE: Unknown: 2A0100
                    IE: Unknown: 32040C121860
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 0B050100140000
                    IE: Unknown: 2D1AFE181BFFFF000000000000000000000000000000000000000000
                    IE: Unknown: 3D16070F1600000000000000000000000000000000000000
                    IE: Unknown: 7F080400080000000040
                    IE: Unknown: DD800050F204104A0001101044000102103B00010310470010D1BE6017D581F227A91E106F9FFBFA701021000842726F6164636F6D1023000842726F6164636F6D1024000631323334353610420004313233341054000800060050F20400011011000A42726F6164636F6D415010080002200C103C0001031049000600372A000120
                    IE: Unknown: DD090010180201000C0000
                    IE: Unknown: DD180050F2020101880003A4000027A4000042435E0062322F00

Additional information about your network (Hardware you are trying to connect to, hardware you are trying to connect from, router, access point, used operating systems, ...) i am using a raspberry pi 4 and im on windows 10. i made sure to only edit with notepad ++ so im lost

Just to be sure - did you also try and http://octopi ?

yea neither will work soo i tried a fresh flash and now i cant connect on putty either ugh fml