N NinJavier Member Licensed User Longtime User Nov 4, 2013 #1 hi all first, sorry for my english. I have problem connecting to remote db sqlite through the 3G. With wifi working properly The error is: dbrequestmanager_handlejob (java line:235) java.io.eofexception Does anyone know what is the problem? thanks
hi all first, sorry for my english. I have problem connecting to remote db sqlite through the 3G. With wifi working properly The error is: dbrequestmanager_handlejob (java line:235) java.io.eofexception Does anyone know what is the problem? thanks
Erel B4X founder Staff member Licensed User Longtime User Nov 4, 2013 #2 Where is the server located? It is probably not accessible. Your mobile provider may block its port. In that case try to change the port to 587 which is an SMTP port. Upvote 0
Where is the server located? It is probably not accessible. Your mobile provider may block its port. In that case try to change the port to 587 which is an SMTP port.
N NinJavier Member Licensed User Longtime User Nov 4, 2013 #3 thanks for your quick response, It is an external server with a static IP and use port 17178. With port 587 does not work. I'm testing with other mobile operator and if it works to port 17178. Is there any way to know which ports can be used on android? Last edited: Nov 4, 2013 Upvote 0
thanks for your quick response, It is an external server with a static IP and use port 17178. With port 587 does not work. I'm testing with other mobile operator and if it works to port 17178. Is there any way to know which ports can be used on android?
Erel B4X founder Staff member Licensed User Longtime User Nov 5, 2013 #4 The problem is not in Android. The problem is with the mobile provider. Upvote 0
M MILIND BHIDE New Member Licensed User Longtime User Nov 22, 2015 #5 I have problem connecting to remote db sqlserver through the 3G. With wifi working properly The error is: dbrequestmanager_handlejob (java line:235) java.io.eofexception Works on wifi nut not on 3g. however http://114.143.130.46:17178/?method=test gives connection successful on 3g Upvote 0
I have problem connecting to remote db sqlserver through the 3G. With wifi working properly The error is: dbrequestmanager_handlejob (java line:235) java.io.eofexception Works on wifi nut not on 3g. however http://114.143.130.46:17178/?method=test gives connection successful on 3g
Erel B4X founder Staff member Licensed User Longtime User Nov 22, 2015 #6 Does it happen immediately? Maybe you are hitting a timeout? Upvote 0
M MILIND BHIDE New Member Licensed User Longtime User Nov 22, 2015 #7 Erel said: Does it happen immediately? Maybe you are hitting a timeout? Click to expand... Thanks for the prompt reply. I am new to android and b4a. My application is working fine with wifi. I am connecting to a static IP which is running RDP server. When I am on wifi, the application works very well. If I switch to 3G, It works intermittently. The job gives success but no records are updated. If I terminate RDP server then the job gives failure. While the application is running, if I start wifi everything works well. The same phone is able to connect to the same server by 3g by using microsoft RDP. (RDP server is hosted on the same server). Do you also have a tutorial on how to use job.success Thanks Upvote 0
Erel said: Does it happen immediately? Maybe you are hitting a timeout? Click to expand... Thanks for the prompt reply. I am new to android and b4a. My application is working fine with wifi. I am connecting to a static IP which is running RDP server. When I am on wifi, the application works very well. If I switch to 3G, It works intermittently. The job gives success but no records are updated. If I terminate RDP server then the job gives failure. While the application is running, if I start wifi everything works well. The same phone is able to connect to the same server by 3g by using microsoft RDP. (RDP server is hosted on the same server). Do you also have a tutorial on how to use job.success Thanks
Erel B4X founder Staff member Licensed User Longtime User Nov 23, 2015 #8 You can try to increase the timeout. More information about HttpUtils2: https://www.b4x.com/android/forum/threads/18992/#content Example of setting the timeout: https://www.b4x.com/android/forum/threads/httputils2-poststring-timeout.40228/#post-240139 Upvote 0
You can try to increase the timeout. More information about HttpUtils2: https://www.b4x.com/android/forum/threads/18992/#content Example of setting the timeout: https://www.b4x.com/android/forum/threads/httputils2-poststring-timeout.40228/#post-240139