Code Monkey home page Code Monkey logo

Comments (5)

git-avc avatar git-avc commented on June 23, 2024

Hi @swartzlib7:

Check your site_config.json
Is there host entry like this?

"host_name": "https://test.myhost.com"

Hope this helps.

from frappe.

swartzlib7 avatar swartzlib7 commented on June 23, 2024

Thank you for helping me!

I tried this, but get an empty config file. I tried adding the JSON, but still no luck. I also tried the common config file which did have some contents, but also didn't work.

sudo docker run --rm -it -v frappe_docker_sites:/sites alpine vi /sites/site_config.json

I just connected to the back-end container and confirmed that both site_config.json and the common config has both the https version of the host name inside. This may very well be a bug. The site is operational on https, but the OAuth Redirect URL is on http.

Can this be reproduced? I'm running ERPNext v15.14.3

from frappe.

git-avc avatar git-avc commented on June 23, 2024

Hi @swartzlib7:

Each site has their own site_config.json ... so right path should be

/sites/yoursite/site_config.json

It's empty?

from frappe.

swartzlib7 avatar swartzlib7 commented on June 23, 2024

Hi @git-avc,

thank you. I was looking in the wrong place. I see what you mean - there is a site directory named according to the site name I configured during installation. I updated it and it's working!

I appreciate your help.

image

image

from frappe.

swartzlib7 avatar swartzlib7 commented on June 23, 2024

Above solution fixed this for me. Thanks again.

from frappe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.