收藏
回答

新增临时素材 提交到接口在生产服务上 Connection timed out?

上传媒体文件失败:https://api.weixin.qq.com/cgi-bin/media/upload?access_token=46_99i4Wrm_yXJNuZqkkJWHcJB2TVuxFKab0YWXnY9Ssa2kWwEXj5Tr98F9Kcx6vWfS1Qs4jyVWzL0W2vLIIspFtXFm233_6BixxAbkbQrlj9ZqQ7cqmCAhS_JPp1GMfn7N1atUTxsK3a2hD5YkJMSeAGDADJ&type=image,{}

java.net.ConnectException: Connection timed out (Connection timed out)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1950)

        at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1945)

        at java.security.AccessController.doPrivileged(Native Method)

        at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1944)

        at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1514)

        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498)

        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:268)

回答关注问题邀请回答
收藏

1 个回答

  • 然宝
    然宝
    2021-06-25

    开发环境,可以正常上传成功

    2021-06-25
    有用
    回复
登录 后发表内容