I'm running postgraphile and apollo to get data for my react app. I am using npm concurrently to run the react server and to run postgraph using the CLI including --cors flag. Everything works fine when i run the app locally. When I upload everything to AWS elastic beanstalk, I can't access app.com:5000/graphiql and the app gives me a 408 timeout error code saying it is a problem with HTTPLink, then tells me there is a cross origin error. If i run the app on AWS and have it point to my localhost:5000/graphiql it works perfectly, but not when it is deployed to AWS. The part that confuses me is that it does not have a cross origin error when it is going from AWS to my localhost, but it does have a cross origin error when it's going from AWS to AWS.
408 timeout error with postgraphile on AWS elastic beanstalk
196 views Asked by Sdarb At
1
There are 1 answers
Related Questions in AMAZON-WEB-SERVICES
- S3 integration testing
- How to get content of BLOCK types LAYOUT_TITLE, LAYOUT_SECTION_HEADER and LAYOUT_xx in Textract
- Error **net::ERR_CONNECTION_RESET** error while uploading files to AWS S3 using multipart upload and Pre-Signed URL
- Failed to connect to your instance after deploying mern app on aws ec2 instance when i try to access frontend
- AWS - Tab Schema Conversion don't show up after creating a Migration Project
- Unable to run Bash Script using AWS Custom Lambda Runtime
- Using Amazon managed Prometheus to get EC2 metrics data in Grafana
- AWS Dns record A not navigate to elb
- Connection timed out error with smtp.gmail.com
- AWS Cognito Multi-tenant Integration | Ok to use Client’s Idp?
- Elasticbeanstalk FastAPI application is intermittently not responding to https requests
- Call an External API from AWS Lambda
- Why my mail service api spring isnt working?
- export 'AWSIoTProvider' (imported as 'AWSIoTProvider') was not found in '@aws-amplify/pubsub'
- How to take first x seconds of Audio from a wav file read from AWS S3 as binary stream using Python?
Related Questions in REACT-APOLLO
- How to properly catch a canceled request using Apollo Client library
- GraphQL query giving error, but it still updates my database
- GraphQL query in React for Sorare data (running locally)
- Issue with passing "locale" variable in Apollo useQuery and Strapi v4
- Apollo client, merges objects when 'id' propery is empty
- Not All Lazy Queries Polling when using Apollo
- apollo graphql subscription firing two times
- Custom and dynamic headers for different queries React.js Apollo
- Make GraphQL query or mutation arguments a bit more DRY
- Apollo client stopPolling not working after package bump
- Nextjs 13 page router - query response is null after updating invalid access token on a server(ssr)
- how to implement instant comments and replies using graphql apollo
- Implementing Apollo Client for Subscriptions in Next.js
- Unsafe array destructuring of a tuple element with an `any` value using Apollo useQuery
- Uncaught (in promise) ApolloError: Response not successful: Received status code 400
Related Questions in POSTGRAPHILE
- PostgreSQL: How to Pass a Rowset to a Function
- PostGraphile NodeId identifiers for composite PrimaryKey
- Is there any chance of `ROLLBACK TO SAVEPOINT` erasing data in PostgreSQL?
- The frontend cannot read my delete mutation using graphile api
- postgraphile ignore table name start with ACT
- Is there a way to replace a generated endpoint in Postgraphile?
- Postgraphile: Adding custom plugging
- Postgraphile cannot query SQL function
- Does Hasura support "contains" filter for integer[] data types from postgres?
- Accessing Postgraphile (as a library) with Apollo client from the same server
- I am getting a GraphQL query syntax error on a simple query
- Or filtering with PostGraphile not working
- Using strings rather than Enums doesn't work with postgraphile
- Postgraphile StatusCode: 405, ReasonPhrase: 'Method Not Allowed
- Read-Only Postgraphile-CLI API
Related Questions in POSTGRAPHQL
- The issue in Node JS with Promise {<pending>}
- I have trouble with Promise {<pending>} in node js
- postgraphile condition filter failing
- GraphQL: Querying for a value from another table from a mutation
- 408 timeout error with postgraphile on AWS elastic beanstalk
- Seamlessly migrate to Postgraphile (multiple ApolloClient instances)
- run postgraphile with npm
- PostgreSQL / PostGraphile row permissions not working
- Postgraphile - "Query Root must be provided" error message
- Why does Postgraphile's <X>Connection type allow NULLs in its nodes list?
- Filtering results in GraphQL using PostGraphile
- Get pgClient from postgraphile
- How can I use postgraphQL in conjunction with ReactQL
- Graphql mutation for a column of type UUID[]
- Graphql date field type must be Output Type but got: undefined
Related Questions in HTTP-STATUS-CODE-408
- Is Chrome's pre-connect functionality still the cause of Apache 408 Request Timeout errors?
- Troubleshooting "Error 408: Request Timeout" in Initial GET Request
- Apache log Shows Many 408 Timeout Errors with Very Short Request Times
- HTTP 408 Request body incomplete
- Dealing with Access-Control-Allow-Origin in a Firebase cloud function
- Random HTTP 408 on POST requests and no body is transferred
- http retry for Request Timeout (408)
- Bigrquery R package : Error 408 (Request Timeout)
- 408 timeout error with postgraphile on AWS elastic beanstalk
- Arduino Esp8266 Response Timeout
- UCMA BeginEstablish timeout on MAC OS with error 408
- What is the difference between HTTP 408 and 504 errors?
- Mysterious Http 408 errors in AWS elasticbeanstalk-access_log
- Would Rails' production.log log an HTTP 408 request?
- Random 408 error on POST request
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
By default PostGraphile binds to localhost; it sounds like you need it to bind to all interfaces. Try the
--host 0.0.0.0option documented here:https://www.graphile.org/postgraphile/usage-cli/