-
Notifications
You must be signed in to change notification settings - Fork 4
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
Sending messages with the mechanize approach fails #7
Comments
I am also tracking this ticket in my Trello Board |
Never liked Mechanize anyway. :) |
Well HTMLUnit didn't really look simple though. But hey the ultimate decision is yours @Vincentyification |
Hold on a minute; are we talking tests here? If yes, what is it you want tested? I have the suspicion that something is fundamentally off... |
No we're not talking tests... we're talking non-working core functionality. Sending messages to chat is currently not possible... interestingly on chat.so we're hitting a server-side error
On chat.se we're getting a different message:
The behavior is reproducible |
@fge Testing in BlueCheese Monster's Home has proven Mechanize engine in 6986ff2 not to work properly when attempting to send a message with relevant crash log:
|
@Vincentyification this stacktrace is coming from the event reading code... in the stacktrace you can see the call to MessageRelay#monitorRooms() |
Why not using a library such as Apache's httpclient, for instance? Also, about the "not logged in" message, isn't that the case of a missing cookie or something? |
For one: mechanize and html unit are libraries. Secondly: yes that is a 'missing cookie'. The login to chat is still missing a few steps. I have confirmed a working login to the main site, though. But the login to chat isn't working yet, especially since it requires multiple steps (5 IIRC). |
As of now, the Login might get problematic, since the chat-login link blows up in our face. For more information, see GistLabs/mechanize#73 |
Mechanize was shot down and is no more used in the project. This is effective as of d528e87 |
Mechanize doesn't let us send messages yet. It seems that the Login to chat isn't succesfully mimicked yet, as the response is: "you must login to send messages"
A login to the SE-OpenId has been confirmed by checking the result page after login for the class "profile-me", that's given to the topbar overview of logged in account
The text was updated successfully, but these errors were encountered: