Plugin Author
tinuzz
(@tinuzz)
Do you see requests coming from OruxMaps in the Apache/Nginx access log?
I am not sure what to search. When i use TrackMe i see in the log the login post and pass 🙂
Next what i see is this:
– [07/Mar/2017:17:05:34 -0500] “POST /wp/mapmytracks/ HTTP/1.1” 401 24 “-” “Apache-HttpClient/UNAVAILABLE (java 1.5)”
Can be this for the OruxMaps ?
Or what exactlz i need to search, what sentance ?
-
This reply was modified 9 years, 3 months ago by
nebulacz.
Plugin Author
tinuzz
(@tinuzz)
Yes, that request is most likely coming from OruxMaps.
In the WP admin, Trackserver Options, you can configure the ‘MapMyTracks URL slug’, which is ‘mapmytracks’ by default. It also shows the full URL for updates, the one that you configured in OruxMaps. OruxMaps will POST to that URL, so that’s what you should be looking for in the logs.
I think (not 100% sure) that it is normal to see a 401 first, followed by the same request with a 200 status code, because the client first sends the request without an Authorization header, and only in response to the 401 will it send the credentials.
Do you see any ‘POST /wp/mapmytracks/’ requests with a status other than 401?
If not, you most likely mistyped your WordPress username or password in OruxMaps.
Cheers,
Martijn.
Unfortunily no, only 401, the slug i also tried to edit: mob, same result was. I am 100% sure that user and password are corect. i made also a other user and password (not admin) same result. Strange is that with TrackME all is ok. Only the Orux is doing this problem.
The app is not saing some error only save to mapmytrack … no error. But in WP nothing saved.
no problem, how i can deliver the user / passoword to you ?
Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
*Reads* Darn it, now I have to go through all of the author’s replies in the forums and check…
no problem, how i can deliver the user / passoword to you ?
You don’t and if @tinuzz does log into your site then that would get the author into trouble here.
@tinuzz I’ve deleted your offer to login to your user’s site. I’m am 100% sure you mean well but please never ask for credentials on these forums.
http://codex.ww.wp.xz.cn/Forum_Welcome#The_Bad_Stuff
Now for the why: The internet is a wonderful place full of very nice people and a few very bad ones. I’m sure everyone here is very nice however, by giving some ones keys to your house you are trusting they wont steal anything. Likewise the person who takes the keys is now responsible for the house FOREVER.
If something was to go wrong, then you the author may well legally become liable for damages, which they would not normally have been as their software is provided without warranty.
Please be aware that repeatedly asking for credentials will result in us asking you to repeatedly stop before escalating up to the plugins team.
Plugin Author
tinuzz
(@tinuzz)
Hi,
It seems the Authorization header doesn’t reach PHP.
Do you run PHP via FastCGI behind Nginx? If so, can you add
fastcgi_pass_header Authorization;
right where you have the ‘fastcgi_pass’ directive for PHP?
Cheers,
Martijn.
Plugin Author
tinuzz
(@tinuzz)
@jdembowski I appeciate your notes about forum rules, thank you. However, I wasn’t really asking for an admin account, so maybe it wasn’t that bad.
Cheers,
Martijn.
Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
This is what you wrote.
If you can give me an author account on your WP instance, I can see if there is really a problem with Trackserver.
Don’t request any account on the site. That’s going to far and please don’t do that again.
Sorry i dońt know where to add this 🙁
fastcgi_pass_header
Can you guide me?
-
This reply was modified 9 years, 3 months ago by
nebulacz.
Hi, so we have now there fastcgi_pass_header Authorization; to nginx, but still no function 🙁
Plugin Author
tinuzz
(@tinuzz)
Hi,
I am sorry, I don’t know what to tell you. I am quite sure this is a problem with your setup, and not a problem with Trackserver.
If you want to test the setup in an efficient way (without going for walks with OruxMaps ;-)), you can do it with cURL like this:
curl -v -X POST -u <username>:<password> -d request=start_activity -d title=test http://kozlycl.cz/wp/mapmytracks/
If you specify a valid username and password, this should normally return a 200 status, output something along the lines of
<?xml version="1.0" encoding="UTF-8"?><message><type>activity_started</type><activity_id>123</activity_id></message>
and give you a track in the Trackserver database.
Beyond that, I’m afraid I cannot help you with your Nginx configuration.
Cheers,
Martijn.
strange part is:
curl -v -X POST -u ok:ok -d request=start_activity -d title=test http://kozlycl.cz/wp/mapmytracks/ gives same result like
curl -v -X POST -u ok:nok -d request=start_activity -d title=test http://kozlycl.cz/wp/mapmytracks/
but a long list when i do
curl -v -X POST -u <username>:<password> -d request=start_activity -d title=test http://kozlycl.cz/wp/mapnok/
the mapnok is not existing
Plugin Author
tinuzz
(@tinuzz)
I’m sorry, I don’t understand your last message.
Best regards,
Martijn.