Home > Back-end >  On ali cloud server websocket connection onOpen monitoring is less than
On ali cloud server websocket connection onOpen monitoring is less than

Time:11-07

Encounter strange questions, network test is good, can take to the userid:
@ OnOpen
Public void onOpen (Session Session, @ PathParam (" param ") String param) {
This. The session=session;
String STR=session. GetQueryString ();
String [] ss=STR. The split ("=");
The info (" received userid: "+ ss/ss. The length - 1);
This. Cur_user_id=Long. The valueOf (ss/ss. The length - 1);
Clients. The add (this);
}
After packaging on ali cloud is not, no logs,
Java version watched, are 1.8.0 comes with _261,

The great spirit guide, check where to start?
  • Related