Wayk Now cannot connect: Bad Request

Wayk Now cannot connect: Bad Request

avatar
my1
Disabled

so I have tried all I immediately can so far.

Update wayk den
Wayk Den says Wayk Now Server is up to date
Client wayk is up to date (2020.2.6 on macOS 10.15.7 19H2)
I also tried the in-den webclient.

I always get an error in wayk and the wayk web says Error 400 (which from HTTP means bad request) and the wayk logs also say bad request.

the problem is obviously that debugging on the server is usually not too easy because you either have people that are technologically challenged and/or dont have the permissions themselves to do the things.

also the den itself for some reason thinks the session is running

All Comments (5)

avatar

Hi my1

I asked the forum team to delete the attachment, I don't think there was any sensitive information but maybe you don't want you Den URL leaked. In future remember you can ship logs to wayk@devolutions.net, or PM to me.

The issue seems the same as the last post in this other thread. Yes - as you've noted we don't leak too much debugging information to the client. Is it possible to gather the log from the remote machine?

The remote machine is the Mac, right? Is it running the .dmg or the .pkg (unattended)? Either way, you can check for logs here:

~/Library/Application Support/Wayk/logs/WaykNow.log
/Library/Application Support/Wayk/logs/NowService.log

Thanks and kind regards,

Richard Markievicz

avatar

I am not sure how easy I can grab the logs from the remote machine, but I am pretty sure I installed via pkg so that this thing is deep in enough, considering I have experience with the common issues when running the "simple" version on windows where the system can get in the way pretty easily. yes it is a mac. does the mac have a menu option for quick export of logs as well, as it is probably not too easy to manually guide the customer to it and doing it remotely (especially if these folders might be hard to reach using the finder and stuff), well is out considering the circumstances.

maybe add a den option for collecting logs (or if that's too sensitive, one could maybe make an option in the client to send logs to an email address specified in the den in the server, so the user will have to act but it's still easy)?

tbh, it kinda sux when wayk doesnt work, I mean nothing is perfect obviously but it is kinda hard to have a plan b for remote support, especially one with the very helpful featureset of way (most notably custom den)

while I can understand the notion that the client shouldnt know too much about the server, it's usually the client who has the person with the knowhow while it's often hard enough to get people to install/run wayk and stuff (especially with the added language barrier considering autolanguage is broken and especially elderly and/or technically challenged people here are usually not too awesome in english, and we have no shortage of these)

avatar

Hello

Yes, I completely understand the frustration and we apologize for the inconvenience. Hopefully we can get to the bottom of this issue.

Unfortunately only Windows has the "simple" log export. Our ultimate goal is to have an improved version of this that automatically ships the logs, but I can see we need to prioritize at least the basic functionality onto Mac and Linux (it's not a terribly complex feature so expect that in an imminent release). It's certainly hard to guide a user through that, especially where the /Library directories don't show by default in Finder.

Is this a newly installed machine? Have you connected to it in the past, or it's the first time that you try?

I will ask with my colleagues on the Wayk Den team and see if they can offer any insight.

If this approach is at all helpful, an AppleScript like the following will grab all the Wayk data and save it to a "wayk.zip" on the user desktop:

set userFolder to (the POSIX path of (path to library folder from user domain) & "Application Support/Wayk")
set systemFolder to (the POSIX path of (path to library folder from local domain) & "Application Support/Wayk")
set desktopFolder to (the POSIX path of (path to desktop))
set zipFile to quoted form of (desktopFolder & "wayk.zip")
do shell script "zip -r " & zipFile & " " & quoted form of (userFolder) & " " & quoted form of (systemFolder)

It could be saved as a .app with script editor and sent to the user.

Thanks and kind regards,

Richard Markievicz

avatar
Is this a newly installed machine? Have you connected to it in the past, or it's the first time that you try?

It's complicated. back when this thing was on iirc High Sierra or whatever, I did connect to it but ever since the update, and replacing the installation with the pkg I am not sure I connected to the machine, also the machine changed den numbers and stuff along the way so it's even crazier. so to this specific "instance" of Wayk, I am fairly sure that I have not connected successfully yet.

Regarding the script, I can try when I get to reach that person again.
but basically throw this into notepad and save as a .app file instead and then I could just throw this for example via email? (as long as apple doesnt get in the way)

avatar

Hello

It's slightly more involved than saving with a .app extension, unfortunately: an .app is actually a directory with a fixed structure, like a package (macOS built-in script editor has the ability to export a script as a .app).

That said - I polished the little script, saved it as a .app and signed and notarized it with Devolutions' Developer ID. So it should run without any problem on a modern Mac (just the usual "this file came from the internet, are you sure you want to run it?" popup). I've attached that here, let me know if you have any problem.

Thanks and kind regards,

Richard Markievicz

ZipWaykLogs.zip