mendhak / gpslogger

:satellite: Lightweight GPS Logging Application For Android.
https://gpslogger.app
Other
1.97k stars 606 forks source link

Sending tracking data to custom remote URL is not working #827

Open akozhanov opened 4 years ago

akozhanov commented 4 years ago

Dear @mendhak , the app perfectly sends tracking data to a local service endpoint within my home work, however, cannot send it to the same service deployed remotely at GCP. Tried using both the domain name and the IP address. I have checked the remote service (same URL) manually by sending the same HTTP GET request. Attached is the debuglog file with the error & stacktrace. Thanks a lot for your effort! Best regards, Andrew. debuglog.txt

alfski commented 4 years ago

Hi, using GPSlogger to send gps data to custom URL works for me ok on both home network and Internet-hosted endpoint. Looking at the debug log it's likely your remote Internet server has a firewall blocking the HTTP post from getting to port 10000. Try setting up your endpoint on standard port :80 or :443.

ava.net.SocketTimeoutException: failed to connect to /216.239.36.53 (port 10000) from /192.168.1.89 (port 44750) after 10000ms

Alfski