Calling Developers!
We are reenergizing our code contribution process! Learn More

The container is running on docker and I can only reach the backoffice endpoint

Options
U041L3UV6UB
U041L3UV6UB Posts: 8 🧑🏻‍🚀 - Cadet

The container is running on docker and I can only reach the backoffice endpoint

Tagged:

Comments

  • U04174Q4341
    U04174Q4341 Posts: 5 🧑🏻‍🚀 - Cadet
    Options

    is your hosts file on wsl machine and windows setted up, and beter have each hostname on windows hosts file in new line with ip

  • U04174Q4341
    U04174Q4341 Posts: 5 🧑🏻‍🚀 - Cadet
    Options

    because I had almost same problem and it was windows hosts file

  • U041L3UV6UB
    U041L3UV6UB Posts: 8 🧑🏻‍🚀 - Cadet
    Options

    Okay that seemed to do the trick for the most of them.
    But for the Glue API I am getting an error:

    {"errors":[{"status":404,"detail":"Not Found"}]}
    
  • U04174Q4341
    U04174Q4341 Posts: 5 🧑🏻‍🚀 - Cadet
    edited September 2022
    Options

    yeah i get the same, but if other hostname works i think it is okay, as my understanding, you have to pass params and correct endpoint to glue api to get response, just entering hostname gives nothing

  • U041L3UV6UB
    U041L3UV6UB Posts: 8 🧑🏻‍🚀 - Cadet
    Options

    Okay sounds good. Thanks for the help!

  • U041L3UV6UB
    U041L3UV6UB Posts: 8 🧑🏻‍🚀 - Cadet
    Options

    Are you also getting a 500 on the backend api and the backend gateway?

  • U04174Q4341
    U04174Q4341 Posts: 5 🧑🏻‍🚀 - Cadet
    Options

    Yes

  • fsmeier
    fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,018 ⚖️ - Guardians (admin)
    Options

    Hey, for the glue api this is normal since there is no route defined for this call. so the 404 is correct.

    how are you trying to call backend gateway and backend api?

  • U04174Q4341
    U04174Q4341 Posts: 5 🧑🏻‍🚀 - Cadet
    Options

    I suspect he calls with hostname link provided in spryker.local dashboard just trying to open it

  • U041L3UV6UB
    U041L3UV6UB Posts: 8 🧑🏻‍🚀 - Cadet
    Options

    Yeap that's how im trying to access it

  • U041L3UV6UB
    U041L3UV6UB Posts: 8 🧑🏻‍🚀 - Cadet
    Options

    just with the endpoints that are on the docs

  • fsmeier
    fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,018 ⚖️ - Guardians (admin)
    Options

    for both of them i get ootb also “no route found” which makes sense for me - no route for “/” defined

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice
    Options

    I was told that it's already there in the installation guide.