Correct, that is waiting for it to finish. With Degub, I get this
Upload started
HTTP PUT request error: error during handshake[2]: 0x80090326
Upload finished
Search found 15 matches
- Thu Jun 15, 2017 10:48 pm
- Forum: Scripting
- Topic: http request - post
- Replies: 18
- Views: 43871
- Thu Jun 15, 2017 10:36 pm
- Forum: Scripting
- Topic: http request - post
- Replies: 18
- Views: 43871
Re: http request - post
This is all that gets returned.
Request failed with the status code 0
Server response:
Upload finished
Upload started
Request failed with the status code 0
Server response:
Upload finished
Upload started
- Thu Jun 15, 2017 10:22 pm
- Forum: Scripting
- Topic: http request - post
- Replies: 18
- Views: 43871
Re: http request - post
The error I am getting is "HTTP GET request error: error during handshake[2]: 0x80090326" It's returning HTTP error code 0, which is not a valid error. Which leads me to believe that it's not authenticating. Lambda is authenticating based on the header "Authorization:allow". Post...
- Thu Jun 15, 2017 9:31 pm
- Forum: Scripting
- Topic: http request - post
- Replies: 18
- Views: 43871
Re: http request - post
Hello, I'm trying to PUT to my AWS API Gateway. I have a Lambda Function that doesn't require the AWS Keys to perform the PUT. This works in Postman perfectly. In Switch I get "HTTP PUT request error: error during handshake[2]: 0x80090326" which is an error in authentication. Any Ideas? fu...
- Thu May 25, 2017 5:23 pm
- Forum: Scripting
- Topic: Fails on Mac but works on Windows (thats hard for me to say)
- Replies: 12
- Views: 29030
Re: Fails on Mac but works on Windows (thats hard for me to say)
Thanks for the reply. Yes the traffic lights are setup to send data. I keep going back to the "s.copy" I don't think it's working. I can't pull a status from the variable.
- Thu May 25, 2017 4:52 pm
- Forum: Scripting
- Topic: Fails on Mac but works on Windows (thats hard for me to say)
- Replies: 12
- Views: 29030
Re: Fails on Mac but works on Windows (thats hard for me to say)
I'm saying that when I try to get logs on "success" it's undefined on the Mac. var success = s.copy( arcjob, theDestPath); //copy from archive to temp folder s.log(2, "success " + success);// HERE=UNDEFINED s.log(2, "type of " + success); //HERE =UNDEFINED if(success ==...
- Thu May 25, 2017 4:46 pm
- Forum: Scripting
- Topic: Fails on Mac but works on Windows (thats hard for me to say)
- Replies: 12
- Views: 29030
Re: Fails on Mac but works on Windows (thats hard for me to say)
The Mac is Switch 12, upgrading in near fututre. Windows is running 13.
- Thu May 25, 2017 4:34 pm
- Forum: Scripting
- Topic: Fails on Mac but works on Windows (thats hard for me to say)
- Replies: 12
- Views: 29030
Re: Fails on Mac but works on Windows (thats hard for me to say)
Windows file path: source C:/Users/Enfocus.KY-SW1/AppData/Roaming/Enfocus/Switch Server/temp/9/ScriptElement/90/79/KY_223777.sitx arcjob C:\Switch\Arc1\KY_223\KY_223777.sitx Type of Success= number Mac file path: source /Users/admin/Library/Application Support/Enfocus/Switch Server/temp/65/ScriptEle...
- Thu May 25, 2017 4:27 pm
- Forum: Scripting
- Topic: Fails on Mac but works on Windows (thats hard for me to say)
- Replies: 12
- Views: 29030
Re: Fails on Mac but works on Windows (thats hard for me to say)
Thank you for the reply and suggestion.
I've made that change. The success and type of success on the Mac still =undefined. The Windows machine is working fine.
I've made that change. The success and type of success on the Mac still =undefined. The Windows machine is working fine.
- Thu May 25, 2017 3:43 pm
- Forum: Scripting
- Topic: Fails on Mac but works on Windows (thats hard for me to say)
- Replies: 12
- Views: 29030
Re: Fails on Mac but works on Windows (thats hard for me to say)
Thanks for your reply.
I've added that option and no such luck. When I do a s.log() and get the "type of" success, it returns as undefined. So then it can't enter the if/else statement.
I've added that option and no such luck. When I do a s.log() and get the "type of" success, it returns as undefined. So then it can't enter the if/else statement.
- Thu May 25, 2017 3:15 am
- Forum: Scripting
- Topic: Fails on Mac but works on Windows (thats hard for me to say)
- Replies: 12
- Views: 29030
Fails on Mac but works on Windows (thats hard for me to say)
I have this script that is injecting a job based on two arguments that I will enter in the script. The windows version works great. The Mac version will inject the file if found, but if not found it just sits in limbo. Almost like am creating the file so it thinks that it's there but really isn't......
- Tue May 23, 2017 1:57 am
- Forum: Scripting
- Topic: switch-inject-lite
- Replies: 10
- Views: 33163
Re: switch-inject-lite
I'm sorry but nothing different logs when debug is turned on.
- Thu May 18, 2017 5:12 pm
- Forum: Scripting
- Topic: switch-inject-lite
- Replies: 10
- Views: 33163
Re: switch-inject-lite
I just tried some things and it appears to be in the "Name Job After". If I name after injection job it fails. If I name after Incoming Job it works but is the wrong name.
- Thu May 18, 2017 5:00 pm
- Forum: Scripting
- Topic: switch-inject-lite
- Replies: 10
- Views: 33163
Re: switch-inject-lite
Hello,
This is the only message, Read-only inject was unsuccessful.
Thanks!
If I use the same path on the actual inject confg, it works.
This is the only message, Read-only inject was unsuccessful.
Thanks!
If I use the same path on the actual inject confg, it works.
- Thu May 18, 2017 12:09 am
- Forum: Scripting
- Topic: switch-inject-lite
- Replies: 10
- Views: 33163
Re: switch-inject-lite
First off this is an awesome concept I love it. I'm having issues with the "read-only" inject, it's not injecting it. If I do the Assert Check, it can see the file. Is there an issue with the "read-only?
Thanks!
Thanks!