PHP Code:
03-Jul-20 07:23:00,595|INFO |L.requests |SERVER POOLED THREAD 5 |Serving request: /lightstreamer/create_session.js --> LS_op2=create&LS_phase=7175&LS_cause=failure.status0&LS_polling=true&LS_polling_millis=0&LS_idle_millis=0&LS_cid=pcYgxn8m8 feOojyA1T661j3g2.pz479h7m&LS_adapter_set=WLSTOCKLIST_REMOTE&LS_container=lsc& on "Lightstreamer HTTP Server" from 1.23.1.245:6296203-Jul-20 07:23:00,595|ERROR|L.requests |SERVER POOLED THREAD 5 |Unexpected error in notifyUser: Connection closed while facing request d9000001731456c5df:03-Jul-20 07:23:00,595|ERROR|L.connections |SERVER POOLED THREAD 5 |Failure in request processing: External error while managing the request: Unexpected error in notifyUser: Connection closed while facing request d9000001731456c5df.
I have installed LS server in Linux centos 7 and I have started LS server and my remoter adapter. When I check connecting LS server and adapter with my client it's showing the error like
- Request URL:
http://209.59.158.15:8080/lightstreamer/create_session.js
- Request Method:
POST
- Status Code:
500 Internal Server Error
- Remote Address:
209.59.158.15:8080
My notifyuser method looks like,
PHP Code:
public void notifyUser(String user, String password, Map<String, String> httpHeaders) throws AccessException { String origin = httpHeaders.get("origin"); String un = httpHeaders.get("username");
if ((origin == null) || VALUES.contains(origin)) { if ((un == null) || !un.equalsIgnoreCase("lmxwinbulllite")) { throw new AccessException("Invalid User Access"); } } else { if ((un == null) || !un.equalsIgnoreCase("lmxwinbullliteapp")) { throw new AccessException("Invalid User Access"); } }
}
Can you please help me on this what might be the issue?
Bookmarks