Skip to content

[WIP] Fix manual ping operation timeout error#47

Closed
Copilot wants to merge 1 commit intodevfrom
copilot/fix-manual-ping-issue
Closed

[WIP] Fix manual ping operation timeout error#47
Copilot wants to merge 1 commit intodevfrom
copilot/fix-manual-ping-issue

Conversation

Copy link
Contributor

Copilot AI commented Dec 18, 2025

  • Understand the issue: Manual ping requests fresh GPS but uses large maximumAge causing timeout
  • Fix getCurrentPosition() to use small maximumAge for truly fresh data
  • Test the fix with manual ping
  • Verify auto ping still works correctly
Original prompt

During the last session with an agent and the last merge on DEV where we optmized the code. It seems that manual ping is now broken

[DEBUG] Requesting fresh GPS position for manual ping
wardrive.js:30 [DEBUG] Ping operation failed: Timeout expired GeolocationPositionError {code: 3, message: 'Timeout expired'}

It just dosnt work anymore. The auto ping seems to to work howver


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants