Connection Issues with ODK1 tools

Hi,

I'm not at a coffee shop so my network connection must be proxied. I have to log into my iMac with my user account and password before I get to the desktop. I followed this link to bypass the proxy server by adding the sandbox option on the bottom?

https://support.apple.com/en-ca/guide/mac-help/enter-proxy-server-settings-mchlp2591/mac

Briefcase is still having troubles pulling the forms.

Thanks again!

Independent of if you are at a coffee shop, you may or may not be on proxy. Can you go to your command line (Terminal.app) and run the following and report what you find.

curl -i --header "X-OpenRosa-Version: 1.0" https://sandbox.aggregate.opendatakit.org/formList

Terminal Saved Output.txt (2.1 KB)

Great! And now can you run it with the proxy bypass removed from your settings?

I took the sandbox option off the bottom and it still doesn't work.

briefcaselog.txt (6.3 KB)

With the bypass removed, run the curl command.

Terminal Saved Output2.txt (2.1 KB)

Thanks for the debugging help, @hc02ca. I'm kinda stumped.

@ggalmazor do you have any ideas what is going wrong here?

Hi, @hc02ca!

Could you take a look to the /etc/hosts file, in case there's a line defining the IP address for sandbox.aggregate.opendatakit.org, please?

1 Like

Is this is?

30%20PM

Hi, @hc02ca!

Sorry, your message took me just while I was getting on bed.

The hosts file is OK.

I'm as lost as @yanokwa.

This scenario leads me to believe that something in yout computer's networking configuration or on the network you're on is wrong.

  • Are you running any networking app like or using a VPN?
  • Could you try a wired connection or change to another WiFi network?
  • Could you open a browser and try opening http://127.0.0.1:8081 and https://127.0.0.1:8081 and see what's there?
1 Like

ggalmazor https://forum.getodk.org/u/ggalmazor Guillermo
https://forum.getodk.org/u/ggalmazor
September 14

Hi, @hc02ca https://forum.getodk.org/u/hc02ca!

Sorry, your message took me just while I was getting on bed.

The hosts file is OK.

I'm as lost as @yanokwa https://forum.getodk.org/u/yanokwa.

This scenario leads me to believe that something in yout computer's
networking configuration or on the network you're on is wrong.

  • Are you running any networking app like or using a VPN?
  • Could you try a wired connection or change to another WiFi network?
  • Could you open a browser and try opening http://127.0.0.1:8081 and
    https://127.0.0.1:8081 and see what's there?

Visit Topic
https://forum.getodk.org/t/connection-issues-with-odk1-tools/15061/13
or reply to this email to respond.

To unsubscribe from these emails, click here
https://forum.getodk.org/email/unsubscribe/dd49dd1f5fa2b224e4751afeb289a57636fd4db22341d241ced27ab98741d9b6
.

briefcaselog1.txt (3.13 KB)

briefcaselog2.txt (3.13 KB)

It doesn't look like you received Response.doc. Here it is again, parsed into smaller chunks, parts 1 - 4.

ResponsePart1.doc (354 KB)

ReponsePart2.doc (407 KB)

ResponsePart3.doc (92.5 KB)

ResponsePart4.doc (396 KB)

It appears that any app you've tried in your computer can't access the sandbox. The online Build app doesn't count because it's not your computer that connects to the sandbox, but the server where Build is running.

All leads are pointing to a networking issue in your computer, not related to ODK.

Did you try to use a wired connection or any other WiFi connection?

1 Like

Sorry, here is the information again better organized.

Are you running any networking app like or using a VPN?

No, I'm not running any of that.

Could you try a wired connection or change to another WiFi network?

With my wired network, build online successfully uploads a form to sandbox.
With my wired network, build app fails to upload a form to sandbox.
With my wired network, briefcase app fails to fetch a form from sandbox. See briefcaselog1.txt

briefcaselog1.txt (3.1 KB)

With a friend's wireless network, build online successfully uploads a form to sandbox.
With a friend's wireless network, build app fails to upload a form to sandbox.
With a friend's wireless network, briefcase app fails to fetch a form from sandbox. See briefcaselog2.txt

briefcaselog2.txt (3.1 KB)

Could you open a browser and try opening http://127.0.0.1:8081 and https://127.0.0.1:8081 and see what's there?

With my wireless network, http://127.01.0.1:8081 gives a "This site can't be reached" page.
With my wireless network, https://127.01.01:8081 gives a "This site can't be reached" page.

With my wired network, http://127.01.0.1:8081 gives a "This site can't be reached" page.
With my wired network, https://127.01.01:8081 gives a "This site can't be reached" page.

With a friend's wireless network, http://127.01.0.1:8081 gives a "This site can't be reached" page.
With a friend's wireless network, https://127.01.01:8081 gives a "This site can't be reached" page.

All the pages give the same picture.

With any of the networks including the public library's network, the Collect app failed to upload a finalized form to sandbox. They all gave the same 404 error.

Thanks for the info, @hc02ca!

Did you use the same computer for all those tests? Can you use a different computer?

Yes, I used the same computer, my iMac and I used the same android phone.

I will get back to you in a few days with the results from a PC most likely on these networks.

1 Like

Hi @ggalmazor,

Here are the results with my friend's PC using the same networks as before. I was not able to borrow her PC to test with my network.

Are you running any networking app like or using a VPN?
No, she is not running anything like that to her knowledge.

Could you try a wired connection or change to another WiFi network?

With a friend's wireless network with her PC, build online successfully uploads a form to sandbox.
With a friend's wireless network with her PC, build app falls to install due to nw_elf.dll file not found. See Pic1. The file appears to be there though. See Pic2. I tried to reinstall the program but it gave the same error. I tried both the x64 and x86 version.


With a friend's wireless network with her PC, briefcase app successfully fetches the selected form. See briefcaselog3.txt

briefcaselog3.txt (3.4 KB)

Could you open a browser and try opening http://127.0.0.1:8081 and https://127.0.0.1:8081 and see what's there?

With a friend's wireless network with her PC, http://127.0.0.1:8081 gives "Can't reach this page"
With a friend's wireless network with her PC, htps://127.0.0.1:8081 gives "Can't reach this page"


With factory settings restored on android phone, Collect app now works.
With an erase and new install of OS on iMac, Briefcase app now works.

1 Like

I'm glad that you were able to restore everything, @hc02ca