GithubHelp home page GithubHelp logo

curl 上传文件报错 about ipapk-server HOT 14 CLOSED

zhao0 avatar zhao0 commented on September 2, 2024
curl 上传文件报错

from ipapk-server.

Comments (14)

zhao0 avatar zhao0 commented on September 2, 2024

麻烦贴一下你的curl命令

from ipapk-server.

red3 avatar red3 commented on September 2, 2024

sorry, 应该是我的锅,仔细检查了,发现有拼写错误,我关 issue 吧.

from ipapk-server.

zhao0 avatar zhao0 commented on September 2, 2024

恩,我下次加点error处理

from ipapk-server.

red3 avatar red3 commented on September 2, 2024

sorry, 又麻烦你了☺️

我检查拼写错误后,发起了 curl:

curl 'https://10.1.33.108:1234/upload' -F "package=@/Users/herui/Desktop/1.ipa" -F "changelog=test" --insecure

等待很长时间后会报错误:

curl: (56) SSLRead() return error -9806

我怀疑文件没有上传成功,但是,当我新建一个空白 ipa 文件上传的时候,发现会执行到 parseIpa 函数里面,进而报错,说明文件上传是没有问题,是解析过程有问题?

from ipapk-server.

zhao0 avatar zhao0 commented on September 2, 2024

服务端那边有什么输出吗

from ipapk-server.

red3 avatar red3 commented on September 2, 2024

没有,很奇怪

from ipapk-server.

zhao0 avatar zhao0 commented on September 2, 2024

怀疑是你的ipa里面没有[email protected]这个文件

from ipapk-server.

red3 avatar red3 commented on September 2, 2024

确实是没有这个,我刚才在怀疑这个,因为我在用 ipa-server 这个项目的时候当时页面没有显示ipa 的 icon,发现项目默认读的是 3x 图。

这个为什么引起这个错误了?

from ipapk-server.

zhao0 avatar zhao0 commented on September 2, 2024

这是一个bug,遍历没有找到这个文件后没有把这个promise给reject

from ipapk-server.

zhao0 avatar zhao0 commented on September 2, 2024

是不是普遍用2x图

from ipapk-server.

red3 avatar red3 commented on September 2, 2024

应该再尝试找下 2x,2x肯定有,要不然苹果也不给过

from ipapk-server.

zhao0 avatar zhao0 commented on September 2, 2024

好的

from ipapk-server.

zhao0 avatar zhao0 commented on September 2, 2024

我改了一些,你可以升级一下

from ipapk-server.

red3 avatar red3 commented on September 2, 2024

from ipapk-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.