Duplex working but issue with endpoint