Skip to content

some http connections load indefinitely on localhost, starting with lima 1.1.0 #3695

@rpkoller

Description

@rpkoller

Description

In the context of using the latest version of lima (1.1.1) in combination with DDEV (HEAD) and ngrok (3.23.3) i'Ve noticed a problem when i've tried to share an install of drupal in a video call for other attendees. something that worked flawlessly for months and years. noticed it the first time in the meeting last week and again yesterday. i havent used the share functionality the weeks before - so i was not sure when it stopped working .

problem is you are able to access the front page via the link provided (https://nnnn-nnnn-nn-nnnn-nnnn-nnnn-nnnn-nnnn-nnnn.ngrok-free.app), but if you try to log in by clicking the login link, either accessing the login page loads indefinitely (https://nnnn-nnnn-nn-nnnn-nnnn-nnnn-nnnn-nnnn-nnnn.ngrok-free.app/user/login) or sometimes you are able to access the login page but entering the login credentials and pressing the submit button then leads into the indefinite loading. the traffic inspector on ngrok returns "ngrok error" 3004 and or 3200 on the attempts...

so at first the suspicion was the problem was rooted in the context of ngrok. but locally the ddev project is accessible with https://myproject.ddev.site which works flawlessly BUT the host is also accessible via 127.0.0.1 and a particular port for the project at hand, so for example https://127.0.0.1:32769 . and accessing a running project via that https://127.0.0.1:32769 link you run into the exact same issue experienced with ngrok when you try to access (https://127.0.0.1:32769/user/login) and/or try to log in on that page . so it looks like a problem with lima itself.

i went ahead and tested with previous versions. the problem is not reproducible and everything works as expected with lima 1.0.7, the problem was introduced with lima 1.1.0.

apologies for that vague outline of the things we've observed, cuz i am still unable to clearly articulate what the root cause is nor how come up with a reduced test case that does not need something like ddev. ( i even struggle to come up with an appropriate title for the issue :/)

Update: I've realized i still had colima 0.8.1 installed that is using lima 1.1.1 as a dependency. i've uninstalled the version of lima head and switched back to lima 1.1.1 and spun up an instance of colima again. within colima 0.8.1 using lima 1.1.1 i am unable to reproduce the problem i run into with limactl alone. puzzling why that is the case but i think that is another noteworthy detail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions