Posted: January 17, 2017 at 5:56 pm
I have a strange one: We are able to successfully log into the ticketing app using Application Passwords on Android and view events and registrations, however, when we try to perform the “Check-In” action on events and individual registrations, we get the error “Connection Error. Unable to load data” after a moment. One of my client’s assistants had an older version of the app on a tablet that was able to perform the check-in action (before it updated automatically), and she was able to perform the action on an iOS device. I’m also able to successfully POST to:
Successful Postman request Unsuccessful App request The log format is: WordPress Version: 4.7.1 I can provide any logins you need. |
|
Can you check with the host to see if there is a load balancer set up, and is set to timeout after 60 seconds? |
|
No loadbalancer, and the 499 error happens usually within seconds. After doing some more research, I looked into okhttp, the client used by the app for HTTP. I could tell through the http_user_agent string that was being used. Going through the reported issues, I came across this, which read exactly like the issue I was describing: https://github.com/square/okhttp/issues/2506 Which led me to believe the nginx 1.10.1 version supplied for Ubuntu 16.04 through the stable channel was causing the problem due to a broken http/2 implementation. I updated to the mainline in /etc/apt/sources.list deb http://nginx.org/packages/mainline/ubuntu/ xenial nginx then needed to: apt-get remove nginx-common After restart nginx, the issue is gone, and the app works great. It may be a good idea to put this somewhere that anyone using Ubuntu 16.04 and the repository provided nginx 1.10.1 the app checkin may be broken due to the POST issue, perhaps more elegantly than I put it. Thanks! |
|
Thanks for the update. We’ll add what you found to the troubleshooting checklist. |
|
The support post ‘Ticketing App – NGINX 499 error on Check-In Only’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.