Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EventHub Consumer Group Listener events list exception #638

Closed
iRubens opened this issue Apr 14, 2022 · 23 comments
Closed

EventHub Consumer Group Listener events list exception #638

iRubens opened this issue Apr 14, 2022 · 23 comments
Labels
Milestone

Comments

@iRubens
Copy link

iRubens commented Apr 14, 2022

I'm trying to see the text of an event after connecting with an EventHub consumer group listener (version 5.0.7 on W10 20H2 19042.1586).

Every time I select an item from the list the "Event Text" box stays empty and and in the log I see a new row with the exception "This object is read-only and cannot be modified." (see screenshot below).

If I roll back to 5.0.4, with the same PC/EH, all works flawlessly.

Screenshot 2022-04-14 153919

@JaQua-be
Copy link

Same here. Does not occur for all messages. Roll back to 5.0.4 fixes the issue.

image

@drdamour
Copy link

i've noticed this happens whenever an event has custom properites.

eg

        var d = new EventData();
        d.ContentType = "application/json";
        d.MessageId = Guid.NewGuid().ToString();
        d.Properties.Add("test2", "val");
        d.EventBody = BinaryData.FromObjectAsJson(statusChangeEvent);
        await shipmentsHub.AddAsync(d);

fails, but commenting out props works

        var d = new EventData();
        d.ContentType = "application/json";
        d.MessageId = Guid.NewGuid().ToString();
        //d.Properties.Add("test2", "val");
        d.EventBody = BinaryData.FromObjectAsJson(statusChangeEvent);
        await shipmentsHub.AddAsync(d);

@stale stale bot added the wontfix label Sep 4, 2022
@drdamour
Copy link

drdamour commented Sep 4, 2022

still is happening

@stale stale bot removed the wontfix label Sep 4, 2022
@fjgsanandres
Copy link

Yes, the issue has been fixed :(

image

Repository owner deleted a comment from stale bot Oct 5, 2022
@elmaxe
Copy link

elmaxe commented Oct 12, 2022

I used version 5.0.14. Received the same read-only-error. Downgrading to v5.0.4 fixed the issue

@sqlarticles
Copy link

Thanks, @elmaxe. I ignored using service bus explorer after I started facing error from version 5.0.7 I ended up writing a python code to do it. However, this was handy. After I reverted to 5.0.4 it worked fine to me.

@stale stale bot added the wontfix label Dec 31, 2022
@drdamour
Copy link

Would love this to have real activity

@stale stale bot removed the wontfix label Dec 31, 2022
@phramusca
Copy link

I got this issue with 5.0.15 and 5.0.5
No problem with 5.0.4

@DelS-AGL
Copy link

It would be really useful if this could be fixed!

Repository owner deleted a comment from stale bot Jul 11, 2023
@SPea-1
Copy link

SPea-1 commented Jul 26, 2023

This is still an issue. Had to downgrade to 5.0.4 as well.

@DelS-AGL
Copy link

This is still an issue. Had to downgrade to 5.0.4 as well.

There is a work-around, which means we can now use 5.0.15.
You can replace Microsoft.ServiceBus.dll with a copy from the V5.0.4 installation.

@SeanFeldman
Copy link
Collaborator

@iRubens, @drdamour, @fjgsanandres, @elmaxe, @sqlarticles, @DelS-AGL, @SPea-1, a potential workaround w/o downgrading the SDK is coming.

If any of you would like to check out the PR code to validate it's working, that's be very helpful. Thanks.

@DelS-AGL
Copy link

DelS-AGL commented Sep 7, 2023

Not quite!
I am now able to see the Event Custom Properties in a Partition Listener.
I can also 'View and Save Event Data' and 'Save' the event.
'Save Selected Event' does not work for a single event but if two events are selected, 'Save Selected Events' does work.

@SeanFeldman
Copy link
Collaborator

'Save Selected Event' does not work for a single event but if two events are selected, 'Save Selected Events' does work.

Never have a single event - problem solved 😂

It might or might not be related. I'll check it out. Thank you for the test run, @DelS-AGL.

@SeanFeldman
Copy link
Collaborator

@DelS-AGL, I missed that single spot and fixed in c90eca8. Thank you for a quick verification.

@SeanFeldman SeanFeldman added this to the 5.0.18 milestone Sep 7, 2023
@DelS-AGL
Copy link

DelS-AGL commented Sep 7, 2023

@DelS-AGL, I missed that single spot and fixed in c90eca8. Thank you for a quick verification.

Confirmed! Thanks @SeanFeldman for getting on this!

@SeanFeldman
Copy link
Collaborator

No worries. The sponsor link is coming 😜

@drdamour
Copy link

confirmed working, however it seems the custom properties still do not show

@SeanFeldman
Copy link
Collaborator

confirmed working, however it seems the custom properties still do not show

How do you validate it, @drdamour? In my work on #740 custom properties showed up.

@drdamour
Copy link

confirmed working, however it seems the custom properties still do not show

How do you validate it, @drdamour? In my work on #740 custom properties showed up.

you're right, thanks for correcting me! i was looking in wrong spot, duh, it's the system properties like message id and content type. that aren't showing still cf #657 custom def appearing.

@SeanFeldman
Copy link
Collaborator

I see. Closing this one as it's finished, keeping #657 (MessageId and ContentType do not show up in EventHubListener) for further investigation and fixing.

@DelS-AGL
Copy link

DelS-AGL commented Sep 28, 2023 via email

@SeanFeldman
Copy link
Collaborator

@DelS-AGL, please open a separate issue. Thank you.

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

No branches or pull requests