0

RaspberryPi.Local refused to connect
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

RaspberryPi.Local refused to connect

by timallenyi111 on Tue May 03, 2016 9:25 pm

So I was working on getting webIDE set up to program my pi, and I initially had it working (kind of). I am pretty new to Linux so I was struggling to get my project set up and running with my repository. At one point when I was tinkering, I think I was trying to reinstall webIDE on my pi, I was doing the step that said log in to my pi remotely with ssh pi@raspberrypi.local. I kept trying different passwords that I thought could be correct, but eventually I tried too many times and it kicked me off. (looking back I don't think I needed to do this step, hints why I didn't have a password). Ever since then, I haven't been able to access webIDE by going to http://raspberrypi.local, however I can still access it through putty. When I try to access webIDE, it says "raspberrypi.local refused to connect" Can anyone point me in the right direction? I am working on a large project with a group, and it would be nice to have webIDE working.

Thanks!

timallenyi111
 
Posts: 1
Joined: Tue May 03, 2016 9:02 pm

Re: RaspberryPi.Local refused to connect

by adafruit_support_mike on Thu May 05, 2016 11:39 pm

Have you changed the name of your RasPi?

adafruit_support_mike
 
Posts: 47875
Joined: Thu Feb 11, 2010 2:51 pm

Re: RaspberryPi.Local refused to connect

by jumpstart1981 on Mon Jul 25, 2016 2:17 am

I have the same problem, and no I haven't changed the name. I set the domainname to local.

jumpstart1981
 
Posts: 1
Joined: Mon Jul 25, 2016 2:16 am

Re: RaspberryPi.Local refused to connect

by adafruit_support_mike on Thu Jul 28, 2016 10:18 pm

Changing the machine's name to .local doesn't do anything to the network settings.

Is the avahi daemon running? That's what handles MDNS information, and makes .local name lookups work.

adafruit_support_mike
 
Posts: 47875
Joined: Thu Feb 11, 2010 2:51 pm

Re: RaspberryPi.Local refused to connect

by Steve_Toll on Sat Oct 28, 2017 7:13 pm

I'm having the same problem. I can SSH into raspberrypi.local, but when I try to browse it to use the WebIDE, I always get the "raspberrypi.local refused to connect"

Steve_Toll
 
Posts: 2
Joined: Sat Oct 28, 2017 7:12 pm

Re: RaspberryPi.Local refused to connect

by adafruit_support_mike on Sun Oct 29, 2017 12:57 am

First, are you sure the WebIDE server code is running? What response do you get from the command:

Code: Select all | TOGGLE FULL SIZE
sudo service adafruit-webide.sh start

adafruit_support_mike
 
Posts: 47875
Joined: Thu Feb 11, 2010 2:51 pm

Re: RaspberryPi.Local refused to connect

by Steve_Toll on Sun Oct 29, 2017 3:52 am

adafruit_support_mike wrote:First, are you sure the WebIDE server code is running? What response do you get from the command:

Code: Select all | TOGGLE FULL SIZE
sudo service adafruit-webide.sh start


I get no response at all.

raspywebide.PNG
raspywebide.PNG (179.56 KiB) Viewed 110 times

Steve_Toll
 
Posts: 2
Joined: Sat Oct 28, 2017 7:12 pm

Re: RaspberryPi.Local refused to connect

by adafruit_support_mike on Mon Oct 30, 2017 2:06 am

Post the output from:

Code: Select all | TOGGLE FULL SIZE
ps ax
between CODE tags please. We'll see if the server is running.

adafruit_support_mike
 
Posts: 47875
Joined: Thu Feb 11, 2010 2:51 pm

Re: RaspberryPi.Local refused to connect

by bsileo on Mon Feb 12, 2018 11:27 am

Any resolution tot his? I have the same issue. Here is 'ps ax' for me.

Code: Select all | TOGGLE FULL SIZE
  PID TTY      STAT   TIME COMMAND
    1 ?        Ss     3:22 /sbin/init splash
    2 ?        S      0:00 [kthreadd]
    3 ?        S      0:05 [ksoftirqd/0]
    5 ?        S<     0:00 [kworker/0:0H]
    7 ?        S      1:07 [rcu_sched]
    8 ?        S      0:00 [rcu_bh]
    9 ?        S      0:00 [migration/0]
   10 ?        S<     0:00 [lru-add-drain]
   11 ?        S      0:00 [cpuhp/0]
   12 ?        S      0:00 [cpuhp/1]
   13 ?        S      0:00 [migration/1]
   14 ?        S      0:02 [ksoftirqd/1]
   16 ?        S<     0:00 [kworker/1:0H]
   17 ?        S      0:00 [cpuhp/2]
   18 ?        S      0:00 [migration/2]
   19 ?        S      0:04 [ksoftirqd/2]
   21 ?        S<     0:00 [kworker/2:0H]
   22 ?        S      0:00 [cpuhp/3]
   23 ?        S      0:00 [migration/3]
   24 ?        S      0:01 [ksoftirqd/3]
   26 ?        S<     0:00 [kworker/3:0H]
   27 ?        S      0:00 [kdevtmpfs]
   28 ?        S<     0:00 [netns]
   29 ?        S      0:00 [khungtaskd]
   30 ?        S      0:00 [oom_reaper]
   31 ?        S<     0:00 [writeback]
   32 ?        S      0:00 [kcompactd0]
   33 ?        S<     0:00 [crypto]
   34 ?        S<     0:00 [bioset]
   35 ?        S<     0:00 [kblockd]
   36 ?        S<     0:00 [watchdogd]
   38 ?        S<     0:00 [rpciod]
   39 ?        S<     0:00 [xprtiod]
   40 ?        S      0:00 [kswapd0]
   41 ?        S<     0:00 [vmstat]
   42 ?        S<     0:00 [nfsiod]
   52 ?        S<     0:00 [kthrotld]
   53 ?        S<     0:00 [bioset]
   54 ?        S<     0:00 [bioset]
   55 ?        S<     0:00 [bioset]
   56 ?        S<     0:00 [bioset]
   57 ?        S<     0:00 [bioset]
   58 ?        S<     0:00 [bioset]
   59 ?        S<     0:00 [bioset]
   60 ?        S<     0:00 [bioset]
   61 ?        S<     0:00 [bioset]
   62 ?        S<     0:00 [bioset]
   63 ?        S<     0:00 [bioset]
   64 ?        S<     0:00 [bioset]
   65 ?        S<     0:00 [bioset]
   66 ?        S<     0:00 [bioset]
   67 ?        S<     0:00 [bioset]
   68 ?        S<     0:00 [bioset]
   69 ?        S<     0:00 [bioset]
   70 ?        S<     0:00 [bioset]
   71 ?        S<     0:00 [bioset]
   72 ?        S<     0:00 [bioset]
   73 ?        S<     0:00 [bioset]
   74 ?        S<     0:00 [bioset]
   75 ?        S<     0:00 [bioset]
   76 ?        S<     0:00 [bioset]
   77 ?        S<     0:00 [iscsi_eh]
   78 ?        S<     0:00 [dwc_otg]
   80 ?        S<     0:00 [DWC Notificatio]
   81 ?        S<     0:00 [VCHIQ-0]
   82 ?        S<     0:00 [VCHIQr-0]
   83 ?        S<     0:00 [VCHIQs-0]
   84 ?        S      0:00 [VCHIQka-0]
   85 ?        S<     0:00 [SMIO]
   87 ?        S      1:37 [irq/92-mmc1]
   90 ?        S<     0:00 [bioset]
   91 ?        S      0:05 [mmcqd/0]
   92 ?        S      0:02 [jbd2/mmcblk0p2-]
   93 ?        S<     0:00 [ext4-rsv-conver]
   95 ?        S<     0:00 [ipv6_addrconf]
  117 ?        Ss     0:25 /lib/systemd/systemd-journald
  154 ?        Ss     2:29 /lib/systemd/systemd-udevd
  198 ?        S      6:22 [w1_bus_master1]
  242 ?        S<     0:00 [cfg80211]
  250 ?        S<     0:00 [brcmf_wq/mmc1:0]
  251 ?        S      0:37 [brcmf_wdog/mmc1]
  301 ?        Ssl    0:00 /lib/systemd/systemd-timesyncd
  350 ?        Ss     2:05 avahi-daemon: running [server1.local]
  354 ?        Ss     0:18 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
  361 ?        SLsl   0:17 /usr/sbin/rngd -r /dev/hwrng
  371 ?        S      0:00 avahi-daemon: chroot helper
  376 ?        Ss     0:01 /usr/sbin/thd --triggers /etc/triggerhappy/triggers.d/ --socket /run/thd.socket --user nobody --deviceglob /dev/input/event*
  379 ?        Ss     0:00 /usr/sbin/atd -f
  384 ?        Ssl    0:04 /usr/sbin/rsyslogd -n
  387 ?        Ss     0:04 /lib/systemd/systemd-logind
  393 ?        Ss     0:00 /usr/sbin/cron -f
  414 ?        Ss     0:02 /sbin/dhcpcd -q -b
  443 ?        Rl   2034:50 /usr/bin/python /home/pi/PondTemperature.py
  466 ?        Ss     0:23 wpa_supplicant -B -c/etc/wpa_supplicant/wpa_supplicant.conf -iwlan0
  513 ?        Ssl   11:46 /usr/bin/dockerd -H fd://
  538 ?        Ss     0:00 /usr/bin/vncserver-x11-serviced -fg
  546 ?        Ss     0:00 /usr/sbin/sshd -D
  556 ?        S<     0:00 [kworker/1:1H]
  558 ?        Sl     0:53 /usr/bin/vncserver-x11-core -service
  570 ?        Ssl    0:00 /usr/sbin/lightdm
  578 tty1     Ss     0:00 /bin/login -f
  579 ?        S<     0:00 [kworker/2:1H]
  670 ?        S<     0:00 [kworker/u9:0]
  671 ?        S<     0:00 [hci0]
  672 ?        S<     0:00 [hci0]
  673 ?        S      0:00 /usr/bin/hciattach /dev/serial1 bcm43xx 921600 noflow - b8:27:eb:15:2b:1a
  679 ?        S<     0:00 [kworker/u9:2]
  680 ?        Ss     0:00 /usr/lib/bluetooth/bluetoothd
  790 ?        Ssl    0:00 /usr/bin/bluealsa
  971 ?        Ss     0:02 /lib/systemd/systemd --user
  985 ?        S      0:00 (sd-pam)
  988 ?        S<     0:00 [krfcommd]
 1008 tty1     S+     0:00 -bash
 1018 tty7     Rsl+   1:30 /usr/lib/xorg/Xorg :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
 1040 ?        S<     0:00 [kworker/0:1H]
 1066 ?        Ss     0:00 /usr/sbin/exim4 -bd -q30m
 1076 ?        S      0:08 /usr/bin/vncagent service 15
 1201 ?        Sl     0:00 lightdm --session-child 14 17
 1226 ?        Ssl    0:00 /usr/bin/lxsession -s LXDE-pi -e LXDE
 1240 ?        Ss     0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation
 1321 ?        Ss     0:00 /usr/bin/ssh-agent x-session-manager
 1328 ?        Ssl    0:00 /usr/lib/gvfs/gvfsd
 1333 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-fuse /run/user/1000/gvfs -f -o big_writes
 1351 ?        S      0:01 openbox --config-file /home/pi/.config/openbox/lxde-pi-rc.xml
 1354 ?        Sl     0:00 lxpolkit
 1361 ?        Sl     5:23 lxpanel --profile LXDE-pi
 1362 ?        Sl     0:01 pcmanfm --desktop --profile LXDE-pi
 1369 ?        Ss     0:00 /usr/bin/ssh-agent -s
 1379 ?        Ssl    0:00 /usr/lib/policykit-1/polkitd --no-debug
 1389 ?        S      0:27 /usr/bin/vncserverui service 16
 1420 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
 1427 ?        Ssl    0:00 /usr/lib/udisks2/udisksd --no-debug
 1434 ?        Ssl    0:00 /usr/lib/menu-cache/menu-cached /run/user/1000/menu-cached-:0
 1443 ?        S      0:00 /usr/bin/vncserverui -statusicon 7
 1453 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-goa-volume-monitor
 1457 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-mtp-volume-monitor
 1461 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
 1465 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-afc-volume-monitor
 1476 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.4 /org/gtk/gvfs/exec_spaw/0
 1528 ?        S<     0:00 [kworker/3:1H]
 1545 ?        Ssl    8:15 docker-containerd -l unix:///var/run/docker/libcontainerd/docker-containerd.sock --metrics-interval=0 --start-timeout 2m --state-dir /var/run/docker/libcontainerd/containerd --shim docker-containerd-shim --runtime docker-runc
 4069 ?        Ssl    0:00 /usr/lib/packagekit/packagekitd
 4209 ?        S      0:01 [kworker/u8:1]
 5885 ?        S      0:00 [kworker/u8:0]
 6831 ?        Sl     0:04 lxterminal
 6832 ?        S      0:00 gnome-pty-helper
 6833 pts/0    Ss+    0:00 bash
 6941 pts/1    Ss     0:00 bash
 7153 ?        S      0:00 [kworker/2:0]
 7714 ?        S      0:00 [kworker/3:2]
 7936 ?        S      0:00 [kworker/1:0]
 8109 ?        Ssl    0:49 /usr/bin/redis-server 127.0.0.1:6379
 8226 ?        Ssl    0:04 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 112:117
 8382 ?        S      0:01 [kworker/u8:2]
 8388 ?        Ss     0:15 restartd
 8660 ?        S      0:00 [kworker/0:1]
 8742 ?        S      0:00 [kworker/2:1]
 8963 ?        S      0:00 [kworker/3:0]
 9285 ?        S      0:00 [kworker/1:1]
 9849 ?        Sl     0:21 /usr/lib/chromium-browser/chromium-browser --disable-quic --enable-fast-unload --enable-tcp-fast-open --disable-gpu-compositing --ppapi-flash-version=26.0.0.151 --enable-pinch --ppapi-flash-path=/usr/lib/chromium-browser/libpepflashplayer.so --ppapi-flash-args=enable_stagevideo_auto=0
 9878 ?        S      0:00 /usr/lib/chromium-browser/chromium-browser --type=zygote --ppapi-flash-path=/usr/lib/chromium-browser/libpepflashplayer.so --ppapi-flash-version=26.0.0.151
 9880 ?        S      0:00 /usr/lib/chromium-browser/chromium-browser --type=zygote --ppapi-flash-path=/usr/lib/chromium-browser/libpepflashplayer.so --ppapi-flash-version=26.0.0.151
10316 ?        Sl     0:00 /usr/lib/chromium-browser/chromium-browser --type=gpu-process --field-trial-handle=16348545550751992340,6905296076583702053,131072 --supports-dual-gpus=false --gpu-driver-bug-workarounds=7,8,10,24,30,69,77 --disable-gl-extensions=GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent --gpu-vendor-id=0x0000 --gpu-device-id=0x0000 --gpu-driver-vendor=Mesa --gpu-driver-version=13.0.6 --gpu-driver-date --service-request-channel-token=123E96C89C10FBEDA9D62C5E81688810
10354 ?        S      0:00 [kworker/2:3]
10435 ?        S      0:00 [kworker/0:0]
11184 ?        S      0:00 [kworker/3:1]
11212 ?        Sl     0:00 /usr/lib/chromium-browser/chromium-browser --type=renderer --disable-gpu-compositing --enable-pinch --field-trial-handle=16348545550751992340,6905296076583702053,131072 --service-pipe-token=FE071B532C66DE7748AA8B48286AC4C0 --lang=en-GB --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --blink-settings=disallowFetchForDocWrittenScriptsInMainFrame=false,disallowFetchForDocWrittenScriptsInMainFrameOnSlowConnections=false,cssExternalScannerNoPreload=false,cssExternalScannerPreload=true --ppapi-flash-args=enable_stagevideo_auto=0 --ppapi-flash-path=/usr/lib/chromium-browser/libpepflashplayer.so --ppapi-flash-version=26.0.0.151 --enable-pinch --num-raster-threads=2 --enable-main-frame-before-activation --content-image-texture-target=0,0,3553;0,1,3553;0,2,3553;0,3,3553;0,4,3553;0,5,3553;0,6,3553;0,7,3553;0,8,3553;0,9,3553;0,10,3553;0,11,3553;0,12,3553;0,13,3553;0,14,3553;0,15,3553;0,16,3553;1,0,3553;1,1,3553;1,2,3553;1,3,3553;1,4,3553;1,5,3553;1,6,3553;1,7,3553;1,8,3553;1,9,3553;1,10,3553;1,11,3553;1,12,3553;1,13,3553;1,14,3553;1,15,3553;1,16,3553;2,0,3553;2,1,3553;2,2,3553;2,3,3553;2,4,3553;2,5,3553;2,6,3553;2,7,3553;2,8,3553;2,9,3553;2,10,3553;2,11,3553;2,12,3553;2,13,3553;2,14,3553;2,15,3553;2,16,3553;3,0,3553;3,1,3553;3,2,3553;3,3,3553;3,4,3553;3,5,3553;3,6,3553;3,7,3553;3,8,3553;3,9,3553;3,10,3553;3,11,3553;3,12,3553;3,13,3553;3,14,3553;3,15,3553;3,16,3553;4,0,3553;4,1,3553;4,2,3553;4,3,3553;4,4,3553;4,5,3553;4,6,3553;4,7,3553;4,8,3553;4,9,3553;4,10,3553;4,11,3553;4,12,3553;4,13,3553;4,14,3553;4,15,3553;4,16,3553 --disable-accelerated-video-decode --disable-gpu-compositing --service-request-channel-token=FE071B532C66DE7748AA8B48286AC4C0 --renderer-client-id=9 --shared-files=v8_natives_data:100,v8_snapshot_data:101
11505 ?        S      0:00 [kworker/1:2]
11765 ?        Sl     0:12 /usr/lib/chromium-browser/chromium-browser --type=renderer --disable-gpu-compositing --enable-pinch --field-trial-handle=16348545550751992340,6905296076583702053,131072 --service-pipe-token=95E7C4DFA9D6C5715A9830962AE19395 --lang=en-GB --extension-process --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --blink-settings=disallowFetchForDocWrittenScriptsInMainFrame=false,disallowFetchForDocWrittenScriptsInMainFrameOnSlowConnections=false,cssExternalScannerNoPreload=false,cssExternalScannerPreload=true --ppapi-flash-args=enable_stagevideo_auto=0 --ppapi-flash-path=/usr/lib/chromium-browser/libpepflashplayer.so --ppapi-flash-version=26.0.0.151 --enable-pinch --num-raster-threads=2 --enable-main-frame-before-activation --content-image-texture-target=0,0,3553;0,1,3553;0,2,3553;0,3,3553;0,4,3553;0,5,3553;0,6,3553;0,7,3553;0,8,3553;0,9,3553;0,10,3553;0,11,3553;0,12,3553;0,13,3553;0,14,3553;0,15,3553;0,16,3553;1,0,3553;1,1,3553;1,2,3553;1,3,3553;1,4,3553;1,5,3553;1,6,3553;1,7,3553;1,8,3553;1,9,3553;1,10,3553;1,11,3553;1,12,3553;1,13,3553;1,14,3553;1,15,3553;1,16,3553;2,0,3553;2,1,3553;2,2,3553;2,3,3553;2,4,3553;2,5,3553;2,6,3553;2,7,3553;2,8,3553;2,9,3553;2,10,3553;2,11,3553;2,12,3553;2,13,3553;2,14,3553;2,15,3553;2,16,3553;3,0,3553;3,1,3553;3,2,3553;3,3,3553;3,4,3553;3,5,3553;3,6,3553;3,7,3553;3,8,3553;3,9,3553;3,10,3553;3,11,3553;3,12,3553;3,13,3553;3,14,3553;3,15,3553;3,16,3553;4,0,3553;4,1,3553;4,2,3553;4,3,3553;4,4,3553;4,5,3553;4,6,3553;4,7,3553;4,8,3553;4,9,3553;4,10,3553;4,11,3553;4,12,3553;4,13,3553;4,14,3553;4,15,3553;4,16,3553 --disable-accelerated-video-decode --disable-gpu-compositing --service-request-channel-token=95E7C4DFA9D6C5715A9830962AE19395 --renderer-client-id=12 --shared-files=v8_natives_data:100,v8_snapshot_data:101
12052 ?        S      0:00 [kworker/2:2]
12120 pts/1    R+     0:00 ps ax



bsileo
 
Posts: 4
Joined: Wed May 31, 2017 3:51 pm

Re: RaspberryPi.Local refused to connect

by adafruit2 on Tue Feb 13, 2018 12:31 pm

we're actively working on the webide in the last few weeks
https://github.com/adafruit/Adafruit-We ... its/rework
but its not quite ready for re-release (there is a lot that needed updating). we'll post on the blog when its ready to try again!

adafruit2
Site Admin
 
Posts: 15856
Joined: Fri Mar 11, 2005 7:36 pm

Re: RaspberryPi.Local refused to connect

by bsileo on Tue Feb 13, 2018 1:00 pm

Ok thanks looking forward to seeing the updates.

bsileo
 
Posts: 4
Joined: Wed May 31, 2017 3:51 pm

Please be positive and constructive with your questions and comments.