Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tutorial suggestions/questions #116

Open
semlanik opened this issue May 31, 2020 · 2 comments
Open

Tutorial suggestions/questions #116

semlanik opened this issue May 31, 2020 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@semlanik
Copy link
Owner

Please leave to feedback for QtProtobuf tutorial here

@semlanik semlanik added question Further information is requested feature New feature to be implemented labels May 31, 2020
@semlanik semlanik self-assigned this May 31, 2020
@semlanik semlanik removed the feature New feature to be implemented label Jun 17, 2020
@rxr7
Copy link

rxr7 commented Jul 14, 2020

Thanks for the QtProtobuf tutorial. Especially the clienttutorial really helped me getting started.

However, I ran into some troubles right away when trying to send messages between a simple client and a simple server. I hope that maybe you can help me out.

I wrote a simple client closely following the QtProtobuf clienttutorial. The server is written following a tutorial from the gRPC website: gRPC C++ Basics Tutorial.

When sending messages between the two I get the following error message on the client side:

setCachingEnabled:  11  bytesDownloaded
QNetworkReplyImpl: backend error: caching was enabled after some bytes had been written

It seems like the client is trying to enable disk caching after it already started reading the messages. On the server side everything seems to be okay. Is there a way to enable disk caching as a workaround, e.g., as option when defining the client?

Unfortunately, there is not much information on the internet about this error. In a completely different context this error seems to be related to a (high-speed) connection on localhost: ariya/phantomjs#13165. I ran the client and server on different machines to test this. However, I still get the error.

I am happy to provide some code if it helps.

Thank you for your help.

@semlanik
Copy link
Owner Author

semlanik commented Jul 14, 2020

@rxr7, it's internal issue in Qt. I quite not sure what it is related to, but I simply ignore it. It doesn't have any effect on QtProtobuf work, per my experience. If it cause any issue for you probably it's time to submit issue to Qt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants