Same issue described here (ignore the expired certificate drama, probably not linked with the connection issue)
Here a workaround:
create your ipa manually: Xcode/Archive/Organizer/Distribute/custom/App Store Connect/Export (Sign and export to the disk without uploading)
try to upload your ipa with Transporter
if Transporter fails, try with altool (Check the link for details)
If you still can’t upload your build with Xcode or Transporter, fill an additional bug report with feedback assistant.
Include mine in the description: Feedback FB13449680 "Xcode Can't upload a build to App Store Connect, No App Store Connect access for the team"
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags: