aisstream / issues

8 stars 3 forks source link

cannot get response from API #89

Open jwyao2004 opened 4 months ago

jwyao2004 commented 4 months ago

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

aisstream commented 4 months ago

Could you clarifying if you are able to get data at all for the missing MSSI ? It is likely there is just no coverage for those particular vessels.