Retrofit 2 Working In Postman And Localhost But Not On Amazon Aws Live Server
My retrofit instance is working fine with localhost (both android code and postman), and working fine online with postman. But when I go to Amazon AWS instance (a.k.a online) the
Solution 1:
Finally found the solution after searching the net... The issue was file size
I am on php 7 and Apache. So the configuration needs to changed at two places
The configuration
upload_max_filesize = 25M
post_max_size = 25M
max_execution_time = 300max_input_time = 300memory_limit = 128M
The locations
sudo nano /etc/php/7.0/fpm/php.ini
sudo nano /etc/php/7.0/apache2/php.ini
Apparently the settings needs to be changed for PHP AND Apache on Amazon AWS. Hope it helps others.
Post a Comment for "Retrofit 2 Working In Postman And Localhost But Not On Amazon Aws Live Server"