threefoldtech / myceliumflut

0 stars 0 forks source link

Testing Myceliumflut Desktop #66

Closed khaledyoussef24 closed 6 days ago

khaledyoussef24 commented 1 month ago

Testing the Myceliumflut Desktop application to identify any performance issues or bugs. Desktop versions :

khaledyoussef24 commented 1 month ago

I started with macos version and it is working fine Screenshot 2024-09-19 at 1 16 17 PM (2) some times (occurred only once in 3 days) could not connect and used restart button then worked fine.

khaledyoussef24 commented 1 month ago

was testing on windows faced multiple issue the first issue faced me while running the app was it was not starting

https://github.com/user-attachments/assets/61da7e4d-237e-4bf9-a313-298588619674

we should run the app as an administrator (we should mention this in docs) worked fine but still trying to connect to machines (checking ssh confgs for windows)

https://github.com/user-attachments/assets/c3292773-4969-437d-bf16-4e9dc3b07dd8

khaledyoussef24 commented 1 month ago

can we make a detailed docs going through Windows because I could not make it work I am stuck for so long i even tried myceliumflut and could not connect image image

iwanbk commented 1 month ago

Hi @khaledyoussef24

we should run the app as an administrator (we should mention this in docs)

You can do this for now, my Windows user is administrator so i didn't realize this.

worked fine but still trying to connect to machines (checking ssh confgs for windows)

The easiest way is using ping6:

  1. Start myceliumflut on your Windows, as administrator image

there are two values there:

  1. start mycelium on other machine, maybe on your linux, with same peers as your windows myceliumflut
  2. get the IPv6 of your myceliumflut on windows, (you can copy paste it)
  3. ping that IP using ping6
    #ping6 4ed:43f8:bd08:f94f:ebb9:aace:5f58:2f1b
    PING6(56=40+8+8 bytes) 409:78d9:eed3:30ff:70fb:d059:774d:8dae --> 4ed:43f8:bd08:f94f:ebb9:aace:5f58:2f1b
    16 bytes from 4ed:43f8:bd08:f94f:ebb9:aace:5f58:2f1b, icmp_seq=0 hlim=125 time=307.620 ms
    16 bytes from 4ed:43f8:bd08:f94f:ebb9:aace:5f58:2f1b, icmp_seq=1 hlim=125 time=309.576 ms
    16 bytes from 4ed:43f8:bd08:f94f:ebb9:aace:5f58:2f1b, icmp_seq=2 hlim=125 time=361.479 ms
    16 bytes from 4ed:43f8:bd08:f94f:ebb9:aace:5f58:2f1b, icmp_seq=3 hlim=125 time=306.593 ms
    16 bytes from 4ed:43f8:bd08:f94f:ebb9:aace:5f58:2f1b, icmp_seq=4 hlim=125 time=309.126 ms

For Windows, i can't give guide to test by connecting to sshd on Windows because i failed to configure SSHD server on Windows.

But ping6 is more than enough for connectivity testing.

khaledyoussef24 commented 1 month ago

tried everything mentioned i even pinged with ping -6 to make sure that the ping process is functional but still could not connect to the machine (even though the ping was successful)

Screenshot 2024-10-07 at 3 43 01 PM Screenshot 2024-10-07 at 4 02 49 PM Screenshot 2024-10-07 at 4 03 22 PM Screenshot 2024-10-07 at 4 05 06 PM

Even tried the binary from mycelium repo faced this ←[2m2024-10-07T14:06:16.821906Z←[0m ←[33m WARN←[0m ←[2mmycelium::data←[0m←[2m:←[0m Data inject loop from host to router ended

iwanbk commented 1 month ago

tried everything mentioned i even pinged with ping -6 to make sure that the ping process is functional but still could not connect to the machine (even though the ping was successful)

actually if ping works, then very most likely mycelium works. As for connecting to the windows machine, it is different things. And i don't test it either. Lot of things can make it failed. And unfortunately i can't help you, maybe Peter knows?

Maybe you can connect to the windows machine using the ipv4?

khaledyoussef24 commented 1 month ago

tried all of the steps and installed moba extreme terminal to connect to the machines. the mycelium still not giving any changes I tried both mycelium and ipv4 ipv4 worked well and could connect using it

but the mycelium ip didnot work well

Screenshot 2024-10-08 at 2 25 48 PM Screenshot 2024-10-08 at 2 26 02 PM

how ever pinging was working fine also

Screenshot 2024-10-08 at 2 55 04 PM Screenshot 2024-10-08 at 2 58 19 PM
iwanbk commented 1 month ago

Hi @khaledyoussef24 , i know nothing about mobaxtreme. But i curious about these:

  1. how is it's config? does it listen to all interface or only to the IPv4
  2. if to all interfaces, maybe you can try to restart the ssh server after starting mycelium
khaledyoussef24 commented 1 month ago

@iwanbk Yes, it listens to all interfaces (it is just like a normal terminal for Windows) I even used it to ping mycelium ip and it worked just fine. yes, I tried to restart mycelium many times.

iwanbk commented 4 weeks ago

just want to clarify the setups, please confirm:

  1. install mobaxtreme on windows machine
  2. run myceliumflut on WIndows
  3. run mycelium on Linux
  4. do ssh from windows to linux

I thought you did ssh from linux to windows, but after i checked mobaxtreme, it only has SSH client.

That scenario works for me, but i use ssh client from the windows powershell

iwanbk commented 4 weeks ago

to localize the issue, i think you can do ssh from one linux to other linux, using mycelium IP.

Btw, you can always ping me on telegram.

khaledyoussef24 commented 4 weeks ago

just want to clarify the setups, please confirm:

  1. install mobaxtreme on windows machine
  2. run myceliumflut on WIndows
  3. run mycelium on Linux
  4. do ssh from windows to linux

I thought you did ssh from linux to windows, but after i checked mobaxtreme, it only has SSH client.

That scenario works for me, but i use ssh client from the windows powershell

Yes, this is exactly what I had done.

khaledyoussef24 commented 4 weeks ago

tested myceliumflut for windows

steps made :

  1. downloaded myceliumflut on windows
  2. started the app myceliumflut and put and peers
  3. started mycelium connection
  4. tried to ping the Linux machine (server with Mycelium installed on it ), and it pinged fine
  5. connected fine and faced no problem

telegram-cloud-photo-size-4-5778481758210212434-y telegram-cloud-photo-size-4-5778481758210212437-y telegram-cloud-photo-size-4-5778481758210212441-y

cons : could not connect to machines deployed throughout the grid

khaledyoussef24 commented 2 weeks ago

myceliumflut latest version made by Iwan worked fine and while running the app ,I could connect to machines on the grid using mycelium ip telegram-cloud-photo-size-4-5819062692281960362-y

iwanbk commented 6 days ago

close it because already fixed and tested