Forums

Network Error (tcp_error)

I have built a flask application which runs keras and tensor flow models.The app is able to load the input html but when i am posting the request, it is not giving any response. The below is the error I am receiving in web page. I have checked the error logs but unable to resolve it.

Network Error (tcp_error)

A communication error occurred: "" The Web Server may be down, too busy, or experiencing other problems preventing it from responding to requests. You may wish to try again at a later time.

Backdrop: It is a image classification problem using Keras and tensor flow,so I have to load the image and get the results after classifying them.

Blockquote

What do you see in your error logs? That's probably the first step forward towards debugging this.

No errors were generated in error log file.These were the errors that were generated earlier, but I fixed this.

2018-08-13 04:36:10,162: If you're seeing an import error and don't know why, 2018-08-13 04:36:10,162: we have a dedicated help page to help you debug: 2018-08-13 04:36:10,162: https://help.pythonanywhere.com/pages/DebuggingImportError/ 2018-08-13 04:36:10,162: ********* 2018-08-13 04:38:14,367: OSError: write error 2018-08-13 04:38:14,370: Error running WSGI application 2018-08-13 04:38:14,370: GeneratorExit

But now when I am opening my application , i am not receiving any response. Just Iam receiving Network error.

It would be great if any one resolves this issue for me.

Please anyone can help in resolving this issue.

I visited your site just now, and got an error -- and a message definitely was written to the error log, relating to your code being unable to open a file. Are you looking at the right part of the error log? The most recent error is at the bottom of the file.