Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • r(676) error help


    . ssc install longshape
    server refused request to send
    http://fmwww.bc.edu/repec/bocode/l/ either
    1) is not a valid URL, or
    2) could not be contacted, or
    3) is not a Stata download site (has no stata.toc file).
    r(676);

    How can I troubleshoot this

  • #2
    It works for me from my system, which is running Stata 16.1. This suggests the problem is with your system rather than with the longshape package at SSC. Are you able to install something else from SSC, or does this happen with all attempted SSC installations?

    Is your system at an institution that places a proxy server between its internal network and the public internet? If so, the following might point you - or your company IT staff - in a helpful direction.

    https://www.stata.com/support/faqs/w...-proxy-server/

    Comment


    • #3
      It fails with all installations, I am never able to connect

      Comment


      • #4
        Ok this computer is run through OpenDNS, I imagine thats the issue. How can I bypass it?

        Comment


        • #5
          You presumably need to find OpenDNS advice, or advice from whomever administers the OpenDNS configuration for your network. I say "presumably" because I'm unfamiliar with OpenDNS and how it operates, but it does appear that it has the ability to block access to sites.

          It seems to me that you are being blocked from access to http://fmwww.bc.edu/ - you should see if you can open that URL in your web browser.

          Comment


          • #6
            Strange, I can access it in my browser

            Comment


            • #7
              To me, this suggests a proxy server is intruding between your network and the public internet, and the process documented in the link at post #2 needs to be implemented to configure your installation of Stata to use the proxy server.

              Comment


              • #8
                This was a needed standard for me for several versions, the three essential hooks being

                Turn on or off the use of a proxy server

                set httpproxy {on|off} [, init]


                Set proxy host name

                set httpproxyhost ["]name["]


                Set the proxy port number

                set httpproxyport #

                On a different note, longshape is mine but not a big deal. reshape long will do the important part of that in any case.

                Comment


                • #9
                  This is an output from the debug:

                  . ssc install query
                  socket(2,1,0) = 1356
                  ioctlsocket(1356,8004667e,7eee40) = 0
                  connect(1356,7eee60,16) = -1
                  select(1357,0,7eebc0,0,7eeb10,) = 0
                  select(1357,0,7eebc0,0,7eeb10,) = 1
                  getsockopt(1356,65535,4103,54c,7eee10,) = 0
                  send 1: send(1356,7ec4e0,40,0) = -1
                  send: SOCKET_ERROR: 10053
                  send failed with -1
                  send 2: send 3: send 4: send 5: send 6: sends complete.
                  closesocket(1356) = 0
                  server refused request to send
                  http://fmwww.bc.edu/repec/bocode/q/ either
                  1) is not a valid URL, or
                  2) could not be contacted, or
                  3) is not a Stata download site (has no stata.toc file).
                  r(676);

                  end of do-file

                  r(676);




                  This is also the result of turning off the proxy and trying to install


                  . set httpproxy off
                  (set httpproxy preference recorded)

                  . ssc install longshape
                  socket(2,1,0) = 1164
                  ioctlsocket(1164,8004667e,7f06b0) = 0
                  connect(1164,7f06d0,16) = -1
                  select(1165,0,7f0430,0,7f0380,) = 0
                  select(1165,0,7f0430,0,7f0380,) = 1
                  getsockopt(1164,65535,4103,48c,7f0680,) = 0
                  send 1: send(1164,7edd50,40,0) = -1
                  send: SOCKET_ERROR: 10053
                  send failed with -1
                  send 2: send 3: send 4: send 5: send 6: sends complete.
                  closesocket(1164) = 0
                  server refused request to send
                  http://fmwww.bc.edu/repec/bocode/l/ either
                  1) is not a valid URL, or
                  2) could not be contacted, or
                  3) is not a Stata download site (has no stata.toc file).
                  r(676);

                  On another note, can I simply download these files and install it manually outside of stata?

                  Comment

                  Working...
                  X