OroCommerce Forums

Covering OroCommerce topics, including community updates and company announcements.

Forums Forums OroCommerce Widget content loading failed > the content must be served over HTTPS

This topic contains 11 replies, has 6 voices, and was last updated by  Guillaume Deneux 5 years, 12 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
  • #32773

    M G
    Participant

    admin/language/

    Hi all,

    Do you have any idea how to solve this issue ?

    when try add or update a language got this issue :
    oro.min.js?version=c1d4aa60:1521 Mixed Content: The page at ‘https://xxx/language/’ was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint ‘http://xxx/admin/actionwidget/form/oro_translation_language_update?_wid=eaa5565e-38b2-4422-ad52-29f32d957251&_widgetContainer=dialog&datagrid=oro-translation-language-grid&entityClass=Oro%5CBundle%5CTranslationBundle%5CEntity%5CLanguage&entityId=2&group%5B0%5D=&group%5B1%5D=datagridRowAction’. This request has been blocked; the content must be served over HTTPS.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Author
    Replies
  • #32774

    Dmitriy Pasechnik
    Participant

    Hi mgfrance20

    Do you access a site via https? Looks like a bug in our JS component.
    Can you give us a detailed steps of how do you get this error?

    #32775

    M G
    Participant

    hello
    connect in https
    then go to admin/language/
    then try add language
    or try upda added language

    thanks

    #32776

    Dmitriy Pasechnik
    Participant

    Hmm, tried to reproduce it on our demo site
    https://demo.orocommerce.com/admin/language/
    But looks like everything works fine.
    Cant see any errors or something.

    Can you give us some more information about your application?
    Maybe you have some customizations or something?

    BTW, did you use console or web installator to install the application?
    In case of console – which URL did you set during installation? started with http or https?
    Try to reinstall it using something like

    pay attention that ‘–application-url’ parameter must start with ‘https’.

    #32777

    M G
    Participant

    hello
    problem is solved
    but now new bug appear
    in htts
    in language / add language / any select
    error : Widget content loading failed
    thanks

    #32778

    msulima
    Moderator

    Hello, M G.

    I reproduced described problem on https connection. I’ll create ticket in our bug tracking system and will fix it in next release.
    The problem in https://github.com/oroinc/platform/blob/master/src/Oro/Bundle/ActionBundle/Resources/views/Operation/form.html.twig#L57 line. Should be 'action': app.request.requestUri, instead.

    Thank you for reporting issue.


    #32779

    Miguel Rincon
    Participant

    Hi msulima, we found occurrences of this bug in a few bundles: Workflow, UIBundle, NavigationBundle. Are all those bundles getting fixed as well?

    #32780

    msulima
    Moderator

    Hi, I suppose yes :)

    I added additional information from your message to ticket description.

    Thank you for your contribution of Oro products.


    #32781

    Guillaume Deneux
    Participant

    Hello to you,
    I currently have this problem on our site orocrm. I have to fix it, do you have more information about the patch to apply to fix it?
    Is it possible to have the issue number to be able to follow it?

    Thank you !

    #32783

    Andrey Yatsenko
    Moderator

    Hi there,

    The problem in https://github.com/oroinc/platform/blob/master/src/Oro/Bundle/ActionBundle/Resources/views/Operation/form.html.twig#L57 line. Should be ‘action’: app.request.requestUri, instead.

    this should be fixed for all files.

    we found occurrences of this bug in a few bundles: Workflow, UIBundle, NavigationBundle.

    #32785

    Andrey Yatsenko
    Moderator

    Just checked internal issue. Fix still not in master. So at current state you should override all the templates where it’s used manually.

    #32786

    Guillaume Deneux
    Participant

    My bad, i tried, but i removed the bad cache. It works, thank!

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

The forum ‘OroCommerce’ is closed to new topics and replies.

Back to top