Original post from user "gramholo":
Hello,
I am trying to run PHP chat example from github.
I followed all steps and when I try to connect to server with client I get this error in server console
Code:
03.Jul.18 15:03:57,045 < INFO> Server "Lightstreamer HTTP Server" listening to *:8282 ...
03.Jul.18 15:05:03,300 <ERROR> Exception caught while checking authentication for user 'null': Connection closed while facing request 200000164603e0803
and this in browser console
Code:
POST http://localhost:8282/lightstreamer/create_session.js 500 (Internal Server Error)
and this request data in network tab
Code:
- General
-
- Request URL:
http://localhost:8282/lightstreamer/create_session.js
- Request Method:
POST
- Status Code:
500 Internal Server Error
- Remote Address:
[::1]:8282
- Referrer Policy:
no-referrer-when-downgrade
- Response Headersview source
- Access-Control-Allow-Credentials:
true
- Access-Control-Allow-Origin:
http://localhost:8282
- Connection:
close
- Content-Length:
0
- Date:
Tue, 3 Jul 2018 13:06:27 GMT
- Server:
Lightstreamer-Server/7.0.1 build 1885 (Lightstreamer Server - www.lightstreamer.com) ENTERPRISE edition
- x-accel-buffering:
no
- Request Headersview source
- Accept:
*/*
- Accept-Encoding:
gzip, deflate, br
- Accept-Language:
en-US,en;q=0.9
- Connection:
keep-alive
- Content-Length:
189
- Content-Type:
application/x-www-form-urlencoded
- Host:
localhost:8282
- Origin:
http://localhost:8282
- Referer:
http://localhost:8282/chat/
- User-Agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36
- Form Dataview sourceview URL encoded
- LS_op2:
create
- LS_phase:
10081
- LS_cause:
nullresp
- LS_polling:
true
- LS_polling_millis:
0
- LS_idle_millis:
0
- LS_cid:
pcYgxn8m8 feOojyA1T671i3g2.pz479lDw
- LS_adapter_set:
PROXY_PHPCHAT
- LS_container:
lsc
- [COLOR=rgba(84, 84, 84, 0.5)](empty)
Can someone tell me where the problem is?
Bookmarks