I have tried to get PositionReport using your API recently in C#. I can get expected results if I put MMSI given in the example from your document in input. I then chose ~15 valid MMSIs that all positions are near coasts, only two ships can get results. My first question is that is this the normal rate to get position information from your AIS data?
The worst problem is that if I input MMSI one by one, for those two that can display result, they are ok. But for remains, I can not only get any response from API, but it also stuck the program, waiting on break point, seems forever; connection is never closed by timeout?
I am not sure where I am doing wrong and what happens on the server side for these "NOT Found" (I guess) vessels. It would be great help if you can give some advice to understand and solve my problem.
Many thanks
Hi AISStream development team
I have tried to get PositionReport using your API recently in C#. I can get expected results if I put MMSI given in the example from your document in input. I then chose ~15 valid MMSIs that all positions are near coasts, only two ships can get results. My first question is that is this the normal rate to get position information from your AIS data? The worst problem is that if I input MMSI one by one, for those two that can display result, they are ok. But for remains, I can not only get any response from API, but it also stuck the program, waiting on break point, seems forever; connection is never closed by timeout? I am not sure where I am doing wrong and what happens on the server side for these "NOT Found" (I guess) vessels. It would be great help if you can give some advice to understand and solve my problem. Many thanks