Jump to content

Farshad Mohajeri

Administrators
  • Posts

    12127
  • Joined

  • Last visited

  • Days Won

    811

Posts posted by Farshad Mohajeri

  1. 22 minutes ago, biff31337 said:

    I think so :)
    Thank you for your help and input.

    Yes, I checked the linked you posted and indeed nginx doesn't like underscores in header field names. We will change it in next build to something else.

  2. 20 minutes ago, biff31337 said:

    yep, underscores_in_headers on; did the trick, maybe you should pass the session ID without underscores in future releases...

    So problem is related to field name which is "_S_ID" ?

  3. 36 minutes ago, biff31337 said:

    In the final program, it also does not load the content of unidbgrids.

    the HandleEvent function returns:

    _clat_();window.onunload=null;try{enableWarnOnClose(false)}catch(e){};window.location="xxx";

    instead of:

    {"metaData":{"totalProperty":"results","root":"rows","fields":["0","_0","1","_1","2","_2","3","_3","4","_4","5","_5","6","_6","7","_7","8","_8","9","_9","10","_10","11","_11","12","_12","_s4","_sa4","_s11","_sa11","_x","_r"]},"success":true, "results":1, "rows":[{"id":0,"0":0,"_0":"","1":"Purged","_1":"{b:'#FFC0C0',fc:'#000080',fts:'font-weight:bold'}","2":"0:00:05:18","_2":"","3":64,"_3":"","4":1,"_4":"","5":4248,"_5":"","6":"pluggit.exe","_6":"","7":"","_7":"","8":"1.0.0.0","_8":"","9":"15/11/23 13:00:00","_9":"","10":"1.95.0.1575 - 7.5.1","_10":"","11":"0.00 MB - 61.48 MB","_11":"","12":"","_x":1,"_r":0,"_s4":"1\x3Cbr\x3E(2)","_sa4":"{fc:'#808080',fts:'font-weight:bold'}","_s11":"0.00 (0.01) MB\x3Cbr\x3E61.48 (61.48) MB","_sa11":"{fc:'#808080',fts:'font-weight:bold'}"}]}

    Yes, it happens because Sessions ID is missing in GET request. Starting from build 1574 session id is embedded in HTTP headers instead of being part of the URL. It seems that proxy server doesn't pass HTTP headers for GET requests.

  4. 21 hours ago, biff31337 said:

    Starting with version 1574 hyperserver and app did start to thow problems, i think there is a problem with websockets.

    Server looks like this, but no error in browser console. It works without reverse proxy.

    image.png.1dbfc9452224d3e5b73d23cee0e8bc40.png

    nginx config:

    location ~ / {
        proxy_pass http://127.0.0.1:8078;
        proxy_set_header Host             $host;
        proxy_set_header X-Real-IP        $remote_addr;
        proxy_set_header X-Forwarded-For  $proxy_add_x_forwarded_for;
        access_log off;
    }

     

    I tried to disable the websockets in hyper_server.cfg but no success. Also my client app does not work correctly.

    Hello,

    Do all dbgrids in your application work normally?

     

×
×
  • Create New...