Skip to content

Installing this breaks CollectionFS S3 #6

Open

Description

@adamgins

With this package installed I see the following error when trying to upload a file. I only see this error on Cordova on iOS

http://localhost:12344/packages/cfs_upload-http.js?cf37b2941c8cdbfd85cdc3948f57fed4bb429081:379:32
http://localhost:12344/packages/cfs_upload-http.js?cf37b2941c8cdbfd85cdc3948f57fed4bb429081:105:15
http://localhost:12344/packages/underscore.js?0a80a8623e1b40b5df5a05582f288ddd586eaa18:801:24
onreadystatechange@http://localhost:12344/packages/cfs_upload-http.js?cf37b2941c8cdbfd85cdc3948f57fed4bb429081:164:19
2015-07-23 21:17:24.121 Buzzy[24263:1135380] ERROR: Error: "Queue" network [undefined], errorClass@http://localhost:12344/packages/meteor.js?4dc9757b244a30bdf37a732ac4db4026ce56fb6b:558:24
http://localhost:12344/packages/cfs_upload-http.js?cf37b2941c8cdbfd85cdc3948f57fed4bb429081:379:32
http://localhost:12344/packages/cfs_upload-http.js?cf37b2941c8cdbfd85cdc3948f57fed4bb429081:105:15
http://localhost:12344/packages/underscore.js?0a80a8623e1b40b5df5a05582f288ddd586eaa18:801:24
onreadystatechange@http://localhost:12344/packages/cfs_upload-http.js?cf37b2941c8cdbfd85cdc3948f57fed4bb429081:164:19
2015-07-23 21:17:24.134 Buzzy[24263:1135380] ERROR: Error: "Queue" network [undefined], errorClass@http://localhost:12344/packages/meteor.js?4dc9757b244a30bdf37a732ac4db4026ce56fb6b:558:24
http://localhost:12344/packages/cfs_upload-http.js?cf37b2941c8cdbfd85cdc3948f57fed4bb429081:379:32
http://localhost:12344/packages/cfs_upload-http.js?cf37b2941c8cdbfd85cdc3948f57fed4bb429081:105:15
http://localhost:12344/packages/underscore.js?0a80a8623e1b40b5df5a05582f288ddd586eaa18:801:24
onreadystatechange@http://localhost:12344/packages/cfs_up

The result is it won't upload files on Cordova

If I uinstall the crodova update and this package the error goes away.

Activity

  1. adamgins commented on Aug 1, 2015

    @adamgins
    Author

    @rbabayoff this package has made my app sooo much faster, thanks.
    Any ideas on how to resolve the above issues or what may be blocking upload of files/images by CollectionFS?

  2. adamgins commented on Aug 2, 2015

    @adamgins
    Author

    @rbabayoff FYI I tried to see if Telerik folk could help, but have said this is Meteor specific: Telerik-Verified-Plugins/WKWebView#137

  3. rbabayoff commented on Aug 4, 2015

    @rbabayoff
    Member

    @adamgins , sorry for the late reply. I haven't used cfs in my meteor apps, as of yet, so I'd probably suggest to have the cfs guys to take a look at it. Also, a simple bear-bones repo that reproduces the problem would help. For the cfs guys, I would mention that wkwebview doesn't support file:// urls, so maybe that's the problem. If that's the case, the work around would be to use cordova's file and fileTransfer plugins directly to upload files to the server.

  4. rbabayoff commented on Aug 4, 2015

    @rbabayoff
    Member

    Another workaround is to have the cfs guys, if they do use file://, to just use http:// urls to file in localhost. From what type of folder in the ios app file system r u trying to upload the file?

  5. adamgins commented on Aug 4, 2015

    @adamgins
    Author

    @rbabayoff thanks.

    I am just trying to upload an image and have a standard <input type=file which I then process. See example here: https://github.com/CollectionFS/Meteor-CollectionFS#initiate-the-upload
    If there's another way to get a http://localhost or something let me know, I was not sure how to get that from an input control

    @aldeed @raix not sure if you know how we'd do this? I expect lots of folk would want to do this soon for the improved performance you get with this capability. Also not sure what would happen when Meteor 1.2 hits the streets and if using Crosswalk for Android would have the same issues?

  6. dhavalrajani92 commented on Mar 16, 2016

    @dhavalrajani92

    +1

  7. dhavalrajani92 commented on Mar 16, 2016

    @dhavalrajani92

    @rbabayoff have you find any solution? I am facing same problem. If i remove this package then scroll is not working. Please give me suggestion

  8. shyamami8888 commented on Mar 25, 2016

    @shyamami8888

    @rbabayoff Having same problem while uploading file with this package any solution for that it is very urgent to solve.

  9. jamielob commented on Mar 25, 2016

    @jamielob

    @dhavalrajani92 & @shyamami8888. Meteor 1.3 has wkwebview enabled by default. so you may have better luck looking at the RCs: https://github.com/meteor/meteor/releases

  10. rbabayoff commented on Mar 27, 2016

    @rbabayoff
    Member

    This package is deprecated in favor of the wkwebview support in meteor 1.3, based on the latest cordova release and the rewritten meteor cordova plugins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions