How to configure a proxyserver #184
Replies: 11 comments 6 replies
|
Git often fails to import log files through a dual-proxy setup because it defaults to system environment variables that may not include your authenticated credentials, causing the network error to be misinterpreted as a file incompatibility. To resolve this specifically for Git, you must explicitly map your authenticated proxy in the global configuration by running the command git config --global http.proxy http://username:password@proxy_ip:port, ensuring any special characters in your password (like @ or #) are URL-encoded. This forces Git to bypass the unauthenticated system default and use the correct gateway for its network requests, which are typically required for resolving commit metadata or external references during log processing. |
|
Thanks for your respons! |
|
Since Open Dronelog likely relies on the standard Windows network stack, To resolve this, you can bypass the system defaults by launching the application via a batch script that explicitly sets the http_proxy and https_proxy environment variables to your unauthenticated proxy's IP and port, ensuring the app routes its traffic through the open gateway instead. |
|
@jacquesschenk The DJI log files are encrypted, not standard text file. the application must request the decryption key for the file from DJI's server if the key is not cached in storage (i.e. re-importing the same file), as documented in the README. So for initial import of log files, internet access is a requirement. this is not a limitation or illegitimate access attempt, this is how it needs to be done. |
|
The keychain fetch uses ureq in the dji_log_parser crate, which does not honor environment proxy settings by default, so the request goes out as a raw TCP connection. try using a per‑process proxy tool on Windows (Proxifier, ProxyCap, or similar). These hook the process and route all TCP through your proxy even if the app is not proxy‑aware. |
|
Hi Thanks for the update!
I wasn't at work until today, but now I performed the test:
I ran it again from Powershell using this file:
$env:HTTP_PROXY="http://xx.xx.xx.xx:8080"
$env:HTTPS_PROXY="https://xx.xx.xx.xx :8080"
$env:http_proxy="http://xx.xx.xx.xx :8080"
$env:https_proxy="https://xx.xx.xx.xx :8080"
$env:DEBUG="http,https,net"
$env:RUST_LOG="trace"
$env:TAURI_LOG="trace"
$env:WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS="--enable-logging --v=1"
cd "C:\Users\J\AppData\Local\Open DroneLog"
.\open-dronelog.exe *> "C:\Users\J\AppData\Local\Open
DroneLog\OpenDroneLog_trace.txt"
This is what I see on the console:
[50036:40776:0506/124809.689:ERROR:base\win\win_util.cc:1665] failed to set
WebView dpi awareness of 2: The segment is already unlocked. (0x9E)
[50036:40776:0506/124809.787:ERROR:components\optimization_guide\core\model_execution\performance_class.cc:68]
Edge LLM: Not supported on WebView2
[50036:40776:0506/124812.991:ERROR:components\device_event_log\device_event_log_impl.cc:248]
[12:48:12.989] USB: usb_service_win.cc:448 Failed to parse device interface
GUID:
[51072:50368:0506/125009.826:ERROR:base\win\win_util.cc:1665] failed to set
WebView dpi awareness of 2: The system could not find the environment
option that was entered. (0xCB)
[50036:40776:0506/125631.412:ERROR:components\device_event_log\device_event_log_impl.cc:248]
[12:56:31.412] USB: usb_service_win.cc:108
SetupDiGetDeviceProperty({{A45C254E-DF1C-4EFD-8020-67D146A850E0}, 6})
failed: Element not found. (0x490)
This is the gui (REMAINS IMPORTING)
[image: image.png]
And this is the content from the logfile:
[2026-05-06][10:48:10][open_dronelog::tauri_app][INFO] Initializing
database in: "C:\\Users\\J0279625\\AppData\\Roaming\\com.drone-logbook"
[2026-05-06][10:48:10][open_dronelog::battery_pairs][DEBUG] Found existing
battery-pair.json at
C:\Users\J0279625\AppData\Roaming\com.drone-logbook\battery-pair.json
[2026-05-06][10:48:10][open_dronelog::battery_pairs][DEBUG] Found existing
battery-pair.json at
C:\Users\J0279625\AppData\Roaming\com.drone-logbook\battery-pair.json
[2026-05-06][10:48:10][open_dronelog::battery_pairs][DEBUG] Loaded 0
battery pair definitions from
C:\Users\J0279625\AppData\Roaming\com.drone-logbook\battery-pair.json
[2026-05-06][10:48:10][open_dronelog::tauri_app][INFO] Loaded 0 battery
pair definitions
[2026-05-06][10:48:10][open_dronelog::tauri_app][DEBUG] No old data
directory found at "C:\\Users\\J0279625\\AppData\\Local\\
com.dji-logviewer.app"
[2026-05-06][10:48:10][open_dronelog::tauri_app][INFO] Active profile:
default
[2026-05-06][10:48:10][open_dronelog::database][INFO] Initializing DuckDB
at: "C:\\Users\\J\\AppData\\Roaming\\com.drone-logbook\\flights.db"
[2026-05-06][10:48:10][open_dronelog::database][DEBUG] Telemetry type
migration already completed, skipping
[2026-05-06][10:48:10][open_dronelog::database][INFO] Database schema
initialized successfully
[2026-05-06][10:48:10][open_dronelog::database][DEBUG] Startup
deduplication already completed, skipping
[2026-05-06][10:48:10][open_dronelog::database][DEBUG] Flight
customizations backfill already completed, skipping
[2026-05-06][10:48:10][open_dronelog::database][INFO] Starting post-startup
WAL checkpoint to clear large migration logs...
[2026-05-06][10:48:10][open_dronelog::database][INFO] Post-startup WAL
checkpoint & vacuum completed successfully in 0.0s
[2026-05-06][10:48:10][open_dronelog::plugins][DEBUG] Looking for custom
parser config at
"C:\\Users\\J\\AppData\\Roaming\\com.drone-logbook\\parsers.json"
[2026-05-06][10:48:10][open_dronelog::plugins][DEBUG] No parsers.json found
at "C:\\Users\\J\\AppData\\Roaming\\com.drone-logbook\\parsers.json"
[2026-05-06][10:48:10][open_dronelog::plugins][INFO] No custom parser
mappings registered (parsers.json not found or invalid)
[2026-05-06][10:48:10][open_dronelog::plugins][DEBUG] Looking for custom
parser config at
"C:\\Users\\J\\AppData\\Roaming\\com.drone-logbook\\parsers.json"
[2026-05-06][10:48:10][open_dronelog::plugins][DEBUG] No parsers.json found
at "C:\\Users\\J\\AppData\\Roaming\\com.drone-logbook\\parsers.json"
[2026-05-06][10:48:10][open_dronelog::tauri_app][INFO] Allowed import
extensions at startup: ["csv", "txt"]
[2026-05-06][10:48:10][open_dronelog::tauri_app][INFO] Open DroneLog
initialized successfully
[2026-05-06][10:48:10][open_dronelog::plugins][DEBUG] Looking for custom
parser config at
"C:\\Users\\J\\AppData\\Roaming\\com.drone-logbook\\parsers.json"
[2026-05-06][10:48:10][open_dronelog::plugins][DEBUG] No parsers.json found
at "C:\\Users\\J\AppData\\Roaming\\com.drone-logbook\\parsers.json"
[2026-05-06][10:48:10][open_dronelog::battery_pairs][DEBUG] Found existing
battery-pair.json at
C:\Users\J\AppData\Roaming\com.drone-logbook\battery-pair.json
[2026-05-06][10:48:10][open_dronelog::battery_pairs][DEBUG] Loaded 0
battery pair definitions from
C:\Users\J\AppData\Roaming\com.drone-logbook\battery-pair.json
[2026-05-06][10:48:10][open_dronelog::database][DEBUG] get_overview_stats:
0 flights, 0 batteries, 0 drones in 11.2ms
[2026-05-06][10:48:10][open_dronelog::tauri_app][DEBUG] get_overview_stats
complete in 11.8ms: 0 flights, 0m total distance
[2026-05-06][10:48:10][open_dronelog::database][DEBUG] get_all_flights: 0
rows in 14.4ms
[2026-05-06][10:48:10][open_dronelog::tauri_app][DEBUG] get_flights
returned 0 flights in 14.5ms
[2026-05-06][10:48:34][tao::platform_impl::platform::event_loop::runner][WARN]
NewEvents emitted without explicit RedrawEventsCleared
[2026-05-06][10:48:34][tao::platform_impl::platform::event_loop::runner][WARN]
RedrawEventsCleared emitted without explicit MainEventsCleared
[2026-05-06][10:48:35][open_dronelog::tauri_app][INFO] [SYNC][UI] Batch
processing started. | {"queueSize":1,"mode":"manual-import"}
[2026-05-06][10:48:35][open_dronelog::tauri_app][INFO] Importing log file:
C:\Users\J\Downloads\DJIFlightRecord_2026-02-26_[15-12-20].txt
So it seems to hang on the error shown on the console
The tracefile is empty
[image: image.png]
I hope this helps?
Jacques Schenk
Doornenburg 5
4385 EJ Vlissingen
Tel werk: +31 (0)113619422
Tel Gsm: +31 (0)619049485
mail prive: ***@***.***
mail werk: ***@***.***
Op vr 1 mei 2026 om 10:02 schreef Arpan Ghosh ***@***.***>:
… @jacquesschenk <https://github.com/jacquesschenk> Give this version a try
when ready :
https://github.com/arpanghosh8453/open-dronelog/releases/tag/3.3.0
This is using the reqwest library and should respect ENV variables when
properly set via http_proxy, HTTP_PROXY https_proxy, and HTTPS_PROXY :
https://github.com/arpanghosh8453/open-dronelog/releases/tag/3.3.0
Let me know if this works for you after upgrading.
—
Reply to this email directly, view it on GitHub
<#184 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALDTBPVZUEUWS3W6SSWL4H34YRK2NAVCNFSM6AAAAACYD2LNJCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTMNZXG44DINY>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
<arpanghosh8453/open-dronelog/repo-discussions/184/comments/16777847@
github.com>
|
|
Hi,
I can't test with proxifier here at work.
The logs on the proxy show no access attempts from the workstation towards
the internet during the test.
Jacques Schenk
Doornenburg 5
4385 EJ Vlissingen
Tel werk: +31 (0)113619422
Tel Gsm: +31 (0)619049485
mail prive: ***@***.***
mail werk: ***@***.***
Op wo 6 mei 2026 om 13:40 schreef Arpan Ghosh ***@***.***>:
… @jacquesschenk <https://github.com/jacquesschenk> Does it still work with
Proxifier? How long it hangs? Can you trace the request if it's hitting the
proxy server or not?
—
Reply to this email directly, view it on GitHub
<#184 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALDTBPUARBVIH7KU7D64KJT4ZMQBVAVCNFSM6AAAAACYD2LNJCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTMOBSGY3DANA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
<arpanghosh8453/open-dronelog/repo-discussions/184/comments/16826604@
github.com>
|
|
I checked again with Wireshark running on my computer alongside Open
Dronelog, but there is no traffic towards the proxy server address
Jacques Schenk
Op wo 6 mei 2026 om 13:40 schreef Arpan Ghosh ***@***.***>:
… @jacquesschenk <https://github.com/jacquesschenk> Does it still work with
Proxifier? How long it hangs? Can you trace the request if it's hitting the
proxy server or not?
—
Reply to this email directly, view it on GitHub
<#184 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALDTBPUARBVIH7KU7D64KJT4ZMQBVAVCNFSM6AAAAACYD2LNJCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTMOBSGY3DANA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
<arpanghosh8453/open-dronelog/repo-discussions/184/comments/16826604@
github.com>
|
|
[Open DroneLog.log](https://github.com/user-attachments/files/27482404/Open.DroneLog.log)
I ran the application again from an elevated command prompt with the
mentioned env settings, now I see in the log that the poxy is recognized,
but it seems the connection to DJI still can't be made.
Message ID:
… <arpanghosh8453/open-dronelog/repo-discussions/184/comments/16826604@
github.com>
|
|
Finally I found the solution to the problem:
the environment variable needs to be defined as follows:
Set https_proxy=http://xx.xx.xx.xxx:8080
so use https_proxy (with an s) as the variable name and in the proxy server address use http, NOT https
Thanks a lot guys, it is working now!!
|
|
You are welcome @jacquesschenk , thank you for testing and providing the logs! |
Uh oh!
There was an error while loading. Please reload this page.
I'm using 2 proxy servers for communication with the internet, one system wide proxy with authentication and one without authentication.
When importing logfiles, the import fails, the error says incompatible files, but the log says network error.
Although I do not understand the need for the application to access the internet, If it is a legitimate attempt, I need to somehow specify the proxy IP address and port. Where/how do I do this?
All reactions