vtiger-demo icon indicating copy to clipboard operation
vtiger-demo copied to clipboard

Illegal request

Open ebauger opened this issue 6 years ago • 7 comments

I use the latest version of vtiger-demo (javanile/vtiger:7.1.0)

At the login and other menu a got this message.

image

Solutions : https://www.vgsglobal.com/blog/vtiger-illegal-request-error/

ebauger avatar Oct 25 '19 21:10 ebauger

Hi @ebauger, could you please set this:

environment:
      - VT_SITE_URL=http://localhost:8080
      - MYSQL_HOST=mysql
      - MYSQL_DATABASE=vtiger
      - MYSQL_ROOT_PASSWORD=secret

To set in the right way Vtiger SITE URL use the proper environment variable VT_SITE_URL

francescobianco avatar Oct 27 '19 23:10 francescobianco

Giving up on vtiger - a demo in my eyes should run immediately. Problems I encountered:

  • Illegal request popup => changed URL in docker-compose as mentioned here to http://localhost:8080
  • The change above resulted in a endless http loop, thus browser complains too many redirects (see screenshot) vtiger-endless-redirect => after inspecting the default.conf for nginx, changed URL mentioned above again to https://localhost/
  • This resulted in an SSL error: SSL_ERROR_RX_RECORD_TOO_LONG => added TSLv1.3 in the default.conf
  • finally got it working by going to https://localhost/

Lost a lot time for a simple demo :disappointed:

rdehuyss avatar Sep 18 '20 08:09 rdehuyss

Actually it is a bit confusing. But I got it working by just using your last tip @rdehuyss:

finally got it working by going to https://localhost/

Then you have to add an SSL exception for localhost in the browser and it just works.

I guess the README should be changed to say

3. Visit `http://localhost/` login with username `admin` and password `admin`. If your browser complains about SSL, add an exception for localhost.

dpoetzsch avatar Oct 14 '20 14:10 dpoetzsch

Could you fix it so that I could use it after I run docker-compose? I am a first-time user and is having this problem.

jakepu avatar Nov 16 '20 02:11 jakepu

@jakepu I created an alternative Dockerfile only which runs all services on the same host , for demo purposes only here https://github.com/nileio/vtiger-crm

nileio avatar May 27 '21 13:05 nileio

@jakepu I created an alternative Dockerfile only which runs all services on the same host , for demo purposes only here https://github.com/nileio/vtiger-crm

I can't run your demo

rt1e avatar Aug 04 '22 13:08 rt1e

I had a similar issue today "Illegal request" -> tried the solution proposed above but didn't manage to have it working :/ image

Merwanski avatar Jan 02 '24 09:01 Merwanski