Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Illegal request #5

Open
ebauger opened this issue Oct 25, 2019 · 7 comments
Open

Illegal request #5

ebauger opened this issue Oct 25, 2019 · 7 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@ebauger
Copy link

ebauger commented Oct 25, 2019

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/

@francescobianco
Copy link
Member

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

@rdehuyss
Copy link

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 😞

@dpoetzsch
Copy link

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.

@jakepu
Copy link

jakepu commented Nov 16, 2020

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.

@nileio
Copy link

nileio commented May 27, 2021

@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

@rt1e
Copy link

rt1e commented Aug 4, 2022

@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

@Merwanski
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

8 participants