Skip to content

TCP connection failed, code: -1 #182

Answered by mobizt
AsimaPrimaYohanaT asked this question in Q&A
Discussion options

You must be logged in to vote

Your database url is wrong.

#define DATABASE_URL "gps-tracker-7e2e5-default-rtdb.asia-southeast1.firebasedatabase.app/"

Why? The slash at the end.

You should be careful in programming.

Replies: 5 comments 16 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
16 replies
@mobizt
Comment options

@AsimaPrimaYohanaT
Comment options

@AsimaPrimaYohanaT
Comment options

@mobizt
Comment options

Answer selected by mobizt
@mobizt
Comment options

@AsimaPrimaYohanaT
Comment options

@mobizt
Comment options

@AsimaPrimaYohanaT
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants