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

Wails browser HTTP request timed out, causing interface interruption #3987

Open
Forgetstarzero opened this issue Jan 8, 2025 · 1 comment
Labels
Bug Something isn't working

Comments

@Forgetstarzero
Copy link

Description

May I ask if the maximum timeout for HTTP requests in the Walis browser is around 60 seconds? However, we did not find any request time limit in Google Chrome.

To Reproduce

May I ask if the maximum timeout for HTTP requests in the Walis browser is around 60 seconds? However, we did not find any request time limit in Google Chrome.

Expected behaviour

Cannot limit request timeout or modify maximum timeout

Screenshots

image
image

Attempted Fixes

No response

System Details

Wails Doctor          
                                

                                                                                                                                                                                                                                   
# Wails
Version | v2.9.1

# System
┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
| OS           | MacOS                                                                                                                  |
| Version      | 14.2                                                                                                                   |
| ID           | 23C64                                                                                                                  |
| Go Version   | go1.21.0                                                                                                               |
| Platform     | darwin                                                                                                                 |
| Architecture | arm64                                                                                                                  |
| CPU          | Apple M1                                                                                                               |
| GPU          | Chipset Model: Apple M1 Type: GPU Bus: Built-In Total Number of Cores: 8 Vendor: Apple (0x106b) Metal Support: Metal 3 |
| Memory       | 16GB                                                                                                                   |
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

# Dependencies
┌────────────────────────────────────────────────────────────────┐
| Dependency                | Package Name | Status    | Version |
| Xcode command line tools  | N/A          | Installed | 2405    |
| Nodejs                    | N/A          | Installed | 20.10.0 |
| npm                       | N/A          | Installed | 10.2.3  |
| *Xcode                    | N/A          | Available |         |
| *upx                      | N/A          | Available |         |
| *nsis                     | N/A          | Available |         |
└─────────────────── * - Optional Dependency ────────────────────┘

# Diagnosis
Optional package(s) installation details: 
  - Xcode: Available at https://apps.apple.com/us/app/xcode/id497799835
  - upx : Available at https://upx.github.io/
  - nsis : More info at https://wails.io/docs/guides/windows-installer/

Additional context

No response

@Forgetstarzero Forgetstarzero added the Bug Something isn't working label Jan 8, 2025
@leaanthony
Copy link
Member

There is no built in timeout. We've added support for cancelling requests to the backend in v3. I'm not sure what the quickest solution might be for v2.

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

No branches or pull requests

2 participants