You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am developing a expo / react native app with Tanstack DB and Electric SQL collections. I am hitting the 6 max connection http1 limit, I have tried the suggestions in the Troubleshooting guide regarding the caddy setup to enable http2. For the life of me I cannot get this app to use the http2 connection.
I've also tried pointing the expo app directly to the server running the api which supports http2 and I still have the request queuing take place.
I've tried enabling native options within the AppDelegate to get http2 supported without any luck.
I've tried using SSE as well, which that does eliminate the request queuing issue, but I then do not have reactivity in the app, it only seems to sync on first query. When using SSE I had used the flush_interval -1 setting in caddy along with the other recommendations on the Troubleshooting page.
Ultimately I'd like to get http2 working, and this seems more of a expo/react native issue more than anything. I am just hoping someone else that has run into this could help.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am developing a expo / react native app with Tanstack DB and Electric SQL collections. I am hitting the 6 max connection http1 limit, I have tried the suggestions in the Troubleshooting guide regarding the caddy setup to enable http2. For the life of me I cannot get this app to use the http2 connection.
Here is my caddyfile
I've also tried pointing the expo app directly to the server running the api which supports http2 and I still have the request queuing take place.
I've tried enabling native options within the AppDelegate to get http2 supported without any luck.
I've tried using SSE as well, which that does eliminate the request queuing issue, but I then do not have reactivity in the app, it only seems to sync on first query. When using SSE I had used the
flush_interval -1setting in caddy along with the other recommendations on the Troubleshooting page.Ultimately I'd like to get http2 working, and this seems more of a expo/react native issue more than anything. I am just hoping someone else that has run into this could help.
Thank you for your time.
Beta Was this translation helpful? Give feedback.
All reactions