crazycooky77 / ci_project4

0 stars 1 forks source link

[BUG] XHR does not load consistently on Heroku #44

Open crazycooky77 opened 8 months ago

crazycooky77 commented 8 months ago

When using the Django Select2 dropdown to search the database for lego sets to add to a collection (Add Set function), this often fails on the Heroku platform specifically. The dropdown will show the message "The results could not be loaded", instead of showing the actual results (if present), or "The result could not be found" (search term not in database). This issue does not occur on GitPod, or locally. This is caused by XHR failing to load on Heroku, and seems to be due to network issues (on Heroku's side).

This issue will be resolved once the page is hosted on the developer's own webspace, rather than Heroku.

crazycooky77 commented 7 months ago

The app is additionally hosted on https://lego.elenaris-cookies.eu/ where this issue does not occur. The Heroku page will continue to be live until the project is graded.