Web Shop Vue Storefront response 405

Hi Cédric!.. I’m also playing with the module (I’ve done both: replaced /api and set autoRefreshTokens in VSF local.json ), but for some reason Tryton is responding with a 405 msg to the request made by VSF… is it something related to authentications? should I somehow create an api key to be used by VSF?. Here the relevant log entry:

[2021-05-04 14:19:17,723] INFO werkzeug 127.0.0.1 - - [04/May/2021 14:19:17] "GET /t60lab/web_shop_vue_storefront/Amazing.com/catalog/vue_storefront_catalog/attribute/_search?_source_include=activity%2Cattribute_code%2Cattribute_id%2Cdefault_frontend_label%2Cdefault_value%2Centity_type_id%2Cfrontend_input%2Cfrontend_label%2Cid%2Cis_user_defined%2Cis_visible_on_front%2Cis_visible%2Cis_comparable%2Coptions%2Ctier_prices&from=0&request=%7B%22query%22%3A%7B%22bool%22%3A%7B%22filter%22%3A%7B%22terms%22%3A%7B%22attribute_code%22%3A%5B%22color%22%2C%22erin_recommends%22%2C%22price%22%2C%22size%22%2C%22activity%22%2C%22final_price%22%2C%22id%22%2C%22image%22%2C%22name%22%2C%22new%22%2C%22original_price%22%2C%22original_price_incl_tax%22%2C%22price_incl_tax%22%2C%22product_links%22%2C%22sale%22%2C%22sku%22%2C%22special_price%22%2C%22special_price_incl_tax%22%2C%22special_from_date%22%2C%22special_to_date%22%2C%22status%22%2C%22tax_class_id%22%2C%22tier_prices%22%2C%22type_id%22%2C%22url_path%22%2C%22url_key%22%5D%7D%7D%7D%7D%7D&size=150&sort= HTTP/1.1" 405 -

It looks like you have replace the API for the elasticsearch to point to Tryton. The web_shop_vue_storefront module does not implement the elasticsearch queries. They must still be directed to the elasticsearch instance.

Thank you Cédric!.. indeed, that was the problem,

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.