【问题标题】:Method Not Allowed error after deploying python app on heroku在 Heroku 上部署 python 应用程序后出现 Method Not Allowed 错误
【发布时间】:2022-01-25 21:14:07
【问题描述】:

我已经报废了一个网站,报废后我已成功将其部署在 heroku 上。 但它给了我错误。 “方法不允许” 我无法理解该错误,请帮助我解决此错误。 这是我在 heroku 上部署的 python 应用程序的链接。 https://git.heroku.com/toscrape-scrape.git

【问题讨论】:

    标签: python heroku beautifulsoup


    【解决方案1】:

    您可以在这里找到您的应用 https://toscrape-scrape.herokuapp.com/ 而不是 https://git.heroku.com/toscrape-scrape.git

    您似乎还有其他错误,请检查您的日志。

    【讨论】:

    • 我也检查了这个,但它给了我应用程序错误
    • @NomanEjaz 你得到“方法不允许”,因为你访问了错误的链接。您收到应用程序错误是因为您的代码有问题。
    • 我该如何解决这个错误。
    • @NomanEjaz 在没有看到您的代码或不知道您到底做了什么的情况下,我无法帮助您。就像我说的,你需要检查你的日志。
    • 请通过以下链接。它可能会帮助你。 stackoverflow.com/questions/41804507/…
    猜你喜欢
    • 2018-08-16
    • 1970-01-01
    • 2015-01-08
    • 2021-03-25
    • 1970-01-01
    • 2017-06-14
    • 2018-10-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多