getting message: forbidden reply from AWS API gateway

前端 未结 20 1119
鱼传尺愫
鱼传尺愫 2020-11-30 04:34

I am trying to create a lambda service on AWS and have it accessed from outside via the API gateway with no authentication or restriction required.

To make things ea

20条回答
  •  旧时难觅i
    2020-11-30 05:03

    I might have come across a solution to this problem. I had the same issue right now on MacOS. I tried to flush my DNS and then it worked!

    Try this in the terminal:

    Mac OS X Yosemite and later

    sudo killall -HUP mDNSResponder
    

    Mac OS X Yosemite v10.10 through v10.10.3

    sudo discoveryutil mdnsflushcache
    

    Mac OS X Mavericks, Mountain Lion and Lion

    sudo killall -HUP mDNSResponder
    

    Mac OS X Snow Leopard

    sudo dscacheutil -flushcache
    

提交回复
热议问题