ssossossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

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

This topic contains 5 replies, has 2 voices, and was last updated by Mike Kudelya Mike Kudelya 1 month, 3 weeks ago.

  • Creator
    Topic
  • #58109

    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
  • #58110

    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

    #58111
    Mike Kudelya
    Mike Kudelya
    Moderator

    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 ?


    #58112

    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

    #58113

    KnutFr
    Participant

    Anyone with the same issue ?

    Thanks
    Adrien

    #58114
    Mike Kudelya
    Mike Kudelya
    Moderator

    Hi

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


    #79193

    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)

You must be logged in to reply to this topic.

You will be redirected to [title]. Would you like to continue?

Yes No
ssossossossosso