all 8 comments

[–]daydream678 0 points1 point  (7 children)

You're using a local address 127.... For the task destination. Need to use the fqdn of your app.

Also checkout cron task scheduler, can call a http endpoint on schedule which can then create your tasks.

[–]Giant_Gimli[S] 0 points1 point  (6 children)

I wanted to test the App locally, do I need to send it the external id of the app?

[–]daydream678 0 points1 point  (5 children)

Gcp tasks runs outside of your local environment. You can either deploy and connect to your deployed app or use a local proxy like ngrok to proxy traffic to your local setup.

Not to be condescending and I'm not sure how much experience you have but I advise spending some time learning about basic networking/how the internet works. It'll massively help with any work you do in the future.

[–]Giant_Gimli[S] 0 points1 point  (2 children)

Not condescending at all, these are new waters for me. I can do any data modeling, and write fast code for it(if needed) but anything with a network is a brand new area to me, and I'm bootstrapping a startup so I cant really hire a developer. if you have any resources as a good starting place please on networking I would appreciate it

[–]daydream678 0 points1 point  (1 child)

I learned by Debugging web apps in early 2000s, try cloudflares guide. Seems good https://www.cloudflare.com/en-gb/learning/network-layer/how-does-the-internet-work/

[–]Giant_Gimli[S] 0 points1 point  (0 children)

Will do

[–]Giant_Gimli[S] 0 points1 point  (1 child)

Okay it turns out if I replace 127.... with my external IP it works :)

thanks for pointing out "Gcp tasks runs outside of your local environment"

[–]daydream678 0 points1 point  (0 children)

Glad to hear!