Page 1 of 1

[resolved] How can I see the request being sent to the server?

Posted: Fri Apr 14, 2023 4:03 pm
by jidanni
How can I see the request being sent to the server?

How can I be sure the application is sending what I think it should be sending?

Is it some setting in
https://www.offline-maps.net/en/help/se ... r-settings ?

It's hard to read on a cell phone.

No, all the method on viewtopic.php?t=2307 shows for us in Details is 404. But we want to see what the URL that caused it looks like. And also the User-Agent.

Re: How can I see the request being sent to the server?

Posted: Sat Apr 15, 2023 9:13 am
by jidanni
Not that I am just moving the map around on the screen, not downloading a rectangle.
https://www.offline-maps.net/en/help/se ... r-settings suggests
core.logs.verbose=true
But alas, still no showing network traffic!

Sure, you might say that traffic is shown on the map itself, via little messages.

But that's not enough. We want to see the HTTP request content.

Re: How can I see the request being sent to the server?

Posted: Sat Apr 15, 2023 9:36 am
by jidanni
We see

Code: Select all

maps.debug	Boolean	0 / false	
Activate the debug mode for maps: increases logs for maps and displays map tile bounds and coordinates.
but that means we must try it to see if it will show us the HTTPS traffic, because we can't tell from just reading that...

Re: How can I see the request being sent to the server?

Posted: Sat Apr 15, 2023 9:51 am
by jidanni
OK, maps.debug does indeed put the request in the log file!!
Do mention that here,
# https://www.offline-maps.net/en/help/se ... r-settings
# https://www.alpinequest.net/en/help/v2/ ... r-settings

Also the tile numbers are the same general numbers, no matter what map.
So mention that too.

Re: How can I see the request being sent to the server?

Posted: Wed Apr 26, 2023 1:57 pm
by Psyberia-Support
I've updated the online help:
# Activate the debug mode for maps: log custom variables evaluations ​and tiles requests, draw on the screen ​the tiles bounds and coordinates of all displayed maps.