Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

network connection issues #5

Open
ENTPRESTIGIOUS opened this issue Aug 10, 2024 · 15 comments
Open

network connection issues #5

ENTPRESTIGIOUS opened this issue Aug 10, 2024 · 15 comments

Comments

@ENTPRESTIGIOUS
Copy link

Hello, I am on the flatpak version 2024.08.1 build of Weylus and I am receiving this error. Not only that, I cannot connect to Weylus!

@ENTPRESTIGIOUS
Copy link
Author

I also tried to run weylus from the tar.gz but nothing happens! On openSUSE Tumbleweed.

@electronstudio
Copy link
Owner

The first time you run there will be no configuration file, so this error is expected. The file is created only after a successful launch I believe. (And maybe not even then if you didn't set any options.)

@electronstudio
Copy link
Owner

The tar.gz version is compiled on Ubuntu and has been tested on Arch, but I don't know whether it works on opensuse. I'd prefer the Flatpak.

@electronstudio
Copy link
Owner

To test connection, open a browser http://localhost:1701/

@ENTPRESTIGIOUS
Copy link
Author

To test connection, open a browser http://localhost:1701/

It says Failed to create uinput device!

@ENTPRESTIGIOUS
Copy link
Author

The tar.gz version is compiled on Ubuntu and has been tested on Arch, but I don't know whether it works on opensuse. I'd prefer the Flatpak.

Okay. Can't wait for update.

@ENTPRESTIGIOUS
Copy link
Author

Yeah, my phone cannot establish a connection to the IP address oddly. Yes they are on the same network. I am running tailscale on it so shouldn't be an issue as well.

@electronstudio
Copy link
Owner

To test connection, open a browser http://localhost:1701/

It says Failed to create uinput device!

There is some stuff in the README about this, but it needs access to /dev/uinput. Ignoring security you could try sudo chmod o+rw /dev/uinput

@electronstudio
Copy link
Owner

Okay. Can't wait for update.

I only collect patches submitted by other people and publish the binaries, so if you want an update that fixes your problem you'll probably have to code it yourself I'm afraid.

@electronstudio
Copy link
Owner

Yeah, my phone cannot establish a connection to the IP address oddly. Yes they are on the same network. I am running tailscale on it so shouldn't be an issue as well.

Maybe check iptables firewall isn't blocking it. BTW if your phone is iPhone then Weylus won't work. (It will connect but will then display an error because iPhone lacks required codec.)

@ENTPRESTIGIOUS
Copy link
Author

Yeah, my phone cannot establish a connection to the IP address oddly. Yes they are on the same network. I am running tailscale on it so shouldn't be an issue as well.

Maybe check iptables firewall isn't blocking it. BTW if your phone is iPhone then Weylus won't work. (It will connect but will then display an error because iPhone lacks required codec.)

It's Samsung.

@electronstudio
Copy link
Owner

I have no idea how Tailscale works but most VPN apps I've seen tend to reconfigure your system's firewall and routing table so I would probably try it without any VPN.

@ENTPRESTIGIOUS
Copy link
Author

ENTPRESTIGIOUS commented Aug 20, 2024

I have no idea how Tailscale works but most VPN apps I've seen tend to reconfigure your system's firewall and routing table so I would probably try it without any VPN.

I figured out how to establish a connection. I have to allow the port through the YaST firewall by going to Zones -> Public -> Ports and writing a list of TCP and UDP ports. I considered this from using LocalSend and my Windows machine couldn't send to my linux machine and it said that I had to allow outbound/inbound rules for port but then realized that I might need to do the same on Linux.

However, it says the connection was lost.
image

@electronstudio
Copy link
Owner

So it works on the phone but not on the Windows machine?

@electronstudio electronstudio changed the title WARN Failed to read configuration file: No such file or directory (os error 2) network connection issues Aug 20, 2024
@ENTPRESTIGIOUS
Copy link
Author

So it works on the phone but not on the Windows machine?

No it doesn't work on both my computer and phone. It can manage to establish a connection to that GUI but it just says Lost connection after a couple of seconds. I can't change the Capture screen or anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants