-
Hello! I have problems installing dependencies for my python app when using Gefyra with VSCode devcontainers. The setup can be found in https://github.com/Blueshoe/gefyra-devcontainer using getdeck to create the local cluster. The steps are documented in the README. I have the feeling that the "gefyra run ..." command somehow "blocks" some connection between my devcontainer and the internet/pypi, and I do not understand why or if I have to provide additional configurations. Whenever I attach to the started devcontainer and try to run something like Sometimes installations using pip seem to work, but when installing bigger projects with dependencies managed using poetry, I never get It feels more like a gefyra issue, because when I start the devcontainer directly from VSCode it seems to work just fine. However, I might be wrong and this could be a VSCode specific problem, but maybe you could take a look and see if you find/help me with the issue/configuration. Thanks a lot! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
@SteinRobert Thanks for the debugging session. I shortly document our findings here. It seems to be a pypi specific issue in combination with the gefyra cargo container. |
Beta Was this translation helpful? Give feedback.
-
@Schille Thanks for the debugging session, too :D . Our findings: The issue did not appear on @Schille 's Laptop. Here everything seemed to work just fine. We traced the issue on my laptop to the TSL handshake of the Wireguard connection, which seemed to be getting stuck. Disabling the wireguard connection from within the cargo "resolved" the issue. Furthermore, when setting the MTU within the cargo to 1340 in the configuration file, Start/Stop wireguard connection: |
Beta Was this translation helpful? Give feedback.
@Schille Thanks for the debugging session, too :D . Our findings:
The issue did not appear on @Schille 's Laptop. Here everything seemed to work just fine.
We traced the issue on my laptop to the TSL handshake of the Wireguard connection, which seemed to be getting stuck. Disabling the wireguard connection from within the cargo "resolved" the issue. Furthermore, when setting the MTU within the cargo to 1340 in the configuration file,
curl https://pypi.python.org -vvv
worked with active wireguard (values around 1400 did not work).Start/Stop wireguard connection:
wg-quick [up|down] /config/wg0.conf