Tips for using Flex to connect Python backend (original)

Source: Internet
Author: User
When using Flex to connect to the python background, a channel is often displayed. connect. failed error netconnection. call. failed: http: Status 500: URL: 'http: // localhost: 8080/webblog/gateway. If you have never touched this, you may feel confused. Let me talk about it .. Debugging the connection between flex and Python backend databases last night took a long time, because this problem was encountered. I put Python CodeAfter reading it all over again, I feel right. I don't know how to debug in Python ProgramSo I don't know if the python program is wrong.
Solution: place the URL in the error in the browser and you will find that the browser prompts a python error. Hey hey ~ Follow it to find the root cause of the error. Note that the http: Status 500 error is generally a program error, so once this error is encountered, check the errors in the program first.
I found that when I learned Flex + Django + python, I found many "shanzhai" methods and gained a lot of experiences. Haha... Although these methods are not the best, they are all my experiences in learning and exploring and worth remembering. Hope you can become stronger in the future ~~ Roar ~~~

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.