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

setup.sh: Exit status 14 with BIO_should_retry at installation #306

Open
lapingenieur opened this issue Oct 26, 2024 · 2 comments
Open

setup.sh: Exit status 14 with BIO_should_retry at installation #306

lapingenieur opened this issue Oct 26, 2024 · 2 comments
Labels
bug Something isn't working legacy Using legacy winapps

Comments

@lapingenieur
Copy link

Hi,

I'm trying to install winapps with absolutely no containerization knowledge at all. I'm following both winapps' guide and this gist to install office 365.
I'm using podman on ubuntu 24.04 (with gnome wayland), all the dependencies are installed.

~/.config/winapps/winapps.conf: (password and username correspond to what is set in windows in the vm)

RDP_USER="Docker"
RDP_PASS="password"
WAFLAVOR="podman"
DEBUG="true"

./setup.sh's output:

[...]
Attempting to establish a Remote Desktop connection with Windows... Failed!

ERROR: REMOTE DESKTOP PROTOCOL FAILURE.
FreeRDP failed to establish a connection with Windows.
--------------------------------------------------------------------------------
Please view the log at /home/elio/.local/share/winapps/FreeRDP_Test_20241026_2308_854749302.log.
Troubleshooting Tips:
[...]
--------------------------------------------------------------------------------
Exiting with status '14'.

/home/user/.local/share/winapps/FreeRDP_Test_20241026_2151_382847899.log:

[21:51:13:510] [99275:000183cc] [WARN][com.freerdp.core.nego] - [nego_enable_aad]: This build does not support AAD security, disabling.
[21:51:16:579] [99275:000183cc] [ERROR][com.freerdp.core.transport] - [transport_default_write]: BIO_should_retry returned a system error 32: Relais brisé (pipe)
[21:51:16:579] [99275:000183cc] [ERROR][com.freerdp.core] - [transport_default_write]: ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]

I read that it should be a networking issue and that i should check my vm's ip address and its connection, but i absolutely don't know how to do it 😆 ...
I ran podman container inspect -f '{{.NetworkSettings.IPAddress}}' WinApps but it does'nt return anything.

Also, I don't get any new file in ~/.config/freerdp/server.

Could anyone help the newbie I am please ? thank you very very much !

@oskardotglobal oskardotglobal added bug Something isn't working legacy Using legacy winapps labels Nov 3, 2024
@SergioLoaiza
Copy link

Hi, I got the same error; any hint of how to resolve i?

@mattcbro
Copy link

I also am having a lot of trouble with the installation due to a failure to connect to the windows virtual machine through RDP. I have been able to get xfreerdp to connect to the virtual machine directly from the command line.

Your virtual machines IP address should be 127.0.0.1 unless you created one earlier yourself. Once your VM has been created via,
docker compose --file ~/.config/winapps/compose.yaml up
You should be able to use the remote desktop protocol software to login in to your vm. I can log in to mine using
xfreerdp /u:matt /v:127.0.0.1
In the vm I created the user matt with a password. I entered that user and password into my winapps.conf file under
RDP_USER="matt"
and the password
RDP_PASS="my_private_password"

This allows the install to get further. I actually see the vm window come up, but then it hangs trying to log in. I have no idea why.

Another super annoying thing is that once the setup has failed, you keep having to remove the directory
rm -rf ~/.local/bin/winapps-src/
to get it to run again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working legacy Using legacy winapps
Projects
None yet
Development

No branches or pull requests

4 participants