OctoPi WiFi/network connection troubleshooting megatopic

Hello, I recently installed octoprint in my raspberri pi and its working perfectly. But my main goal with the raspberry is to can use it from outside of my local network. I hope this is the correct forum for asking this, if not I apologize already.

I've been these 2 days before trying to port forwarding the ip of my raspberry to can access from the public IP (sorry if I have some mistake with the concepts I'm just starting to learn the basics things about networking). I made a static IP first to my raspberry, and then Port forwarded this IP with the https port (443).

After trying a lot, I tried to search somebody who can help me as for example the developers of my router, so I got in contact with them and they asked me to send them a backup of my settings on the router, so I did it and this was their answer:

''"Unfortunately, the IP address [100.xx.xx.xx] on WAN is the private network IP address.

There will be not possible to reach device connected on LAN from WAN side.

Only thing you can do is to ask Vodafone to provide you with the public IP address for your PPPoE connection."

The thing is that I live in a rented home and the internet of the home is provided by my landlord, so I have no direct contact with the service, and either I don't want to pay a extra cost for this.

So I wonder if somebody of you would have some idea or solution for this thing, is giving me real headheach.

Thanks in advance!

Exposing your OctoPrint instance on the public internet via a port forward is a Really Bad Ideaβ„’. Read this:

3 Likes

Raspberry Pi + OctoPi v0.16.0, v0.17.0 & nightly build v0.18.0 does not appear to be able to work / load with a Raspberry Pi 3B ...... I tried Noobs and raspbian lite and could not get the wifi to load .... (~4 days)

I have just installed OctoPi V0.17.0 on a new Raspberry Pi 3B + without any issues.... in less than a few minutes.

I suspect there is something wrong with raspbian Buster and Jessie that just simply will not allow the wifi device to be found / loaded

We know that your Pi 3B+ works (which is by the way compatible with 5Ghz wifi zones) and the 3B does not (which isn't). Is it possible that you have two wifi zones on your network router and the settings are different?

Try the working microSD from the successful 3B+ install in the 3B and boot that up. If that works then I would suggest that something's going on with your home network.

Also, routers memorize MAC addresses for different computers. It's also possible that you've issued a static IP address to the 3B (or the 3B+) and this again is a difference.

Both my 5ghz and 2.4ghz use the exactly the same settings.... I checked and verified them when trying to get the 3B to connect. I have various items connected to both frequency bands

And did you move the working microSD from the 3B+ to the 3B?

Yes I can confirm that I've retried the working micro SD card in the pi 3B using the same (new 2nd) power supply 5v/3A from the 3B+ and it does not work / connect to the WiFi but if connected to ethernet I can ssh in or connect to optopi via octopi.local

I reinserted the SD card back into the 3b+ and it works fine and connects directly to the WiFi after the pi boots.

I'm regularly running OctoPi 0.15 through .17 on a 3B without + during my upgrade tests prior to releases and release candidates and I have not had any connectivity issues at all. This is also in a mixed 2.4/5Ghz environment.

Okay, the same software (everything: Raspbian, OctoPrint, drivers) was moved between two Pi computers via the microSD shuttle between them. You indicate that the same power adapter was used for either. We assume that you kept the test apples-to-apples with respect to what was plugged in (camera, peripherals).

  • 3B+ connects to your wifi
  • 3B doesn't

The only thing that you're left with is that 2.4Ghz/5Ghz unknown factor and the wifi hardware in the 3B.

If it were me, I'd pack this up, take it to Starbucks or the library and see if the 3B will connect to their network. I'd use an Ethernet cable for the 3B and see if that's happy.

This is starting to feel like the wifi hardware on the 3B is toast. (It's unlikely that any new Raspbian drivers these days are defaulting to wifi-power-savings mode.)

SOLVED:

I found the solution to my problem: https://zsiti.eu/wifi-rtl8188eu-raspberry-pi-zero/

Turns out the drivers were not installed, despite what the github repo indicated.

Leaving the original post below for others.

====================================

Hey All,

I am using a Raspberry pi 2b. It was formally used as RetroPie emulation and wifi was working fine on it. After using Etcher to 'burn' the OctoPi image, it seems that the usb dongle is not seen by the Pi at all.

When I run wpa_cli status it just returns "Failed to connect to non-global ctrl_ifname: (nil) error: No such file of directory

Dongle Details: RTL8188EUS 802.11n

Is there something about the raspian image that Octoprint is using that is different then Retropie that the wifi dongle isn't compatible? Anything else I can do?

I did find this closed issue on the github repo that mentioned it should be included: https://github.com/guysoft/OctoPi/issues/206

The Pi Zero isn't a recommended platform for OctoPrint. So if people are asking for the dongle support I'd guess that it wouldn't be a high priority.

After updating my Octoprint to latest version and not being able to connect to WIFI for the life of me, this resolved my issue. Thank you!

1 Like

Continuing the discussion from OctoPi WiFi/network connection troubleshooting megatopic:

Hi there,

I am very new to the raspberry world and now since 3 days of frustration I'm also stuck on the topic of WiFi connection, coming here for help. I got a raspberry pi zero WH - I now learned it's not recommended for octoprint, but in an other forum i read it was still fine to use if you don't need camera streaming- but I'm far away from that point anyhow.

So what i tried so far: i burnt the latest v17 release of octoprint on a brand new sd-card (class 10, 16GB san disc) using win32disc manager. Booted the octopie using the orignal raspberry power supply and placing the device directly next to the router. I repeatedly screened for the rasperrys IP adress unsing AngryIP scanner and Fing, but so far I could never detect the pi, also nothing to find under rasperrypi.local in putty or using an internet browser (Bonjour is installed). Then i followed all the suggestions in the WiFi-set up troubleshooting FAQ: I tried all combinations of addtional stuff for the octopi-wpa-supplicant.txt file using Notepad++: i used the ssid_screen, uncommenting my country etc. (and yes, I put the hash in front of the default UK):

network={
ssid="net"
ssid_scan=1
psk="pw"
}
country=DE

Non of this helped. So I tried the same with an older version of octoprint and got 2018-04-18-octopi-stretch-lite-0.15., but also no success. The zero has no ethernet port so i don't know how to run the suggested diagnostic commands. I tried to set up Raspbian Buster (Feb 2020 version) on the machine, but here I have the same issues, so it's not just about a potential incompatibility with octoPI, I guess?!. Also tried adding an empty file with name "ssh" as it was recommended, which also did not help for octo or raspian.
Finally, i tried to connect to the device to my PC via USB following the guide on https://desertbot.io/blog/headless-pi-zero-ssh-access-over-usb-windows. My PC recognizes the device and says its ready for use. But also here, when trying to ssh into the pi, putty always gives "host does not exist" whatever I tried. So no way I can even access that thing an run the WiFi diagnostics..
I read a lot of stuff in the forum, but I really don't know how to continue..
So before sledgehammering the thing into the ground, I hope for any advice here...

I have tried everything I can think of to get wifi working. I have used 2 different pis, 3 different SD cards. and 2 different power supplies. eth0 works fine. wlan0 sees my wifi, but won't connect. here are my logs:
octopi supplicant:

## WPA/WPA2 secured
#network={
  ssid="REDACTED"
  psk="PASSWORD"
#}

*Characters removed to beat the char limit*
# Uncomment the country your Pi is in to activate Wifi in RaspberryPi 3 B+ and above
# For full list see: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
#country=GB # United Kingdom
#country=CA # Canada
#country=DE # Germany
#country=FR # France
country=US # United States

### You should not have to change the lines below #####################

Wifi scan:

  Cell 05 - Address: C4:3D:C7:B0:3A:D1
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=70/70  Signal level=-16 dBm
                    Encryption key:on
                    ESSID:"REDACTED"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 70ms ago
                    IE: Unknown: 000770616765736C6F
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 030106
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 2A0100
                    IE: Unknown: 32043048606C
                    IE: Unknown: DD180050F2020101850003A4000027A4000042435E00623                                     22F00
                    IE: Unknown: DD0900037F01010000FF7F
                    IE: Unknown: DD0A00037F04010002004000
                    IE: Unknown: DD860050F204104A0001101044000102103B00010310470                                     01000000000000010000000C43DC7B03AD11021000D4E6574676561722C20496E632E10230008574                                     E4452333730301024000456314831104200046E6F6E651054000800060050F204000110110017574                                     E445233373030763228576972656C65737320415029100800020086103C000103

Octoprint:

2020-05-08 17:44:27,788 - octoprint.server.heartbeat - INFO - Server heartbeat <3
2020-05-08 17:44:27,816 - octoprint.server - INFO - --- Log roll over detected ---------------------------------------------------
2020-05-08 17:44:27,817 - octoprint.server - INFO - OctoPrint 1.3.12
2020-05-08 17:44:27,824 - octoprint.plugin.core - INFO - 15 plugin(s) registered with the system:
|  Action Command Prompt Support (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/action_command_prompt
|  Announcement Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/announcements
|  Anonymous Usage Tracking (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/tracking
|  Application Keys Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/appkeys
|  Backup & Restore (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/backup
|  Core Wizard (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/corewizard
|  Discovery (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/discovery
|  Error Tracking (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/errortracking
|  Force Login (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/forcelogin
|  Logging (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/logging
|  Pi Support Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pi_support
|  Plugin Manager (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pluginmanager
|  Printer Safety Check (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/printer_safety_check
|  Software Update (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/softwareupdate
|  Virtual Printer (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/virtual_printer
2020-05-08 17:44:27,842 - octoprint.environment - INFO - Detected environment is Python 2.7.16 under Linux (linux2). Details:
|  hardware:
|    cores: 4
|    freq: 1200.0
|    ram: 917016576
|  os:
|    id: linux
|    platform: linux2
|  plugins:
|    pi_support:
|      model: Raspberry Pi 3 Model B Rev 1.2
|      octopi_version: 0.17.0
|  python:
|    pip: 19.3.1
|    version: 2.7.16
|    virtualenv: /home/pi/oprint
2020-05-08 17:44:27,843 - octoprint.server - INFO - ------------------------------------------------------------------------------
2020-05-08 17:47:45,332 - octoprint.server - INFO - Shutting down...
2020-05-08 17:47:45,831 - octoprint.events - INFO - Processing shutdown event, this will be our last event
2020-05-08 17:47:45,833 - octoprint.events - INFO - Event loop shut down
2020-05-08 17:47:45,842 - octoprint.server - INFO - Goodbye!
2020-05-08 17:47:53,422 - octoprint.startup - INFO - ******************************************************************************
2020-05-08 17:47:53,424 - octoprint.startup - INFO - Starting OctoPrint 1.3.12
2020-05-08 17:47:53,424 - octoprint.startup - INFO - ******************************************************************************
2020-05-08 17:47:54,258 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins, /home/pi/.octoprint/plugins and installed plugin packages...
2020-05-08 17:47:56,314 - octoprint.plugin.core - INFO - Found 15 plugin(s) providing 15 mixin implementations, 23 hook handlers
2020-05-08 17:47:56,494 - octoprint.server.heartbeat - INFO - Starting server heartbeat, 900.0s interval
2020-05-08 17:47:56,538 - octoprint.server - INFO - Intermediary server started
2020-05-08 17:47:56,539 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins, /home/pi/.octoprint/plugins and installed plugin packages...
2020-05-08 17:47:56,660 - octoprint.plugin.core - INFO - Found 15 plugin(s) providing 15 mixin implementations, 23 hook handlers
2020-05-08 17:47:56,700 - octoprint.filemanager.storage - INFO - Initializing the file metadata for /home/pi/.octoprint/uploads...
2020-05-08 17:47:56,702 - octoprint.filemanager.storage - INFO - ... file metadata for /home/pi/.octoprint/uploads initialized successfully.
2020-05-08 17:47:56,749 - octoprint.plugins.softwareupdate - INFO - Loaded version cache from disk
2020-05-08 17:47:58,075 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin/python2 -m pip" as command to invoke pip
2020-05-08 17:47:59,137 - octoprint.util.pip - INFO - Version of pip is 19.3.1
2020-05-08 17:47:59,139 - octoprint.util.pip - INFO - pip installs to /home/pi/oprint/lib/python2.7/site-packages (writable -> yes), --user flag needed -> no, virtual env -> yes
2020-05-08 17:47:59,140 - octoprint.util.pip - INFO - ==> pip ok -> yes
2020-05-08 17:47:59,145 - octoprint.plugin.core - INFO - Initialized 15 plugin implementation(s)
2020-05-08 17:47:59,155 - octoprint.plugin.core - INFO - 15 plugin(s) registered with the system:
|  Action Command Prompt Support (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/action_command_prompt
|  Announcement Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/announcements
|  Anonymous Usage Tracking (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/tracking
|  Application Keys Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/appkeys
|  Backup & Restore (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/backup
|  Core Wizard (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/corewizard
|  Discovery (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/discovery
|  Error Tracking (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/errortracking
|  Force Login (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/forcelogin
|  Logging (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/logging
|  Pi Support Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pi_support
|  Plugin Manager (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pluginmanager
|  Printer Safety Check (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/printer_safety_check
|  Software Update (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/softwareupdate
|  Virtual Printer (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/virtual_printer
2020-05-08 17:47:59,175 - octoprint.environment - INFO - Detected environment is Python 2.7.16 under Linux (linux2). Details:
|  hardware:
|    cores: 4
|    freq: 1200.0
|    ram: 917016576
|  os:
|    id: linux
|    platform: linux2
|  plugins:
|    pi_support:
|      model: Raspberry Pi 3 Model B Rev 1.2
|      octopi_version: 0.17.0
|  python:
|    pip: 19.3.1
|    version: 2.7.16
|    virtualenv: /home/pi/oprint
2020-05-08 17:47:59,186 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/webassets...
2020-05-08 17:47:59,188 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/.webassets-cache...
2020-05-08 17:48:00,046 - octoprint.server - INFO - Shutting down intermediary server...
2020-05-08 17:48:00,120 - octoprint.server - INFO - Intermediary server shut down
2020-05-08 17:48:00,123 - octoprint.events - INFO - Processing startup event, this is our first event
2020-05-08 17:48:00,125 - octoprint.events - INFO - Adding 0 events to queue that were held back before startup event
2020-05-08 17:48:00,126 - octoprint.filemanager - INFO - Adding backlog items from all storage types to analysis queue...
2020-05-08 17:48:00,130 - octoprint.server.util.watchdog - INFO - Running initial scan on watched folder...
2020-05-08 17:48:00,133 - octoprint.filemanager - INFO - Added 0 items from storage type "local" to analysis queue
2020-05-08 17:48:00,134 - octoprint.server.util.watchdog - INFO - ... initial scan done.
2020-05-08 17:48:00,148 - octoprint.plugins.discovery - INFO - Registered 'OctoPrint instance on octopi' for _http._tcp
2020-05-08 17:48:00,252 - octoprint.plugins.discovery - INFO - Registered 'OctoPrint instance on octopi' for _octoprint._tcp
2020-05-08 17:48:00,277 - octoprint.server - INFO - Listening on http://127.0.0.1:5000
2020-05-08 17:48:00,325 - octoprint.plugins.pluginmanager - ERROR - Could not fetch plugins from repository at https://plugins.octoprint.org/plugins.json: HTTPSConnectionPool(host='plugins.octoprint.org', port=443): Max retries exceeded with url: /plugins.json (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x72090bb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))
Traceback (most recent call last):
  File "/home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pluginmanager/__init__.py", line 823, in _fetch_repository_from_url
    r = requests.get(repository_url, timeout=30)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/requests/api.py", line 75, in get
    return request('get', url, params=params, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
ConnectionError: HTTPSConnectionPool(host='plugins.octoprint.org', port=443): Max retries exceeded with url: /plugins.json (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x72090bb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))
2020-05-08 17:48:00,335 - octoprint.plugins.announcements - ERROR - Could not fetch channel _important from https://octoprint.org/feeds/important.xml: HTTPSConnectionPool(host='octoprint.org', port=443): Max retries exceeded with url: /feeds/important.xml (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x72090cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))
Traceback (most recent call last):
  File "/home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/announcements/__init__.py", line 355, in _get_channel_data_from_network
    r = requests.get(url, timeout=30)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/requests/api.py", line 75, in get
    return request('get', url, params=params, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
ConnectionError: HTTPSConnectionPool(host='octoprint.org', port=443): Max retries exceeded with url: /feeds/important.xml (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x72090cf0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))
2020-05-08 17:48:00,348 - octoprint.plugins.pluginmanager - ERROR - Could not fetch notices from https://plugins.octoprint.org/notices.json: HTTPSConnectionPool(host='plugins.octoprint.org', port=443): Max retries exceeded with url: /notices.json (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x720ad190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))
Traceback (most recent call last):
  File "/home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pluginmanager/__init__.py", line 891, in _fetch_notices_from_url
    r = requests.get(notices_url, timeout=30)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/requests/api.py", line 75, in get
    return request('get', url, params=params, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
ConnectionError: HTTPSConnectionPool(host='plugins.octoprint.org', port=443): Max retries exceeded with url: /notices.json (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x720ad190>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))
2020-05-08 17:48:00,349 - octoprint.plugins.announcements - ERROR - Could not fetch channel _releases from https://octoprint.org/feeds/releases.xml: HTTPSConnectionPool(host='octoprint.org', port=443): Max retries exceeded with url: /feeds/releases.xml (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x720ad210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))
Traceback (most recent call last):
  File "/home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/announcements/__init__.py", line 355, in _get_channel_data_from_network
    r = requests.get(url, timeout=30)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/requests/api.py", line 75, in get
    return request('get', url, params=params, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
ConnectionError: HTTPSConnectionPool(host='octoprint.org', port=443): Max retries exceeded with url: /feeds/releases.xml (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x720ad210>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))
2020-05-08 17:48:00,361 - octoprint.plugins.announcements - ERROR - Could not fetch channel _blog from https://octoprint.org/feeds/octoblog.xml: HTTPSConnectionPool(host='octoprint.org', port=443): Max retries exceeded with url: /feeds/octoblog.xml (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x720ad8d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))
Traceback (most recent call last):
  File "/home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/announcements/__init__.py", line 355, in _get_channel_data_from_network
    r = requests.get(url, timeout=30)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/requests/api.py", line 75, in get
    return request('get', url, params=params, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
ConnectionError: HTTPSConnectionPool(host='octoprint.org', port=443): Max retries exceeded with url: /feeds/octoblog.xml (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x720ad8d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))
2020-05-08 17:48:00,372 - octoprint.plugins.announcements - ERROR - Could not fetch channel _plugins from https://plugins.octoprint.org/feed.xml: HTTPSConnectionPool(host='plugins.octoprint.org', port=443): Max retries exceeded with url: /feed.xml (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x72032eb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))
Traceback (most recent call last):
  File "/home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/announcements/__init__.py", line 355, in _get_channel_data_from_network
    r = requests.get(url, timeout=30)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/requests/api.py", line 75, in get
    return request('get', url, params=params, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
ConnectionError: HTTPSConnectionPool(host='plugins.octoprint.org', port=443): Max retries exceeded with url: /feed.xml (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x72032eb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))
2020-05-08 17:48:00,385 - octoprint.plugins.announcements - ERROR - Could not fetch channel _octopi from https://octoprint.org/feeds/octopi.xml: HTTPSConnectionPool(host='octoprint.org', port=443): Max retries exceeded with url: /feeds/octopi.xml (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x72032ef0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))
Traceback (most recent call last):
  File "/home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/announcements/__init__.py", line 355, in _get_channel_data_from_network
    r = requests.get(url, timeout=30)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/requests/api.py", line 75, in get
    return request('get', url, params=params, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
ConnectionError: HTTPSConnectionPool(host='octoprint.org', port=443): Max retries exceeded with url: /feeds/octopi.xml (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x72032ef0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))
2020-05-08 17:48:01,383 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin/python2 -m pip" as command to invoke pip
2020-05-08 17:48:01,384 - octoprint.util.pip - INFO - pip installs to /home/pi/oprint/lib/python2.7/site-packages (writable -> yes), --user flag needed -> no, virtual env -> yes
2020-05-08 17:48:01,385 - octoprint.util.pip - INFO - ==> pip ok -> yes
2020-05-08 17:48:01,406 - octoprint.plugins.softwareupdate - WARNING - Could not check octoprint for updates due to a network error
2020-05-08 17:48:01,422 - octoprint.plugins.softwareupdate - INFO - Saved version cache to disk
2020-05-08 17:52:49,077 - octoprint.startup - INFO - ******************************************************************************
2020-05-08 17:52:49,079 - octoprint.startup - INFO - Starting OctoPrint 1.3.12
2020-05-08 17:52:49,083 - octoprint.startup - INFO - ******************************************************************************
2020-05-08 17:52:49,954 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins, /home/pi/.octoprint/plugins and installed plugin packages...
2020-05-08 17:52:51,967 - octoprint.plugin.core - INFO - Found 15 plugin(s) providing 15 mixin implementations, 23 hook handlers
2020-05-08 17:52:52,152 - octoprint.server.heartbeat - INFO - Starting server heartbeat, 900.0s interval
2020-05-08 17:52:52,197 - octoprint.server - INFO - Intermediary server started
2020-05-08 17:52:52,198 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins, /home/pi/.octoprint/plugins and installed plugin packages...
2020-05-08 17:52:52,326 - octoprint.plugin.core - INFO - Found 15 plugin(s) providing 15 mixin implementations, 23 hook handlers
2020-05-08 17:52:52,366 - octoprint.filemanager.storage - INFO - Initializing the file metadata for /home/pi/.octoprint/uploads...
2020-05-08 17:52:52,368 - octoprint.filemanager.storage - INFO - ... file metadata for /home/pi/.octoprint/uploads initialized successfully.
2020-05-08 17:52:52,413 - octoprint.plugins.softwareupdate - INFO - Loaded version cache from disk
2020-05-08 17:52:53,864 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin/python2 -m pip" as command to invoke pip
2020-05-08 17:52:54,938 - octoprint.util.pip - INFO - Version of pip is 19.3.1
2020-05-08 17:52:54,939 - octoprint.util.pip - INFO - pip installs to /home/pi/oprint/lib/python2.7/site-packages (writable -> yes), --user flag needed -> no, virtual env -> yes
2020-05-08 17:52:54,940 - octoprint.util.pip - INFO - ==> pip ok -> yes
2020-05-08 17:52:54,945 - octoprint.plugin.core - INFO - Initialized 15 plugin implementation(s)
2020-05-08 17:52:54,955 - octoprint.plugin.core - INFO - 15 plugin(s) registered with the system:
|  Action Command Prompt Support (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/action_command_prompt
|  Announcement Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/announcements
|  Anonymous Usage Tracking (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/tracking
|  Application Keys Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/appkeys
|  Backup & Restore (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/backup
|  Core Wizard (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/corewizard
|  Discovery (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/discovery
|  Error Tracking (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/errortracking
|  Force Login (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/forcelogin
|  Logging (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/logging
|  Pi Support Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pi_support
|  Plugin Manager (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pluginmanager
|  Printer Safety Check (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/printer_safety_check
|  Software Update (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/softwareupdate
|  Virtual Printer (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/virtual_printer
2020-05-08 17:52:54,975 - octoprint.environment - INFO - Detected environment is Python 2.7.16 under Linux (linux2). Details:
|  hardware:
|    cores: 4
|    freq: 1200.0
|    ram: 917016576
|  os:
|    id: linux
|    platform: linux2
|  plugins:
|    pi_support:
|      model: Raspberry Pi 3 Model B Rev 1.2
|      octopi_version: 0.17.0
|  python:
|    pip: 19.3.1
|    version: 2.7.16
|    virtualenv: /home/pi/oprint
2020-05-08 17:52:54,983 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/webassets...
2020-05-08 17:52:54,985 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/.webassets-cache...
2020-05-08 17:52:55,831 - octoprint.server - INFO - Shutting down intermediary server...
2020-05-08 17:52:56,202 - octoprint.server - INFO - Intermediary server shut down
2020-05-08 17:52:56,205 - octoprint.events - INFO - Processing startup event, this is our first event
2020-05-08 17:52:56,206 - octoprint.events - INFO - Adding 0 events to queue that were held back before startup event
2020-05-08 17:52:56,208 - octoprint.filemanager - INFO - Adding backlog items from all storage types to analysis queue...
2020-05-08 17:52:56,211 - octoprint.server.util.watchdog - INFO - Running initial scan on watched folder...
2020-05-08 17:52:56,215 - octoprint.filemanager - INFO - Added 0 items from storage type "local" to analysis queue
2020-05-08 17:52:56,215 - octoprint.server.util.watchdog - INFO - ... initial scan done.
2020-05-08 17:52:56,230 - octoprint.plugins.discovery - INFO - Registered 'OctoPrint instance on octopi' for _http._tcp
2020-05-08 17:52:56,335 - octoprint.plugins.discovery - INFO - Registered 'OctoPrint instance on octopi' for _octoprint._tcp
2020-05-08 17:52:56,347 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance on octopi for SSDP
2020-05-08 17:52:56,362 - octoprint.server - INFO - Listening on http://127.0.0.1:5000
2020-05-08 17:52:57,174 - octoprint.plugins.announcements - INFO - Loaded channel _important from https://octoprint.org/feeds/important.xml in 0.79s
2020-05-08 17:52:57,380 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from https://plugins.octoprint.org/plugins.json
2020-05-08 17:52:57,508 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin/python2 -m pip" as command to invoke pip
2020-05-08 17:52:57,509 - octoprint.util.pip - INFO - pip installs to /home/pi/oprint/lib/python2.7/site-packages (writable -> yes), --user flag needed -> no, virtual env -> yes
2020-05-08 17:52:57,510 - octoprint.util.pip - INFO - ==> pip ok -> yes
2020-05-08 17:52:58,166 - octoprint.plugins.announcements - INFO - Loaded channel _releases from https://octoprint.org/feeds/releases.xml in 0.71s
2020-05-08 17:52:59,228 - octoprint.plugins.pluginmanager - INFO - Loaded plugin notices data from https://plugins.octoprint.org/notices.json
2020-05-08 17:52:59,883 - octoprint.plugins.announcements - INFO - Loaded channel _blog from https://octoprint.org/feeds/octoblog.xml in 0.74s
2020-05-08 17:53:00,719 - octoprint.plugins.announcements - INFO - Loaded channel _plugins from https://plugins.octoprint.org/feed.xml in 0.77s
2020-05-08 17:53:01,455 - octoprint.plugins.announcements - INFO - Loaded channel _octopi from https://octoprint.org/feeds/octopi.xml in 0.63s
2020-05-08 17:57:45,994 - octoprint.server.util.flask.PreemptiveCache - INFO - Adding entry for / and {'query_string': 'l10n=en', 'path': u'/', '_count': 1, '_timestamp': 1588957065.994841, 'base_url': u'http://192.168.1.11/'}
2020-05-08 17:57:57,744 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:192.168.1.15
2020-05-08 17:58:47,756 - octoprint.server.api - INFO - Actively logging in user pi from ::ffff:192.168.1.15
2020-05-08 17:58:49,376 - octoprint.server.util.sockjs - INFO - User pi logged in on the socket from client ::ffff:192.168.1.15
2020-05-08 17:58:52,253 - octoprint.plugins.tracking - INFO - Sent tracking event ping, payload: {'octoprint_uptime': 305}
2020-05-08 17:58:52,875 - octoprint.plugins.tracking - INFO - Sent tracking event startup, payload: {'python': '2.7.16', 'ram': 917016576, 'octopi_version': '0.17.0', 'version': u'1.3.12', 'pip': '19.3.1', 'cores': 4, 'freq': 1200.0, 'pi_model': 'Raspberry Pi 3 Model B Rev 1.2', 'os': 'linux'}
2020-05-08 17:58:53,580 - octoprint.plugins.tracking - INFO - Sent tracking event pong, payload: {'plugins': u''}

logs.zip (46.3 KB)
(Sorry, my syslog put me way over the character limit.)
Any help is appreciated. Supplicant was modified via nano after the first boot to avoid any OS contamination. I know just enough to get in trouble, but not enough to work my way back out.

2 Likes

Same boat. I was using the pi as a retropi emulator but wanted to switch to octopi. I formatted it with disk part. Flashed then reflashed. Took another SD with navio and etched it with out the format. Still same results.

Running pi 3B+, flashed 2 SD cards on latest version .17 of octopi, first using the latest version of etched. Verification of etcher failed every single time. Even when using different SD card readers. Used rufus then edited the wifi info on the supplicant using note++ exactly how the forums noted.

Using a keyboard I logged into the pi, everything works. All systems mark OK. do a scan of networks and my home ssid pops up with 70/70. When I restart with an ethernet it pops up in my router connected devices as 'octopi' But when over wifi it just fails to connect. Despite scanning it. Will post logs /pics/code when I get home this week.

rufus has been my go to forever. It's always been solid, but I used Etcher just in case. Same result on both.

Perhaps an oddball WiFi connection issue here... Anyone else have trouble connecting to their ethernet-connected OctoPi setup through a WiFi extender?

My printer and WiFi router are at opposite ends of the house and I am constantly having trouble connecting to the Pi with my phone while at the printer so I bought a Netgear N300 extender. Now I get great WiFi reception in the front of the house through the repeater but the OctoPrint UI won't load, or won't fully load. Has anyone experienced this issue and, if so, what was the fix?

Thanks,
Landon

Hello everyone! I just got my first 3D printer last week and wanted to get Octoprint running on it.

I'm using a Raspberry Pi 4B.

I followed the configuration on the download page to modify octopi-wpa-supplicant.txt for my network. But the Raspi fails to connect to Wifi at all.

I've been troubleshooting for the past 2 days, googling my tail off, and have come to the following conclusions:

  • The Pi works and does have functioning Wifi and Ethernet, tested with the generic Raspian Lite image

  • I've tried 2 seperate SD cards, 8GB Netac that came with my Ender 3, and a 32GB Sandisk Extreme I bought for this project. No difference between them that I've found.

  • Wlan0 doesn't even launch into "running" unless I log in with KBM and monitor and manually do sudo ifconfig wlan0 up

  • After getting Wlan0 up I don't know how to manually connect to my network on the PI since sudo raspi-config doesn't work with Octoprint from what I've found

  • I've been able to manually connect over Ethernet with a dhclient command and was able to connect to the Pi and get through the setup wizard on the browser but doesn't persist through reboots and I will not have Ethernet at final install location

  • I've tried installing the desktop that is apparently on the Octopi image, but that hasn't work any time I've tried it.

I'm a little at the end of the rope for my knowledge in how to fix this at this point. I'm open to anything even if it's something potentially stupid that I forgot.

What version of OctoPi are you using? How did you modify octopi-wpa-supplicant.txt (i.e. on what OS and with with what editor? Make sure when you modify octopi-wpa-supplicant.txt, you also uncomment the appropriate country code.

There are log files generated as the system boots up, but I don't know / remember which one to look at for problems with WiFi startup, but I'm sure this thread contains the information necessary.

Whatever the newest from the website is. 0.17.0 of Octopi. 1.12.1 or something for Octoprint.

Files modified on Win 10 with Notepad++

This is the supplicant file that was on my last attempt:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=US
 
network={
        ssid="House_new_1"
        psk="REDACTED"
        key_mgmt=WPA-PSK
}