Skip to content
This repository has been archived by the owner on Nov 16, 2020. It is now read-only.

HTTP Basic auth logic not falling back on STOMP default user #60

Closed
laurentluce opened this issue May 9, 2016 · 4 comments
Closed

HTTP Basic auth logic not falling back on STOMP default user #60

laurentluce opened this issue May 9, 2016 · 4 comments
Assignees
Milestone

Comments

@laurentluce
Copy link

laurentluce commented May 9, 2016

@essen

With use_http_auth set to true, no Basic auth header and STOMP default user set. CONNECT without login/passcode errors out. Not Expected since it should succeed. It works if I use plain STOMP instead of web-stomp.

Config:

[ {rabbitmq_web_stomp, [{use_http_auth, true}]}, {rabbitmq_stomp, [{default_user, [{login, "guest"}, {passcode, "guest"}]}]} ].

STOMP frames:

Opening Web Socket...
Web Socket Opened...
>>> CONNECT
accept-version:1.1,1.0
heart-beat:10000,10000


<<< ERROR
message:Processing error
content-type:text/plain
version:1.0,1.1,1.2
content-length:16

Processing error

Related: Issue #43

@laurentluce
Copy link
Author

@essen Were you able to reproduce this issue? If yes, can we get an ETA on the fix.

@michaelklishin
Copy link
Member

We do not make promises on ETA.

@laurentluce
Copy link
Author

@michaelklishin I understand.

@essen
Copy link
Collaborator

essen commented Dec 6, 2016

I have opened two PRs implementing tests and a fix for this. It should work on all transports.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants