Results 1 to 4 of 4
  1. #1
    Administrator
    Join Date
    Feb 2008
    Location
    Siracusa
    Posts
    147

    Create session internal error

    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?

  2. #2
    Administrator
    Join Date
    Feb 2008
    Location
    Siracusa
    Posts
    147
    Hi gramholo,

    could you please show us the console log produced by the PHP process?

    Thanks,
    Gianluca

  3. #3
    Hi Gianluca,

    I found the problem. I was using php 5.6 x64 instead of x86.

    You can close this threads.

    Thanks,
    gramholo

  4. #4
    Administrator
    Join Date
    Feb 2008
    Location
    Siracusa
    Posts
    147
    Thanks for your feedback!

    Regards,
    Gianluca

 

 

Similar Threads

  1. Replies: 1
    Last Post: June 13th, 2016, 10:01 AM
  2. Internal cause codes & Session callbacks
    By jonasby1 in forum General
    Replies: 4
    Last Post: February 16th, 2012, 08:47 AM
  3. LS Internal server error.
    By lisicnu in forum Adapter APIs
    Replies: 2
    Last Post: December 22nd, 2011, 02:28 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 04:31 AM.