Search results

  1. mshzsh

    How to get debugging logs

    Hi guys, i need to get django debugging logs, like this print('hello world this is my paramms') but only access.log and errors.log are shown. I tried these but it did not work : errorlog $VH_ROOT/logs/error.log { useServer 0 logLevel DEBUG rollingSize...
  2. mshzsh

    failed (104: Connection reset by peer) while reading response header from upstream

    hi guys, I use kong api gateway and I get this error when I give the URL of the site that uses the OLS web server : [error] 12683#0: *247145 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 127.0.0.1, server: kong, request: "GET /kong4...
  3. mshzsh

    Non-English paths not working

    I edited the following file and changed the "encoding('iso-8859-1')" in the "get_bytes_from_wsgi" method to "encoding('utf-8')" and the problem was solved, but this is not a good solution Please let me know if anyone finds a suitable solution ;)...
  4. mshzsh

    Non-English paths not working

    Hi guys, I'm using django and the ols wsgi Server App. but when I use non-English letters in the path of files, I get an error of 500. of course, in the context settings, I set the "Add Default Charset" option to "on" and set the "Customized Default Charset" to "utf-8", but it still didn't work...
  5. mshzsh

    App Server Environment not work

    @diegoa Yes, I received the same
  6. mshzsh

    App Server Environment not work

    Hi @diegoa I finally used the system python env without a virtualenv. Of course, I also tried debian 10 with python 3.7.3, but it still failed!
  7. mshzsh

    App Server Environment not work

    The "killall lswsgi" command worked fine, thank you! I will notify you whenever i fixed the virtualenv problem on VPS ;)
  8. mshzsh

    App Server Environment not work

    thanks Eric, I tested with several different VPS but I had the same problem, and of course I don't want to use cloud servers. I have another problem that when I edit the settings.py file, the changes are applied with a delay of a few hours, even if I restart the server. But this does not happen...
  9. mshzsh

    App Server Environment not work

    hi, I tried many times to run django with virtualenv on OpenLightSpeed, but I didn't succeed and I couldn't find a solution on the Internet. Of course, if I don't use virtualenv and install the packages on the main python system, the problem will be solved, but I need to use virtualenvs...
Top