The runner takes ages to start the application and in the meantime the proxy is trying to reload the browser, thus hitting the error Proxy handler: unable to reach app. in the browser.
The timeings:
The go build is ~instant.
The air runner takes ~8 seconds.
The go application starts in 2.5 milli seconds.
Making me think the problem lies in the air runner.
Go version: 1.23.1
Air version: v4.12.0
GoLand version: 2024.2.2.1
Powershell version: 5.1
OS Name Microsoft Windows 11 Enterprise
OS Version: 10.0.22631 N/A Build 22631
System Manufacturer: LENOVO
System Model: 21BUS1BC00
System Type: x64-based PC
BIOS Version: LENOVO N3BET61W (1.39 ), 30.04.2024
Processor(s): 1 Processor(s) Installed. [01]: Intel64 Family 6 Model 154 Stepping 3 GenuineIntel ~1711 Mhz
Total Physical Memory: 32 434 MB
Problem
The runner takes ages to start the application and in the meantime the proxy is trying to reload the browser, thus hitting the error
Proxy handler: unable to reach app.
in the browser.The timeings:
The go build is ~instant. The air runner takes ~8 seconds. The go application starts in 2.5 milli seconds.
Making me think the problem lies in the air runner.
Steps to reproduce:
Video
Here is a video of the process https://github.com/user-attachments/assets/caac648c-1279-441d-b347-47aaf4abbc71
Expected behavior
To reload the browser after the app is up and running.
Actual Behavior
The browser reload too early, hits the error, and stops refreshing. A manual refresh is required.
Additional information
My .air.toml:
My run configuration
My system
Go version: 1.23.1 Air version: v4.12.0 GoLand version: 2024.2.2.1 Powershell version: 5.1 OS Name Microsoft Windows 11 Enterprise OS Version: 10.0.22631 N/A Build 22631 System Manufacturer: LENOVO System Model: 21BUS1BC00 System Type: x64-based PC BIOS Version: LENOVO N3BET61W (1.39 ), 30.04.2024 Processor(s): 1 Processor(s) Installed. [01]: Intel64 Family 6 Model 154 Stepping 3 GenuineIntel ~1711 Mhz Total Physical Memory: 32 434 MB