Page 1 of 2

myownb3.com

Posted: 15 Feb 2022, 09:34
by josvergeer
Hallo,
I have changed home.
No i cannot reached my server with my easyfind name anymore.
B3 is working as a server in my LAN.
I think that ip adress is the problem.

"failed to connect to xxxx.myownb3.com/84.xx.xx.xyz(port21)" (ip adres old house)

Ip adres has changed to 84.xx.xyz.xyz (ip adres new house)
How can i change it?
Thank you for your ideas..
Jos

Re: myownb3.com

Posted: 15 Feb 2022, 14:46
by Gordon
Log into the B3 GUI as admin and go to `settings - identity`. Click on `update Easyfind`

Alternatively: open an SSH connection to the B3 and execute `/usr/lib/web-admin/easyfind.pl`

Re: myownb3.com

Posted: 16 Feb 2022, 03:14
by josvergeer
Hallo.
Thank you for your reaction.

Whwn i do that i get this message.

Easyfind failed with following error: No opcode available in the response.
Server responded: Failed to connect to database server

Jos

Re: myownb3.com

Posted: 21 Feb 2022, 04:11
by MouettE
Hello,

Sorry didn't get this message ealier. Do you still have issues with easyfind ? Everything seems ok on my end.

Re: myownb3.com

Posted: 24 Feb 2022, 04:26
by Gordon
Unable to replicate here as well. That said, running the original perl script gives me an error as well though not the same as reported.

Re: myownb3.com

Posted: 03 Mar 2022, 04:12
by josvergeer
I still have that problem.
But i think it is not a problem with "myownb3" .
I have the same problems with my camera's, so it is a problem with my new adress.
I contact my provider to explain my problem.
I keep contact.
Thanks,
Jos

Re: myownb3.com

Posted: 07 Mar 2022, 06:16
by josvergeer
Hallo,
still i have the same problem.
I have reinstall my b3.
I cannot update the software.
I get the message
"Was unable to connect to the update server. Aborting upgrade. Please check internet connection"
My camera is working well. so that was not the problem.
I hope someone can help me with it.
Thank you.
Jos.

Re: myownb3.com

Posted: 07 Mar 2022, 09:30
by Ubi
i do not think the ip address is the issue, rather a firewall or router.
My normal approach would be
* apt-get install nmap
* run : nmap <myownb3 server>
( the actual name of the server is in the script that contacts, I forgot it)

Re: myownb3.com

Posted: 08 Mar 2022, 07:31
by josvergeer
When i want to update myownb3 i get a message:
============================
A PHP Error was encountered
Severity: Notice
Message: Undefined index: opcode
Filename: models/networkmanager.php
Line Number: 41
=============================
Where can i find this file?
Thank you.

Re: myownb3.com

Posted: 08 Mar 2022, 17:41
by Gordon
josvergeer wrote: 08 Mar 2022, 07:31 When i want to update myownb3 i get a message:
============================
A PHP Error was encountered
Severity: Notice
Message: Undefined index: opcode
Filename: models/networkmanager.php
Line Number: 41
=============================
Where can i find this file?
Thank you.
That's a red herring. The web GUI expects the easyfind client to return information that includes a field named `opcode`. It's not programmed to handle the error response that you receive from the client, which does not contain this field and thus causes this secondary fault.


Can you verify that `/usr/lib/web-admin/easyfind.pl` tries to connect to the correct server?

Code: Select all

grep easyfind /usr/lib/web-admin/easyfind.pl
This should print `https://easyfind.excito.org` a couple of times

Also, can you verify that you can connect to the easyfind server?

Code: Select all

curl https://easyfind.excito.org/extip.php
Note: this should print your current public IP address - don't need to post it here, just state whether it reports it correctly.

Re: myownb3.com

Posted: 09 Mar 2022, 05:26
by josvergeer
The first give as print:
use constant EASYFIND_CONF => "/etc/network/easyfind.conf";
my $url = "https://easyfind.excito.org/extip.php";
my $response = $ua->post('https://easyfind.excito.org/',
my $response = $ua->post('https://easyfind.excito.org/',
The second give as print:
root@b3:/# curl https://easyfind.excito.org/extip.php
bash: curl: opdracht niet gevonden

Re: myownb3.com

Posted: 10 Mar 2022, 05:48
by Gordon
Right... Haven't used the original OS for quite a while

Try `wget -S https://easyfind.excito.org/extip.php` instead

Note: This will not print the web page return to stdout but download it as `extip.php`. Use the `cat` command to view the return.

Re: myownb3.com

Posted: 11 Mar 2022, 03:32
by josvergeer
It give's the public ip-adress.
But i cannot connect with the excito server to download the latest software,
I still think that this is a problem with my modem.It is a experiabox v10a.
Thank you for your effort.
Jos

Re: myownb3.com

Posted: 11 Mar 2022, 08:40
by Gordon
Okay. There is good news and there is bad news.

The good news is that there no (external) issues preventing you to access the easyfind server.

The bad news is that the Perl code (LWP::UserAgent) fails, probably because of an encryption incompatibility. Since you already have easyfind enabled and only want to update the IP address, one thing you could try is start the bubba-easyfind service which is based on Python and may not suffer from the same issue.

The final option is to adopt one of the more recent developments for easyfind. These need to be compiled, so you'll need to install a bunch of other stuff first. As an alternative you can get `bubbagen` live USB. This does not require installing, simply shut down the B3 and disconnect the power cord. Insert the USB and hold the power button while reconnecting the power cord. The front light will turn green and the B3 will boot bubbagen. You can then update the easyfind server. Restart the B3 to drop back into your original system.

Re: myownb3.com

Posted: 12 Mar 2022, 03:56
by josvergeer
I did the latest option.
But i cannot update the latest software.
I think that is not a problem with the server but with my modem.
I gonna try it by a friend of mine.
I do that next week. No i have corona so i have to wait.
Thank you for your help so far.
Nice weekend.
Jos