Jump to content
Not connected, Your IP: 3.137.181.69
thorlaroid

ANSWERED Raspbian OS - Eddie not connect due to wrong IP

Recommended Posts

Hello,
my Eddi Client running on Raspbian OS is not connecting. It frequently tries to reconnect every three seconds. When checking the logs, I found this entry: 

OpenVPN > TCP/UDP: Socket bind failed on local address [AF_INET]10.0.10.104:1194: Cannot assign requested address (errno=99)

The shown IP is an old IP addressed that is not being used any more. Hence, I have not find any option to change this for Eddie.

Has anyone an idea?

Share this post


Link to post

Update the OS and Eddie. Then try again. If it fails, in Logs tab click the lifebelt icon and paste/upload the output here.


NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT.

LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too!

Want to contact me directly? All relevant methods are on my About me page.

Share this post


Link to post

Unfortunately, no change.

Eddie System/Environment Report - 09.07.2021 - 22:13 UTC

Eddie version: 2.20.0beta
Eddie OS build: linux_armv7l
Eddie architecture: x86
OS type: Linux
OS name: Raspbian GNU/Linux 10 \n \l
OS version: Linux raspberrypi 5.10.17-v7l+ #1421 SMP Thu May 27 14:00:13 BST 2021 armv7l GNU/Linux
OS architecture: armv7l
Mono /.Net Framework: 5.18.0.240 (Debian 5.18.0.240+dfsg-3 Sat Apr 20 05:16:08 UTC 2019); Framework: v4.0.30319
TUN driver: /dev/net/tun
OpenVPN: 2.4.7 - OpenSSL 1.1.1d  10 Sep 2019, LZO 2.10 (/usr/sbin/openvpn)
Hummingbird:  ()
SSH: OpenSSH_7.9p1 Raspbian-10+deb10u2+rpt1, OpenSSL 1.1.1d  10 Sep 2019 (/usr/bin/ssh)
SSL: stunnel 5.50 (/usr/bin/stunnel4)
curl: 7.64.0 (/usr/bin/curl)
Profile path: /home/pi/.config/eddie/default.profile
Data path: /home/pi/.config/eddie
Application path: /usr/lib/eddie-ui
Executable path: /usr/lib/eddie-ui/eddie-ui.exe
Command line arguments: (2 args) path.resources="/usr/share/eddie-ui" path.exec="/usr/bin/eddie-ui"
Network Lock Active: No
Connected to VPN: No
Detected DNS: 10.0.2.1
Test DNS IPv4: Ok
Test DNS IPv6: Ok
Test Ping IPv4: 31 ms
Test Ping IPv6: Failed
Test HTTP IPv4: Ok
Test HTTP IPv6: Error: curl: (7) Couldn't connect to server
Test HTTPS: Ok
----------------------------
Important options not at defaults:

login: (omissis)
password: (omissis)
remember: True
key: (omissis)
connect: True
servers.startlast: True
routes.custom: 10.0.1.49,out,Mac Mini Ethernet;10.0.1.90,out,MPhone;10.0.1.44,out,mPad-Pro;10.0.1.2,out,Thor
network.entry.iface: 10.0.10.104
network.entry.iplayer: ipv4-only
tools.hummingbird.preferred: True
advanced.check.route: False

----------------------------
Logs:

. 2021.07.10 00:10:03 - Eddie version: 2.20.0beta / linux_armv7l, System: Linux, Name: Raspbian GNU/Linux 10 \n \l, Version: Linux raspberrypi 5.10.17-v7l+ #1421 SMP Thu May 27 14:00:13 BST 2021 armv7l GNU/Linux, Mono/.Net: 5.18.0.240 (Debian 5.18.0.240+dfsg-3 Sat Apr 20 05:16:08 UTC 2019); Framework: v4.0.30319
. 2021.07.10 00:10:03 - Command line arguments (2): path.resources="/usr/share/eddie-ui" path.exec="/usr/bin/eddie-ui"
. 2021.07.10 00:10:03 - Raise system privileges
. 2021.07.10 00:10:09 - Profile path: /home/pi/.config/eddie/default.profile
. 2021.07.10 00:10:10 - Reading options from /home/pi/.config/eddie/default.profile
. 2021.07.10 00:10:16 - Tun Driver - /dev/net/tun
. 2021.07.10 00:10:16 - OpenVPN - Version: 2.4.7 - OpenSSL 1.1.1d  10 Sep 2019, LZO 2.10 (/usr/sbin/openvpn)
. 2021.07.10 00:10:16 - SSH - Version: OpenSSH_7.9p1 Raspbian-10+deb10u2+rpt1, OpenSSL 1.1.1d  10 Sep 2019 (/usr/bin/ssh)
. 2021.07.10 00:10:16 - SSL - Version: stunnel 5.50 (/usr/bin/stunnel4)
. 2021.07.10 00:10:16 - curl - Version: 7.64.0 (/usr/bin/curl)
I 2021.07.10 00:10:19 - Ready
. 2021.07.10 00:10:20 - Collect information about AirVPN completed
I 2021.07.10 00:10:20 - Session starting.
I 2021.07.10 00:10:21 - Checking authorization ...
. 2021.07.10 00:10:21 - Collect information about AirVPN completed
! 2021.07.10 00:10:21 - Connecting to Kocab (Netherlands, Alblasserdam)
. 2021.07.10 00:10:21 - Routes, added a new route, 10.0.1.49 for gateway 10.0.2.1
. 2021.07.10 00:10:21 - Routes, added a new route, 10.0.1.90 for gateway 10.0.2.1
. 2021.07.10 00:10:21 - Routes, added a new route, 10.0.1.44 for gateway 10.0.2.1
. 2021.07.10 00:10:21 - Routes, added a new route, 10.0.1.2 for gateway 10.0.2.1
. 2021.07.10 00:10:21 - OpenVPN > OpenVPN 2.4.7 arm-unknown-linux-gnueabihf [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Apr 28 2021
. 2021.07.10 00:10:21 - OpenVPN > library versions: OpenSSL 1.1.1d  10 Sep 2019, LZO 2.10
. 2021.07.10 00:10:22 - OpenVPN > Outgoing Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
. 2021.07.10 00:10:22 - OpenVPN > Outgoing Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
. 2021.07.10 00:10:22 - OpenVPN > Incoming Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
. 2021.07.10 00:10:22 - OpenVPN > Incoming Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
. 2021.07.10 00:10:22 - OpenVPN > TCP/UDP: Preserving recently used remote address: [AF_INET]213.152.162.183:443
. 2021.07.10 00:10:22 - OpenVPN > Socket Buffers: R=[180224->180224] S=[180224->180224]
. 2021.07.10 00:10:22 - OpenVPN > TCP/UDP: Socket bind failed on local address [AF_INET]10.0.10.104:1194: Cannot assign requested address (errno=99)
. 2021.07.10 00:10:22 - OpenVPN > Exiting due to fatal error
! 2021.07.10 00:10:22 - Disconnecting
. 2021.07.10 00:10:22 - Routes, removed a route previously added, 10.0.1.49 for gateway 10.0.2.1
. 2021.07.10 00:10:22 - Routes, removed a route previously added, 10.0.1.90 for gateway 10.0.2.1
. 2021.07.10 00:10:22 - Routes, removed a route previously added, 10.0.1.44 for gateway 10.0.2.1
. 2021.07.10 00:10:22 - Routes, removed a route previously added, 10.0.1.2 for gateway 10.0.2.1
. 2021.07.10 00:10:22 - Connection terminated.
I 2021.07.10 00:10:25 - Checking authorization ...
! 2021.07.10 00:10:25 - Connecting to Kocab (Netherlands, Alblasserdam)
. 2021.07.10 00:10:25 - Routes, added a new route, 10.0.1.49 for gateway 10.0.2.1
. 2021.07.10 00:10:25 - Routes, added a new route, 10.0.1.90 for gateway 10.0.2.1
. 2021.07.10 00:10:25 - Routes, added a new route, 10.0.1.44 for gateway 10.0.2.1
. 2021.07.10 00:10:25 - Routes, added a new route, 10.0.1.2 for gateway 10.0.2.1
. 2021.07.10 00:10:25 - OpenVPN > OpenVPN 2.4.7 arm-unknown-linux-gnueabihf [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Apr 28 2021
. 2021.07.10 00:10:25 - OpenVPN > library versions: OpenSSL 1.1.1d  10 Sep 2019, LZO 2.10
. 2021.07.10 00:10:25 - OpenVPN > Outgoing Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
. 2021.07.10 00:10:25 - OpenVPN > Outgoing Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
. 2021.07.10 00:10:25 - OpenVPN > Incoming Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
. 2021.07.10 00:10:25 - OpenVPN > Incoming Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
. 2021.07.10 00:10:25 - OpenVPN > TCP/UDP: Preserving recently used remote address: [AF_INET]213.152.162.183:443
. 2021.07.10 00:10:25 - OpenVPN > Socket Buffers: R=[180224->180224] S=[180224->180224]
. 2021.07.10 00:10:25 - OpenVPN > TCP/UDP: Socket bind failed on local address [AF_INET]10.0.10.104:1194: Cannot assign requested address (errno=99)
. 2021.07.10 00:10:25 - OpenVPN > Exiting due to fatal error
! 2021.07.10 00:10:25 - Disconnecting
. 2021.07.10 00:10:25 - Routes, removed a route previously added, 10.0.1.49 for gateway 10.0.2.1
. 2021.07.10 00:10:25 - Routes, removed a route previously added, 10.0.1.90 for gateway 10.0.2.1
. 2021.07.10 00:10:26 - Routes, removed a route previously added, 10.0.1.44 for gateway 10.0.2.1
. 2021.07.10 00:10:26 - Routes, removed a route previously added, 10.0.1.2 for gateway 10.0.2.1
. 2021.07.10 00:10:26 - Connection terminated.
I 2021.07.10 00:10:29 - Checking authorization ...
! 2021.07.10 00:10:29 - Connecting to Kocab (Netherlands, Alblasserdam)
. 2021.07.10 00:10:29 - Routes, added a new route, 10.0.1.49 for gateway 10.0.2.1
. 2021.07.10 00:10:29 - Routes, added a new route, 10.0.1.90 for gateway 10.0.2.1
. 2021.07.10 00:10:29 - Routes, added a new route, 10.0.1.44 for gateway 10.0.2.1
. 2021.07.10 00:10:29 - Routes, added a new route, 10.0.1.2 for gateway 10.0.2.1
. 2021.07.10 00:10:29 - OpenVPN > OpenVPN 2.4.7 arm-unknown-linux-gnueabihf [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Apr 28 2021
. 2021.07.10 00:10:29 - OpenVPN > library versions: OpenSSL 1.1.1d  10 Sep 2019, LZO 2.10
. 2021.07.10 00:10:29 - OpenVPN > Outgoing Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
. 2021.07.10 00:10:29 - OpenVPN > Outgoing Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
. 2021.07.10 00:10:29 - OpenVPN > Incoming Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
. 2021.07.10 00:10:29 - OpenVPN > Incoming Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
. 2021.07.10 00:10:29 - OpenVPN > TCP/UDP: Preserving recently used remote address: [AF_INET]213.152.162.183:443
. 2021.07.10 00:10:29 - OpenVPN > Socket Buffers: R=[180224->180224] S=[180224->180224]
. 2021.07.10 00:10:29 - OpenVPN > TCP/UDP: Socket bind failed on local address [AF_INET]10.0.10.104:1194: Cannot assign requested address (errno=99)
. 2021.07.10 00:10:29 - OpenVPN > Exiting due to fatal error
! 2021.07.10 00:10:29 - Disconnecting
. 2021.07.10 00:10:29 - Routes, removed a route previously added, 10.0.1.49 for gateway 10.0.2.1
. 2021.07.10 00:10:29 - Routes, removed a route previously added, 10.0.1.90 for gateway 10.0.2.1
. 2021.07.10 00:10:29 - Routes, removed a route previously added, 10.0.1.44 for gateway 10.0.2.1
. 2021.07.10 00:10:29 - Routes, removed a route previously added, 10.0.1.2 for gateway 10.0.2.1
. 2021.07.10 00:10:29 - Connection terminated.
I 2021.07.10 00:10:32 - Checking authorization ...
! 2021.07.10 00:10:33 - Connecting to Kocab (Netherlands, Alblasserdam)
. 2021.07.10 00:10:33 - Routes, added a new route, 10.0.1.49 for gateway 10.0.2.1
. 2021.07.10 00:10:33 - Routes, added a new route, 10.0.1.90 for gateway 10.0.2.1
. 2021.07.10 00:10:33 - Routes, added a new route, 10.0.1.44 for gateway 10.0.2.1
. 2021.07.10 00:10:33 - Routes, added a new route, 10.0.1.2 for gateway 10.0.2.1
. 2021.07.10 00:10:33 - OpenVPN > OpenVPN 2.4.7 arm-unknown-linux-gnueabihf [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Apr 28 2021
. 2021.07.10 00:10:33 - OpenVPN > library versions: OpenSSL 1.1.1d  10 Sep 2019, LZO 2.10
. 2021.07.10 00:10:33 - OpenVPN > Outgoing Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
. 2021.07.10 00:10:33 - OpenVPN > Outgoing Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
. 2021.07.10 00:10:33 - OpenVPN > Incoming Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
. 2021.07.10 00:10:33 - OpenVPN > Incoming Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
. 2021.07.10 00:10:33 - OpenVPN > TCP/UDP: Preserving recently used remote address: [AF_INET]213.152.162.183:443
. 2021.07.10 00:10:33 - OpenVPN > Socket Buffers: R=[180224->180224] S=[180224->180224]
. 2021.07.10 00:10:33 - OpenVPN > TCP/UDP: Socket bind failed on local address [AF_INET]10.0.10.104:1194: Cannot assign requested address (errno=99)
. 2021.07.10 00:10:33 - OpenVPN > Exiting due to fatal error
! 2021.07.10 00:10:33 - Disconnecting
. 2021.07.10 00:10:33 - Routes, removed a route previously added, 10.0.1.49 for gateway 10.0.2.1
. 2021.07.10 00:10:33 - Routes, removed a route previously added, 10.0.1.90 for gateway 10.0.2.1
. 2021.07.10 00:10:33 - Routes, removed a route previously added, 10.0.1.44 for gateway 10.0.2.1
. 2021.07.10 00:10:33 - Routes, removed a route previously added, 10.0.1.2 for gateway 10.0.2.1
. 2021.07.10 00:10:33 - Connection terminated.
I 2021.07.10 00:10:36 - Cancel requested.
! 2021.07.10 00:10:36 - Session terminated.

----------------------------
Network Interfaces and Routes:

{
    "support_ipv4": true,
    "support_ipv6": true,
    "routes": [
        {
            "address": "0.0.0.0\/0",
            "gateway": "10.0.2.1",
            "interface": "eth0",
            "metric": "202"
        },
        {
            "address": "0.0.0.0\/0",
            "gateway": "10.0.2.1",
            "interface": "wlan0",
            "metric": "303"
        }
    ],
    "interfaces": [
        {
            "friendly": "lo",
            "id": "lo",
            "name": "lo",
            "description": "lo",
            "type": "Loopback",
            "status": "Unknown",
            "bytes_received": "95739",
            "bytes_sent": "95739",
            "support_ipv4": true,
            "support_ipv6": true,
            "ips": [
                "127.0.0.1",
                "::1"
            ],
            "gateways": [],
            "bind": true
        },
        {
            "friendly": "eth0",
            "id": "eth0",
            "name": "eth0",
            "description": "eth0",
            "type": "Ethernet",
            "status": "Up",
            "bytes_received": "687418",
            "bytes_sent": "4182098",
            "support_ipv4": true,
            "support_ipv6": true,
            "ips": [
                "10.0.2.77",
                "fe80::71e4:2b83:c8b3:8280"
            ],
            "gateways": [
                "10.0.2.1"
            ],
            "bind": true
        },
        {
            "friendly": "wlan0",
            "id": "wlan0",
            "name": "wlan0",
            "description": "wlan0",
            "type": "Wireless80211",
            "status": "Up",
            "bytes_received": "180922",
            "bytes_sent": "38135",
            "support_ipv4": true,
            "support_ipv6": true,
            "ips": [
                "10.0.2.143",
                "fe80::eb91:4883:78a2:7f7c"
            ],
            "gateways": [
                "10.0.2.1"
            ],
            "bind": true
        }
    ],
    "ipv4-default-gateway": "10.0.2.1",
    "ipv4-default-interface": "eth0"
}
----------------------------
ip addr show:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether dc:a6:32:0d:5b:f0 brd ff:ff:ff:ff:ff:ff
    inet 10.0.2.77/24 brd 10.0.2.255 scope global dynamic noprefixroute eth0
       valid_lft 86029sec preferred_lft 75229sec
    inet6 fe80::71e4:2b83:c8b3:8280/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 56:9e:be:5a:86:d0 brd ff:ff:ff:ff:ff:ff
    inet 10.0.2.143/24 brd 10.0.2.255 scope global dynamic noprefixroute wlan0
       valid_lft 86081sec preferred_lft 75281sec
    inet6 fe80::eb91:4883:78a2:7f7c/64 scope link 
       valid_lft forever preferred_lft forever
----------------------------
ip link show:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
    link/ether dc:a6:32:0d:5b:f0 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
    link/ether 56:9e:be:5a:86:d0 brd ff:ff:ff:ff:ff:ff
----------------------------
ip -4 route show:

default via 10.0.2.1 dev eth0 proto dhcp src 10.0.2.77 metric 202 
default via 10.0.2.1 dev wlan0 proto dhcp src 10.0.2.143 metric 303 
10.0.2.0/24 dev eth0 proto dhcp scope link src 10.0.2.77 metric 202 
10.0.2.0/24 dev wlan0 proto dhcp scope link src 10.0.2.143 metric 303
----------------------------
ip -6 route show:

::1 dev lo proto kernel metric 256 pref medium
fe80::/64 dev eth0 proto kernel metric 100 pref medium
fe80::/64 dev wlan0 proto kernel metric 256 pref medium

Share this post


Link to post
1 hour ago, thorlaroid said:

network.entry.iface: 10.0.10.104


You've set an explicit interface to connect with in Preferences > Networking > Interface used to connect. This is the source of the error message. Consider resetting it to default Automatic.

NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT.

LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too!

Want to contact me directly? All relevant methods are on my About me page.

Share this post


Link to post

The Drop-Down for the Interface was empty. Anyway, selecting "Automatic" solved the issue. Thanks a lot!

Share this post


Link to post
Guest
This topic is now closed to further replies.

×
×
  • Create New...