question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

XEP-0363 HTTP Upload error

See original GitHub issue

I am having trouble sending file with the http_upload using the latest Jsxc. The following is my setup and observation. Would appreciate if someone can help on this.

OS: Windows Server XMPP Client: Gajim 0.16.5 Browser: Firefox 53.0.2 Jsxc version : jsxc v3.2.0-beta.2 - 2017-04-28

OS: CentOS 7.3 XMPP Server: ejabberd 17.04

  1. Test using Gajim 0.16.5 with XMPP Server works well with the http upload

image

  1. Test using Jsxc fails when sending File

image

It is strange that the image and document link sent from Gajim does not appear in the user2 window in Jsxc. Is this normal ?

The following is the trace i’ve got from firefox: image

Details for the highlighted line: [Headers] image

[Parameters] <body rid='18170630' xmlns='http://jabber.org/protocol/httpbind' sid='ef9a8114c5016e4eae18e75379f7d59f41b4b858'><iq to='upload.my.domain.com' type='get' xmlns='jabber:client' id='e54d0baa-28a6-4535-9877-5402622089ec:sendIQ'><request xmlns='urn:xmpp:http:upload'><filename>default.JPG</filename><size>1646</size></request></iq></body>

[Response] <body xmlns='http://jabber.org/protocol/httpbind'><iq xml:lang='en' to='user1@my.domain.com/example' from='upload.my.domain.com' type='result' id='e54d0baa-28a6-4535-9877-5402622089ec:sendIQ' xmlns='jabber:client'><slot xmlns='urn:xmpp:http:upload'><get>http://my.domain.com:5443/upload/99200b9f75dd114a7e239482e8440f3cc67e2ef0/5jr952GAlunI81bD0O84siBtbIxFxUnwWDiqjADo/default.JPG</get><put>http://my.domain.com:5443/upload/99200b9f75dd114a7e239482e8440f3cc67e2ef0/5jr952GAlunI81bD0O84siBtbIxFxUnwWDiqjADo/default.JPG</put></slot></iq></body>

Details for the next line with the method “OPTIONS”: [Headers] image

Request URL shows : http://my.domain.com:5443/upload/99200b9f75dd114a7e239482e8440f3cc67e2ef0/5jr952GAlunI81bD0O84siBtbIxFxUnwWDiqjADo/default.JPG

[Parameters] Blank

[Response] Blank

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:17 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
sualk-zzcommented, May 19, 2017

fre. 19. mai 2017 kl. 16.23 skrev skyfox675 notifications@github.com:

Apologies, this seems to have escalated quickly!

Fack

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jsxc/jsxc/issues/533#issuecomment-302716534, or mute the thread https://github.com/notifications/unsubscribe-auth/AM4mPwHe3aKNgOIk5G53szqLhU6g3Zdaks5r7aXcgaJpZM4NgZfY .

1reaction
sualkocommented, May 19, 2017

@skyfox675 is your issue maybe related to #526?

Read more comments on GitHub >

github_iconTop Results From Across the Web

XEP 0363: HTTP File Upload support #218 - GitHub
i have setup kaiwa in local server, for backup i am using ejabberd, when i try to share image in chat its not...
Read more >
XEP-0363: HTTP File Upload - XMPP
Abstract: This specification defines a protocol to request permissions from another entity to upload a file to a specific path on an HTTP ......
Read more >
Upload Fail (HTTP XEP-0363) (#9498) · Issues
Upload Fail (HTTP XEP-0363). The file upload fails with the following error: Certificate check failed Where can I import a certificate?
Read more >
HTTP File Upload XEP-0363 Support? - Openfire Support
The tool need “XEP-0363: HTTP File Upload” for file transfert. HttpUploadComponent is is no longer maintained. It would be nice to have it...
Read more >
ejabberd - HTTP File Upload (XEP-0363) using Ruby on Rails
In order to use this module add configuration setting in ejabberd.yml file listen: # add following lines in listen section - module: ejabberd_http...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found