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

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

    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

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

  • U041L3UV6UB
    U041L3UV6UB Posts: 8 πŸ§‘πŸ»β€πŸš€ - Cadet

    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

    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

    Okay sounds good. Thanks for the help!

  • U041L3UV6UB
    U041L3UV6UB Posts: 8 πŸ§‘πŸ»β€πŸš€ - Cadet

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

  • U04174Q4341
    U04174Q4341 Posts: 5 πŸ§‘πŸ»β€πŸš€ - Cadet

    Yes

  • fsmeier
    fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,051 βš–οΈ - Guardians (admin)

    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

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

  • U041L3UV6UB
    U041L3UV6UB Posts: 8 πŸ§‘πŸ»β€πŸš€ - Cadet

    Yeap that's how im trying to access it

  • U041L3UV6UB
    U041L3UV6UB Posts: 8 πŸ§‘πŸ»β€πŸš€ - Cadet

    just with the endpoints that are on the docs

  • fsmeier
    fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,051 βš–οΈ - Guardians (admin)

    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

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