LauraN
Scholar

Cannot connect to server - web request - using public GET

My end game is to POST to Jira to create issues, but I couldn't connect to the server, so I stripped my testing back to a public GET with no authentication. But I'm still strugglying to get it to work.

 

With the URL https://httpbin.org/get I tested the connection in Web Request... but I still get the error 'Cannot connect to server.' What am I doing wrong?

 

 

nintex.JPG

 

0 Kudos
Reply
9 Replies
emha
Collaborator

Re: Cannot connect to server - web request - using public GET

can you reach the URL from a browser?

looks like something is blocking you to access it

0 Kudos
Reply
LauraN
Scholar

Re: Cannot connect to server - web request - using public GET

I can.

I'm new to Nintex so didn't know if it was something I was doing wrong with the request. I've raised this to our internal SharePoint team to look at.

 

Thanks!

0 Kudos
Reply
emha
Collaborator

Re: Cannot connect to server - web request - using public GET

note the action is being sent and executed on the server, so URL should be accessible from the server.

 

 

what about if you try with some well known site, eg. google? or a site within your network - may even be your SP site?

0 Kudos
Reply
LauraN
Scholar

Re: Cannot connect to server - web request - using public GET

I tried https//:google.com and got the same 'Cannot connect to server' error.

 

I tried the home page of my SP site and this time the error was 'Request failed with status: FORBIDDEN'. Perhaps this was more sucessful, but doesn't satisfy a GET request?

0 Kudos
Reply
emha
Collaborator

Re: Cannot connect to server - web request - using public GET

I guess that's auth issue - provide username and pwd for your SP site as well

0 Kudos
Reply
LauraN
Scholar

Re: Cannot connect to server - web request - using public GET

Same forbidden error even with my SP credentials.

0 Kudos
Reply
emha
Collaborator

Re: Cannot connect to server - web request - using public GET

what's the exact http error?

0 Kudos
Reply
LauraN
Scholar

Re: Cannot connect to server - web request - using public GET

nintex_sp_error.JPG

0 Kudos
Reply
emha
Collaborator

Re: Cannot connect to server - web request - using public GET

I'd suggest to get in contact with you SP and/or network admins.

there seem to be policies that blocks your conenctions.

0 Kudos
Reply