Comments (4)
More information: it appears that expo server is responding with 406
status code for https://u.expo.dev/update/:uuid
this is the request from the android network inspector:
curl 'https://u.expo.dev/update/:update_id:' \
-H 'accept: application/expo+json,application/json' \
-H 'accept-encoding: gzip' \
-H 'connection: Keep-Alive' \
-H 'expo-dev-client-id: :client_id:' \
-H 'expo-platform: android' \
-H 'host: u.expo.dev' \
-H 'user-agent: okhttp/4.11.0' \
--compressed
> EAS Update clients must accept "multipart/mixed" responses
adding multipart/mixed
fixes the issue with the request:
curl 'https://u.expo.dev/update/:update_id:' \
-H 'accept: application/expo+json,application/json,multipart/mixed' \
-H 'accept-encoding: gzip' \
-H 'connection: Keep-Alive' \
-H 'expo-dev-client-id: :client_id:' \
-H 'expo-platform: android' \
-H 'host: u.expo.dev' \
-H 'user-agent: okhttp/4.11.0' \
--compressed
> -------ExpoManifestBoundary-LQ4Qq5LDR7qrETeHacn_3A
> Content-Disposition: form-data; name="manifest"
> Content-Type: application/json
> .....
from expo.
hi there! can you share a link to the full update url to [email protected]? thanks
from expo.
btw, I have tried to apply patch to the expo-dev-launcher
diff --git a/node_modules/expo-dev-launcher/android/src/main/java/expo/modules/devlauncher/launcher/manifest/DevLauncherManifestParser.kt b/node_modules/expo-dev-launcher/android/src/main/java/expo/modules/devlauncher/launcher/manifest/DevLauncherManifestParser.kt
index 714891a..7b0835d 100644
--- a/node_modules/expo-dev-launcher/android/src/main/java/expo/modules/devlauncher/launcher/manifest/DevLauncherManifestParser.kt
+++ b/node_modules/expo-dev-launcher/android/src/main/java/expo/modules/devlauncher/launcher/manifest/DevLauncherManifestParser.kt
@@ -42,7 +42,7 @@ class DevLauncherManifestParser(
private fun getHeaders(): Headers {
val headersMap = mutableMapOf(
"expo-platform" to "android",
- "accept" to "application/expo+json,application/json"
+ "accept" to "application/expo+json,application/json,multipart/mixed"
)
if (installationID != null) {
headersMap["expo-dev-client-id"] = installationID
which in turn lead to another error:
My current theory is that during upgrade to SDK51 we somehow have not properly updated some internal dependencies of expo-dev-launcher
? Any tips would help at this point :)
from expo.
hi there! can you share a link to the full update url to [email protected]? thanks
will do
from expo.
Related Issues (20)
- LocalAuthentication.hasHardwareAsync() returns false on iPhone 13 Pro if FaceID permission was canceled
- npx expo lint gives a maximum call stack size exceeded isn't solved yet HOT 2
- Babel error after updating to EXPO 51 HOT 3
- Expo 51: expo-sensors: DeviceMotion.addListener crashes on Android with Java Context error HOT 2
- Expo SDK 51 can't add the google-signin npm package. HOT 2
- [expo 50] My Expo apps only work in dev mode, stuck on splash screen, showing 'New update available, downloading...' HOT 2
- [expo-sqlite] Android test builds fail (task :expo:mergeDebugAndroidTestNativeLibs)
- [eas-build-local] Metro errors with SHA-1 for file ... index.js ... is not computed when using "index.js" as package main HOT 9
- HMR of env variable is not working HOT 5
- Build fails after running npx install-expo-modules@latest command because code added to wrong location in android/app/build.gradle HOT 5
- Expected metro@~0.80.8 package after SDK 51 update was installed. HOT 10
- [expo-router] initialRouteName has no effect HOT 1
- Why is useColorScheme works weird on web from the standard npx create-expo-app@latest? HOT 4
- [docs] date/version the docs on the site HOT 1
- My Expo app is stuck in a white screen after booting / running the app right after the splash screen, this happens after installing and integrating expo-sms HOT 1
- expo-auth-session and expo-apple-authentication have incompatible types for identity token stirngs HOT 2
- WRITE_EXTERNAL_STORAGE permission issue. HOT 1
- Can't find bundle URL when building iOS app with a duplicated and renamed Debug build scheme HOT 5
- expo-image-manipulator removes most exif data HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from expo.