OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums Forums OroCRM OroCRM – How do I? Questions "Widget content loading failed" when trying to change language

This topic contains 6 replies, has 3 voices, and was last updated by  Bernhard T 5 years, 9 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #29221

    KnutFr
    Participant

    Hi,

    I have an issue when I’m trying to change my language (same issue with any language) here is a screenshot without loading mixed content :

    First crash, without mixed content loaded

    And here the screenshot of javascript console just before loading of mixed content.

    First crash, without mixed content loaded

    I’m running my app in a particular environnement (Docker via (https://github.com/djocker/orocrm) / SSL with Letsencrypt.

    I have added schemes https to oro_expose routing like that :

    Did I do something wrong ?

    Thanks,
    Adrien STEFANSKI

Viewing 6 replies - 1 through 6 (of 6 total)
  • Author
    Replies
  • #29222

    KnutFr
    Participant

    Here more information :

    This issue can be reproduce with any forms contained in modal. For example i have exactly the same issue when i’m trying to mail someone from his profil :

    Crash on mail

    However, when I try to directly access the form url (on HTTPS mode), it works great (idem for adding a language, access directly by url works…) but with basic access, “Widgets loading failed” each time.

    Regards,
    Adrien STEFANSKI

    #29223

    Mike Kudelya
    Participant

    Hi

    I have setup https on local machine (1.10 and 2.0) and i can’t reproduce your case. Can you provide steps to enable https on your docker image ?

    #29224

    KnutFr
    Participant

    Hi,
    I use a docker container reverse-proxy : https://github.com/jwilder/nginx-proxy
    and this container : https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion to enable SSL with let’s encrypt
    and I add environments parameters to my crm container to set the SSL (VIRTUAL_HOST, LETSENCRYPT_HOST & LETSENCRYPT_EMAIL).

    Thanks

    Adrien

    #29225

    KnutFr
    Participant

    Anyone with the same issue ?

    Thanks
    Adrien

    #29226

    Mike Kudelya
    Participant

    Hi

    Would it be possible for you to send me an archive with a docker directory to mkudelia@oroinc.com or give a link to it a file storage? I will do my best to find out what the problem is. Thank you!

    #29227

    Bernhard T
    Participant

    Hi Adrian,

    we had the same problem today with a similar setup (orocrm running in a http container which can only be accessed via a https proxy which isusing letsencrypt)

    The bug seems to be that orocrm asks the local server and not the querying browser which protocol is currently being used.

    The solution was rather simple: make orocrm believe it’s running on a https server.
    To that end I edited /etc/nginx/fastcgi_params on the container running orocrm.
    Diff attached

Viewing 6 replies - 1 through 6 (of 6 total)

The forum ‘OroCRM – How do I? Questions’ is closed to new topics and replies.

Back to top