traccar / traccar

Traccar GPS Tracking System
https://www.traccar.org
Apache License 2.0
5.38k stars 2.62k forks source link

Emulator only works in http and failed to fetch in https #5337

Closed astronmarti closed 5 months ago

astronmarti commented 5 months ago

Describe the bug Emulator only works in http and not fetch in https

To Reproduce Steps to reproduce the behavior:

  1. Account
  2. Preferences
  3. Information
  4. Emulator

Expected behavior When try to emulate a device in http works really great, but if you do the same in https, there is always an error: "Failed to fetch". My https is done like mentioned in: https://www.traccar.org/secure-connection/

Screenshots Failed to Fetch

Desktop:

Smartphone (please complete the following information):

mapoloco commented 5 months ago

I add happend in demo...traccar.org too.

tananaev commented 5 months ago

Fixed in https://github.com/traccar/traccar-web/commit/8ab0fc98d713102747f5fd376255ee31be69da97