Use a framework to encounter problems, the search methods are tried, can't solve, what to do

Source: Internet
Author: User
Tags error code freeswitch

I use FreeSWITCH, the first is the use of configuration files, using script LUA development, etc., often encounter strange problems do not know how to solve, the final solution is to look at the underlying code.

Today deploying Forkdelta on the test network, encountering strange problems, the service side always return 400 errors, and finally decided to look like when learning FreeSWITCH, the underlying code, because the server using Python 3.6 Docker Alpine version, cannot change the inside file, Finally, in Dockerfile, the user root was used to get permission to print in front of the error code: Console.log (...), found to be encrypted binary, 400 means the server cannot parse, so try to let the client do not send the WSS address, and then try, Directly change the Main.js code, let secure directly to false, no, look at the Chrome console log, found that the connection using HTTPS, so I main.json the configuration file inside, the server address is changed to HTTP, it is resolved.

Focus: View the underlying code

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.